v0.7.0
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
- v0.6.0 by @volovyks in #275
- deps dir management moved to post-install script by @volovyks in #276
- TSC error suppression for latest versions by @vunderkind in #272
- cli chmod hack deleted by @volovyks in #277
- patch(cli): fix typo by @waynenilsen in #282
- NFT standard by @ailisp in #177
- cli bash replaced with node by @volovyks in #285
- quick js v0.1.3 by @volovyks in #279
- ts-morph to deps by @idea404 in #292
- standarts import paths fixed by @volovyks in #293
- Test cross contract call failures and error handling by @ailisp in #294
- WSL2 instructions by @volovyks in #295
- Added a warning until we can get the runtime audited by @DavidM-D in #298
- Exports and import paths by @volovyks in #299
- feat(cli): new subcommands by @waynenilsen in #283
- NFT standard refund account storage based on actual size by @ailisp in #300
- [bugfix] display stderr on command failure by @DerekTBrown in #303
- Example of programmatic update of JS Smart Contract by @nsejim in #287
- add remaining doc strings by @ailisp in #305
- Include Example and Test for Promises Created in For Loops by @idea404 in #309
- fix: Fix logging by @petarvujovic98 in #311
- Use TS ? to replace option in nft standard interface by @ailisp in #304
- Exports refactored by @volovyks in #313
- ABI generation by @itegulov in #301
- pnpm by @volovyks in #317
- fix: ensure that NEAR functions have explicit types by @itegulov in #322
- Separate tests replased with one script in examples CI by @volovyks in #318
- Monorepo implemented with Turborepo by @volovyks in #323
- Use uint8array by @ailisp in #308
- move IntoStorageKey alike feature to lib by @ailisp in #329
- 0.7 release by @ailisp in #332
New Contributors
- @vunderkind made their first contribution in #272
- @waynenilsen made their first contribution in #282
- @DavidM-D made their first contribution in #298
- @DerekTBrown made their first contribution in #303
- @nsejim made their first contribution in #287
Full Changelog: v0.6.0...v0.7.0