Skip to content

Releases: near/near-sdk-js

v2.0.0

07 Jun 01:49
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v2.0.0

v1.0.0

01 Mar 06:03
Compare
Choose a tag to compare

Highlights

What's Changed

New Contributors

Full Changelog: v0.7.0...v1.0.0

v1.0.0-0

24 Feb 03:32
4b7fc3c
Compare
Choose a tag to compare
v1.0.0-0 Pre-release
Pre-release

Highlights

What's Changed

New Contributors

Full Changelog: v0.7.0...v1.0.0-0

v0.7.0

26 Jan 01:45
ae06bd6
Compare
Choose a tag to compare

Highlights

  • Docstrings are now available on every public APIs.
  • Support of WSL 2. You can now develop with near-sdk-js on Windows! Check README for recipes.
  • ABI support is added on CLI!
  • CLI enhancement: flexible build commands are added!
  • Starting from this version, near-contract-standards is released together with near-sdk-js!
  • UTF-8 support is added. You can now store and retrieve UTF-8 strings in storage and collections.
  • The confusing Bytes types is dropped. It is replaced with string and Uint8Array.
  • Storage/Input/ValueReturn API now comes with both raw version and string version. The raw version will help you efficiently handle raw bytes in Uint8Array.
  • Refactor: starting from this version, near-sdk-js becomes a monorepo with a number of enhancement for contributors.
  • Refactor: Optimized exports.
  • An migration guide from v0.6.0 is added in README.

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.7.0-2

06 Jan 03:40
Compare
Choose a tag to compare
v0.7.0-2 Pre-release
Pre-release

Highlights

  • Docstrings are now available on every public APIs.
  • Support of WSL 2. You can now develop with near-sdk-js on Windows! Check README for recipes.
  • ABI support is added on CLI!
  • CLI enhancement: flexible build commands are added!
  • Starting from this version, near-contract-standards is released together with near-sdk-js!
  • UTF-8 support is added. You can now store and retrieve UTF-8 strings in storage and collections.
  • The confusing Bytes types is dropped. It is replaced with string and Uint8Array.
  • Storage/Input/ValueReturn API now comes with both raw version and string version. The raw version will help you efficiently handle raw bytes in Uint8Array.
  • Refactor: starting from this version, near-sdk-js becomes a monorepo with a number of enhancement for contributors.
  • Refactor: Optimized exports.

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0-2

v0.6.0

31 Oct 15:56
Compare
Choose a tag to compare

Highlights:

  • minor improvements, check main changes in v0.6.0 pre-release

Commits:

v0.6.0-0...v0.6.0

v0.6.0-0

21 Oct 07:27
Compare
Choose a tag to compare
v0.6.0-0 Pre-release
Pre-release

Highlights:

  • Collections are typed now
  • High-level promises design improved
  • BigInt serialization added
  • Lots of minor fixes, simplifications, and improvements

Commits:

  • cross platform post-install (#266) 02cfc38
  • Merge pull request #263 from petarvujovic98/develop 04717e5
  • feat: Improve CLI output further 3672a68
  • Merge pull request #262 from petarvujovic98/develop fd6db41
  • Merge branch 'develop' into develop d361888
  • Merge pull request #253 from near/ft-example-improvement 56d31cc
  • save numerical values as bigint 0adb4cc
  • Merge branch 'develop' of https://github.com/near/near-sdk-js into ft-example-improvement dabae98
  • implement constructor d295b6e
  • feat: Change Middleware interface 79a9ecb
  • feat: Middlewares addition a860555
  • feat: Improve CLI output (#261) 8f676ae
  • chore: Rename build workflow job 1893d16
  • feat(internal): Improve script running bf0c358
  • Merge pull request #260 from near/promise-index-type dc6f07b
  • Merge branch 'develop' of https://github.com/near/near-sdk-js into ft-example-improvement 44b77a1
  • fix never type 63660ec
  • format 32cf312
  • Make PromiseIndex a nominal typing, require explicit construction c49abf5
  • use dynamic storage on accountId length 0f05f83
  • format code 972cb40
  • lint ft contract 19fb884
  • underscore FT helper class name 75cbb6a
  • remove type from var names and add type to assertion params 7d27f50
  • update to TS 5832324
  • use high level promise API 5f21d33
  • revert changes in yarn.lock 3f08b2a
  • remove package-lock 1f78279
  • abstract repeated assertions d4e443d
  • remove internal send near same account as contr assert ba5f8d0
  • add validation for accountId in init 9f6619a
  • remove supply === 0 assertion from init 97842a0
  • Merge pull request #257 from petarvujovic98/develop 0d9023c
  • Merge pull request #251 from near/nested-example 24628dc
  • Merge branch 'develop' into nested-example 200c1d1
  • Merge pull request #255 from Olyno/fix/node16 513d8ab
  • Merge branch 'develop' into nested-example 729edd9
  • Merge branch 'develop' into fix/node16 5dc735e
  • Improve build tools (#252) af2e5b8
  • chore: Fix ESLint warnings 7e0e909
  • feat: Add Babel config programmaticaly 20a65f6
  • fix: node 16.6.0 issue 4fc29ce
  • remove todo comment 5a4428d
  • improve ft example e895c58
  • Merge branch 'develop' into nested-example 68360d3
  • Fix #247 (#249) 71f8b4f
  • Add nested and nested nested collection example a725921
  • Merge pull request #228 from petarvujovic98/develop e2776a5
  • fix: Fix lints in utils c9bb9f1
  • feat: Improve date serialization 74159a8
  • feat: Add more generic serialization d843af6
  • chore: Update examples b10bb1d
  • fix: Fix ESLint errors 91684ae
  • fix: Add affected build files e5824a7
  • chore: Improve types and reformat exporter aab75a2
  • chore: Add type definitions for @babel/traverse 3b82668
  • chore: Fix ESLint warnings b6a3866
  • chore: Add type definitions for lodash-es a9cb69d
  • feat: Add generalized serialization a3859dc
  • chore: Update tests f56233c
  • fix: Add brand check on deserialization ee7e0f6
  • feat: Add BigInt serialization 6afa6c1
  • Merge pull request #213 from petarvujovic98/develop 06c9ed6
  • chore: Fix linting and formatting 89678ea
  • fix: Fix linting errors and ESLint config e0c4ceb
  • chore: Add formatting checks to Lint workflow 58f0966
  • chore: Add linting job to CI ca1d1d4
  • fix: Add build for API refactor bfde857
  • fix: Fix parameter types 1f2af4b
  • chore: Fix formatting 16b3f4d
  • feat: Refactor CLI tools 0a9c285
  • feat: Refactor build tools dba601b
  • feat: Refactor API internally 962335b
  • feat: Refactor high level promises b769d5f
  • feat: Refactor collections 95fb5ad
  • feat: Update utils e2639a7
  • chore: Update ESLint configuration cedd904
  • chore: Add ESLint and Prettier e8093da
  • Fix: maps, sets and vector types (#203) e8d1288
  • set twise test added (#209) 0719fed
  • Merge pull request #219 from near/check-build-included c77f842
  • Merge branch 'develop' into check-build-included c386a5b
  • run ci also on pull request for external contributors (#221) 84b833f
  • Merge branch 'check-build-included' of github.com:near/near-sdk-js into check-build-included 4fb52fa
  • build on pull request f0c2d89
  • Merge branch 'develop' into check-build-included b3930e8
  • rename plain object -> class instance operation to "reconstruct" (#218) 5bf76fb
  • Merge branch 'develop' into check-build-included 8de8c59
  • always kill sandbox process (#220) b827ceb
  • update yarn.lock 8e2dd3d
  • git status c0c5cea
  • check in ci that yarn build generated files are included/updated f278033

v0.5.0...v0.6.0-0

v0.5.0

09 Sep 08:26
91dec29
Compare
Choose a tag to compare

Highlights:

  • get/set in unordered map more efficient (state breaking)
  • prommiseResult() return Bytes instead of a complex type and can throw errors
  • docs updated

Commits:

v0.5.0-1...v0.5.0

v0.5.0-1

07 Sep 14:46
Compare
Choose a tag to compare
v0.5.0-1 Pre-release
Pre-release

Highlights:

  • high-level promise API
  • privateFunction parameter in @call decorator
  • payableFunction parameter in @call decorator
  • includeBytes that helps factory contract

Commits:

  • Merge pull request #206 from near/include-bytes 6ec568c
  • Merge branch 'develop' into include-bytes 40c502b
  • add missing file c2d098c
  • add includeBytes "macro" that helps factory contract feac209
  • private and payable functionality (#204) 5667584
  • Merge pull request #201 from near/highlevel-promise 3d20fae
  • add highlevel promise api tests d7c017f
  • Add highlevel promise API 4116745

v0.5.0-0...v0.5.0-1

v0.5.0-0

01 Sep 11:20
Compare
Choose a tag to compare
v0.5.0-0 Pre-release
Pre-release

Highlights:

  • Init() is not required by default, now we have a requireInit flag in NearBindgen
  • No need in default() function in each contract
  • No need to extends NearContract. Class is deleted, and logic is moved to NearBindgen
  • Added @initialize decorator for init functions. Function panics if called more then once
  • Now constructor is expected to be simplistic. No parameters, no side effects, only variable declarations
  • It expected to declare all variables you want to serialize/deserialize in constructor
  • added all rust sdk non-deprecated types
  • near.panic() API is deleted, use throw Error() instead

Commits:

  • Merge pull request #200 from near/near-contract-deletion ca8c480
  • near-bingen tests added a6e4341
  • counter low level fixed b449518
  • /tests fixed 714f783
  • counter examples fixed, init deleted 5d60320
  • cross-contract-call example fixed 07f29e2
  • nft example refactored 201ebc3
  • status-message-collections refactored 4c77582
  • parking-lot example refactored 579f7ca
  • ft example refactored 3d8ac7c
  • funcgible-toke-lockable example fixed 589f789
  • ft lockable refactored f4499e5
  • counter, status message, and cross-contract examples refactored cc96720
  • requireInit works 49b2a46
  • NearBindgen refactored to factory decorator b37222e
  • counter-ts refactored d6bb14f
  • Babel calls use NearBindgen static methods ab89e65
  • babel plugin logic fixed 4a1fd14
  • NearContract base class deleted 8d6affb
  • fix: README add reference to create-near-app (#197) 422b34b
  • Merge branch 'master' into develop 2fb1555
  • ignore /lib in git diff (#192) 94f39b8
  • add promise_batch_action_function_call_weight (#186) 2e6bfad
  • uint64 and uint128 overflow tests (#190) 6b7624c
  • near-workspaces 3.2.1 (#187) a89f4fc
  • Idiomatic js length for collections (#180) f30c813
  • add all rust sdk non-deprecated types (#181) 663354e
  • drop jsvm (aka enclave) (#183) bb02965
  • Update CODEOWNERS 9f865cb
  • make UnorderedMap and Set helper methods private (#179) d09554b
  • es2020 target in tsc to allow bigint literal (#176) 2e9e197
  • near.panic() deleted (#171) 1db2e87

v0.4.0...v0.5.0-0