Skip to content

v0.5.0-0

Pre-release
Pre-release
Compare
Choose a tag to compare
@volovyks volovyks released this 01 Sep 11:20
· 449 commits to develop since this 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