Skip to content

Commit

Permalink
v1.0.1 (#118)
Browse files Browse the repository at this point in the history
* basic generic upgrade function

* adding Upgrade and UpgradeHook traits

* update to stable near-sdk-rs

* broken upgrade workspaces-tests

* fix: remove migrate argument

* Added basic failure tests for upgrade

* added owner check for upgrade tests

* not owner failure test

* removing JS scripts

* feat: adds more derives to events

* cleaned up workspaces tests for upgrade

* removed unnecessary near_bindgen

* fixed macro version issue

* fix: some comments

* chore: conciseness

* fix: repo url in Cargo.toml

* fixing naming conventions

* chore: adds build task to workspaces tests

* feat: #[derive(Nep297)] allows enums

* feat: #[event] supports enums

* fix: Owner uses borsh storage keys

* fix: upgrade workspaces version to 0.6

* fix: removes generic requirement from Event trait

* chore: convert events back to enum shape with owned values

* fix: pin Rust version to 1.64; fixes #83

* Use dtolnay/rust-toolchain (#87)

* fix: use dtolnay/rust-toolchain for GH Action

* fix: rust doc warning from README.md

* Add safety invariants to owner module docs (#75)

* Add safety invariants to owner module docs

* Add usage and safety guide for owner component

* Add module docs for pause and rbac

* Add module docs for migrate and resolve comments

* Update links

* Resolve comments

* Fix cargo docs warning

* Resolve comments

* chore: minor corrections & formatting

Co-authored-by: Jacob <encody@users.noreply.github.com>

* chore: adds .DS_Store to .gitignore

* fix: better doc links in Slot

* Default storage keys enum (#90)

* feat: default storage keys enum

* fix: doc links

* Link items in docs and other improvements (#91)

* Link items and doc improvements

* Add rbac macro attr doc and resolve comments

* Upgrade macro (#84)

* adding upgrade macro

* fix linting issues

* removing generic parameters

* fixing lint issues

* feat: new upgrade macro

* fix: tests for new upgrade macro

* fix: use Box to decrease enum size

* chore: better documentation for new upgrade modules

* fix: macro documentation

* wip: transfer to mac

* chore: workspace tests for upgrade

* upgrade multisig testing

* feat: better naming for raw functions + args structs

* chore: rename "none" hook body flag to "empty"

* chore: serialized upgrade uses PostUpgrade struct

* Upgrade macros safety docs (#96)

* chore: simplify api

Co-authored-by: Jacob <encody@users.noreply.github.com>
Co-authored-by: Ishan Bhanuka <bhanuka.ishan@gmail.com>

* feat: unstable feature flag and upgrade near_sdk -> 4.1.0

* fix: Eq derive now that Base64VecU8: Eq

* fix: remove near-sdk default features usage (#98)

* fix: remove near-sdk default features usage

* commit to re-trigger CI

* explicitly increase sdk version on test to ensure it gets used internally

* chore: Cow -> String (#100)

* Makes `Rbac` iterable (#99)

* wip: how to implement iterator

* fix: unused imports

* feat: possible rbac iter implementation

* feat: iterable rbac works

* chore: finish docs & tests

* chore: upgrade Rust to 1.65

* chore: upgrade GH Actions Rust to 1.65

* feat: update version to 0.7.0

* chore: optimize has_role (#102)

* chore: update version to 0.7.1

* Fuller Iterator implementation for Rbac iterator (#105)

* feat: fuller Iterator implementation for Rbac iterator

* feat: mut and non-mut versions of with_members_of, more Iter guarantees

* Disallows Event name collisions (#108)

* feat: disallow event name collisions, tests

* chore: clippy fix

* chore: add name change notification

* chore: versions to 0.7.2

* Change package name to `near-sdk-contract-tools` (#109)

* chore: change name

* chore: change repository details

* fix: inaccurate documentation

* chore: upgrade rust, workspaces, adds approval keys test

* fix: clippy: needless borrow

* feat: easier network specification in tests

* feat: create account test

* chore: create account test, base64 for Vec<u8> in native tx actions

* feat: delete account native transaction action test

* feat: stake action test

* feat: utils tests

* chore: unused imports

* fix: check additional fees sum

* chore: add rename warning to docs

* feat: finally, a decent prefix_key signature

* BREAKING: Internal Traits (#111)

* feat: internal trait for Rbac

* feat: Pause internal trait and separate default implementation

* fix: remove duplicate empty impl in Pause macro

* feat: Owner internal trait

* feat: Nep141 internal trait

* feat: ApprovalManager internal trait

* fix: grammar

* better test naming

* fix: double underscore warning (#113)

* feat: adds kudelski audit final doc (#114)

* chore: mention audit in README.md

* chore: version bump to v1.0.0

* fix: exclude documents folder from publishing

* chore: version bump to v1.0.1

---------

Co-authored-by: nearken <ken.miyachi@near.foundation>
Co-authored-by: nearken <108417131+nearken@users.noreply.github.com>
Co-authored-by: Ishan Bhanuka <bhanuka.ishan@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
  • Loading branch information
5 people authored Jun 27, 2023
1 parent 1e84277 commit 16818b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ exclude = ["documents/"]
license = "GPL-3.0"
name = "near-sdk-contract-tools"
repository = "https://github.com/NEARFoundation/near-sdk-contract-tools"
version = "1.0.0"
version = "1.0.1"

[dependencies]
near-sdk = {version = "4.1.0", default-features = false}
near-sdk-contract-tools-macros = {version = "=1.0.0", path = "./macros"}
near-sdk-contract-tools-macros = {version = "=1.0.1", path = "./macros"}
serde = "1.0.144"
serde_json = "1.0.85"
thiserror = "1.0.35"
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Macros for `near-sdk-contract-tools`
edition = "2021"
license = "GPL-3.0"
name = "near-sdk-contract-tools-macros"
version = "1.0.0"
version = "1.0.1"

[dependencies]
base64 = "0.13.0"
Expand Down

0 comments on commit 16818b1

Please sign in to comment.