Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.1.0 #125

Merged
merged 96 commits into from
Sep 14, 2023
Merged

v1.1.0 #125

merged 96 commits into from
Sep 14, 2023

Commits on Sep 9, 2022

  1. basic generic upgrade function

    nearken committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    2352177 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. adding Upgrade and UpgradeHook traits

    nearken committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    be78ad1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9556b5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    937577f View commit details
    Browse the repository at this point in the history
  4. update to stable near-sdk-rs

    nearken committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    35fcbe9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe75f3f View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. broken upgrade workspaces-tests

    nearken committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    0f2bbcf View commit details
    Browse the repository at this point in the history
  2. fix: remove migrate argument

    encody committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    8e13ddd View commit details
    Browse the repository at this point in the history
  3. Added basic failure tests for upgrade

    nearken committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    e4fb18d View commit details
    Browse the repository at this point in the history
  4. added owner check for upgrade tests

    nearken committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    07ad8a8 View commit details
    Browse the repository at this point in the history
  5. not owner failure test

    nearken committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    fcc138b View commit details
    Browse the repository at this point in the history
  6. removing JS scripts

    nearken committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    921ffd2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fd2703a View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. Configuration menu
    Copy the full SHA
    b770598 View commit details
    Browse the repository at this point in the history
  2. cleaned up workspaces tests for upgrade

    nearken committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    aebada0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4a2cd37 View commit details
    Browse the repository at this point in the history
  4. removed unnecessary near_bindgen

    nearken committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    451f373 View commit details
    Browse the repository at this point in the history
  5. fixed macro version issue

    nearken committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    57d06ff View commit details
    Browse the repository at this point in the history
  6. Merge pull request #66 from NEARFoundation/more-event-derives

    Add more derives to events
    encody authored Sep 22, 2022
    Configuration menu
    Copy the full SHA
    9547818 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. fix: some comments

    encody committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    2643aa2 View commit details
    Browse the repository at this point in the history
  2. chore: conciseness

    encody committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    42b1495 View commit details
    Browse the repository at this point in the history
  3. fix: repo url in Cargo.toml

    encody committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    c5989b2 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. fixing naming conventions

    nearken committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    9214092 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Merge pull request #48 from NEARFoundation/upgradability

    upgradability functionality
    encody authored Sep 29, 2022
    Configuration menu
    Copy the full SHA
    aad160b View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2022

  1. Configuration menu
    Copy the full SHA
    6a59920 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Configuration menu
    Copy the full SHA
    fcd9df8 View commit details
    Browse the repository at this point in the history
  2. feat: #[event] supports enums

    encody committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    6f6036f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb67a10 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. Configuration menu
    Copy the full SHA
    7ef8b37 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #81 from NEARFoundation/80-workspaces-rs-gh-action…

    …s-tests-failing
    
    fix: upgrade workspaces version to 0.6
    encody authored Oct 12, 2022
    Configuration menu
    Copy the full SHA
    2b8b6c1 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'develop' into 72-dont-use-single-letter-hardcoded-stora…

    …ge-keys-in-component-traits
    encody committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    3bbc890 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b98e860 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Merge pull request #77 from NEARFoundation/71-allow-enums-to-be-annot…

    …ated-with-event-macro
    
    Allow enums to be annotated with event macro
    encody authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    9117f68 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #78 from NEARFoundation/72-dont-use-single-letter-…

    …hardcoded-storage-keys-in-component-traits
    
    [BREAKING] Owner uses borsh storage keys
    encody authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    e81f221 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. Configuration menu
    Copy the full SHA
    348f8f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ffd365b View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Configuration menu
    Copy the full SHA
    dcefd9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0228d2f View commit details
    Browse the repository at this point in the history
  3. Use dtolnay/rust-toolchain (#87)

    * fix: use dtolnay/rust-toolchain for GH Action
    encody authored Oct 18, 2022
    Configuration menu
    Copy the full SHA
    9eeba5f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc633eb View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. 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>
    twitu and encody authored Oct 20, 2022
    Configuration menu
    Copy the full SHA
    56b3ad1 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Configuration menu
    Copy the full SHA
    6e93a47 View commit details
    Browse the repository at this point in the history
  2. fix: better doc links in Slot

    encody committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    0aecd59 View commit details
    Browse the repository at this point in the history
  3. Default storage keys enum (#90)

    * feat: default storage keys enum
    
    * fix: doc links
    encody authored Oct 21, 2022
    Configuration menu
    Copy the full SHA
    eee30ed View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Link items in docs and other improvements (#91)

    * Link items and doc improvements
    
    * Add rbac macro attr doc and resolve comments
    twitu authored Nov 4, 2022
    Configuration menu
    Copy the full SHA
    aee997b View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. 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>
    3 people authored Nov 10, 2022
    Configuration menu
    Copy the full SHA
    00ce50f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4088d3d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2bedca View commit details
    Browse the repository at this point in the history
  4. 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
    austinabell authored Nov 10, 2022
    Configuration menu
    Copy the full SHA
    bf5d23a View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. chore: Cow -> String (#100)

    encody authored Nov 14, 2022
    Configuration menu
    Copy the full SHA
    c4e081d View commit details
    Browse the repository at this point in the history
  2. 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
    encody authored Nov 14, 2022
    Configuration menu
    Copy the full SHA
    b8da9b4 View commit details
    Browse the repository at this point in the history
  3. chore: upgrade Rust to 1.65

    encody committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    377bfdd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e6d40a View commit details
    Browse the repository at this point in the history
  5. feat: update version to 0.7.0

    encody committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    4cd106e View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Configuration menu
    Copy the full SHA
    e08bf2d View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2022

  1. chore: update version to 0.7.1

    encody committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    71fcbad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85316b0 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  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
    encody authored Dec 15, 2022
    Configuration menu
    Copy the full SHA
    80454a5 View commit details
    Browse the repository at this point in the history
  2. Disallows Event name collisions (#108)

    * feat: disallow event name collisions, tests
    
    * chore: clippy fix
    encody authored Dec 15, 2022
    Configuration menu
    Copy the full SHA
    b034b09 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. Configuration menu
    Copy the full SHA
    7daa142 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a36f9d6 View commit details
    Browse the repository at this point in the history
  3. chore: versions to 0.7.2

    encody committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    6a9c98c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d404a6b View commit details
    Browse the repository at this point in the history
  5. Change package name to near-sdk-contract-tools (#109)

    * chore: change name
    
    * chore: change repository details
    encody authored Dec 16, 2022
    Configuration menu
    Copy the full SHA
    462edd1 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. fix: inaccurate documentation

    encody committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    a271e29 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Configuration menu
    Copy the full SHA
    6a19057 View commit details
    Browse the repository at this point in the history
  2. fix: clippy: needless borrow

    encody committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    2533a44 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d3a0b1 View commit details
    Browse the repository at this point in the history
  4. feat: create account test

    encody committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    d6f622c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0a604bf View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. Configuration menu
    Copy the full SHA
    b968c5a View commit details
    Browse the repository at this point in the history
  2. feat: stake action test

    encody committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    a1bdc2f View commit details
    Browse the repository at this point in the history
  3. feat: utils tests

    encody committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    a759b64 View commit details
    Browse the repository at this point in the history
  4. chore: unused imports

    encody committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    32b089b View commit details
    Browse the repository at this point in the history
  5. fix: check additional fees sum

    encody committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    576b59e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2222cd2 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. Configuration menu
    Copy the full SHA
    b2f8ef2 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. 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
    encody authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    2bc7afb View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. better test naming

    encody committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    d3de8d8 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Configuration menu
    Copy the full SHA
    367c435 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d75efff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    09cd33d View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. chore: version bump to v1.0.0

    encody committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    0180492 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65195e6 View commit details
    Browse the repository at this point in the history
  3. chore: version bump to v1.0.1

    encody committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    4c0971d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d994bee View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Configuration menu
    Copy the full SHA
    438d32d View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. fix: warnings

    encody committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    a84cb44 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Non-Fungible Token Standards (#69)

    * feat: nep171 wip
    
    * feat: nep171 events are owned; some experiments for allowing approval extension
    
    * feat: some ideas for implementing approval extension (wip)
    
    * fix: crate name change
    
    * feat: nep171 macro progress
    
    * full nep171 implementation
    
    * chore: simplify nft_resolve_transfer
    
    * chore: finished nep171 macro
    
    * chore: cleanup, tests, renaming
    
    * chore: documentation comments
    
    * chore: workspaces tests & multiple token ids
    
    * feat: nep171 multiple token id transfer
    
    * chore: more tests + small fixes
    
    * fix: warnings
    
    * feat: predicate api improvements
    
    * feat: remove predicate, introduce check function
    
    * feat: nft events version 1.2.0 update
    
    * Nep177: NFT Metadata (#124)
    
    * feat: nep177
    
    * chore: more function implementation
    
    * feat: nep177 macro
    
    * feat: non_fungible_token macro
    
    * feat: documentation comments
    
    * feat: switch to using #[serde(flatten)] for token metadata
    
    * feat: nep178
    
    * chore: upgrade tests & organize libs
    
    * feat: nep178 macro integration
    
    * feat: nep178 testing
    
    * chore: docs
    
    * chore: more tests and examples in docs
    
    * chore: lots of docs
    
    * feat: switch hook state to associated type
    
    * feat: nep181 internals done, improved hooks
    
    * feat: nep181 macro, sanity test
    
    * chore: qol nft module
    
    * feat: docs
    
    * feat: further enumeration tests
    
    * feat: final (?) tests for enumeration
    
    * chore: update readme to mention nep-171 and related
    encody authored Sep 13, 2023
    Configuration menu
    Copy the full SHA
    a11f56a View commit details
    Browse the repository at this point in the history
  2. Fast Account IDs (#123)

    * feat: fast account ID
    
    * fix: cleanup, extract to fn, switch to Rc
    encody authored Sep 13, 2023
    Configuration menu
    Copy the full SHA
    690ec86 View commit details
    Browse the repository at this point in the history
  3. Escrow (#121)

    * feat: escrowable capabilities
    
    * feat: add getter for locked state
    
    * docs(escrow): add some documentation
    
    * test(escrow): add integration test for macro
    
    * test(escrow): add workspace test for macro
    
    * test(escrow): add integration test for escrow macro
    
    * fix: some clippy lints, also optional macro props
    
    * feat(escrow): optionally implement events
    allows types that implement `serde::Serialize` to emit events
    
    ---------
    
    Co-authored-by: Jacob Lindahl <encody@users.noreply.github.com>
    dndll and encody authored Sep 13, 2023
    Configuration menu
    Copy the full SHA
    d4b8777 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Configuration menu
    Copy the full SHA
    c1363c4 View commit details
    Browse the repository at this point in the history
  2. chore: cleanup md

    encody committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    755f463 View commit details
    Browse the repository at this point in the history
  3. feat: nep-178 hooks improved

    encody committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    76ef89b View commit details
    Browse the repository at this point in the history
  4. v1.1.0

    encody committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    5a710f7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    755e813 View commit details
    Browse the repository at this point in the history