Releases: junobuild/juno-js
v0.0.42
@junobuild/core-peer
New library.
There might be a use case in which you are using the Juno core library in an application where you are already utilizing DFINITY's agent-js.
You might also be building your app with a framework such as Next.js, which can lead to issues when interpreting agent-js provided through our libraries.
For such use cases, you can use this specific library, which sets the DFINITY libraries as peer dependencies. This way, those dependencies will be packaged on your side.
v0.0.41
@junobuild/core
Build
- revert
@dfinity/agent
and other agent-js libraries set as peer dependencies of@junobuild/core
** - add
exports
target inpackage.json
** Making agent-js a peer dependency was actually a bad idea because it leads devs having issue with standard build as in React (see issue #80). Therefore this PR revert this.
When it comes to the Next.js issue:
"Super constructor null of ... is not a constructor"
There is actually no solution at the moment in terms of bundle. The issue is that Juno uses Agent-js which uses Borc which uses iso-url. When integrated in Next, the Next server side rendering fails at interpreting this librrary because it contains Web API which leads that bundler to declare an "class extends(null)" which is invalid.
All other libraries
Build
- add
exports
target inpackage.json
v0.0.40
@junobuild/core
Build
- fix
auth.worker
by reinjecting agent-js libraries because this is a pre-packaged script
v0.0.39
@junobuild/core
Build
- set
@dfinity/agent
and other agent-js libraries as peer dependencies of@junobuild/core
** - bump agent-js v0.19.3
** Making agent-js a peer dependency fix the issue with Next.js that requires to build those libraries itself otherwise the dapp throw such a following error at runtime:
"Super constructor null of ... is not a constructor"
All other libraries
Build
- bump agent-js v0.19.3
v0.0.38
@junobuild/admin
Features
- support for stable memory
Build
- update and cleanup of did files
@junobuild/core
Build
- update and cleanup of did files
@junobuild/analytics
Build
- update and cleanup of did files
@junobuild/ledger
Build
- update did files
v0.0.37
@junobuild/ledger
Docs
- update README
This release primarily serves as a test for the new CI publish script. This script is designed to release only the libraries that have changed.
v0.0.36
@junobuild/ledger
Features
- add support for calling balance and listing transactions using the ICP
Index
canister
v0.0.35
@junobuild/analytics
Features
- the Orbiter memory was improved for better scalability. That's why few information (variables) were moved out of the keys into the objects and why those changes are reflected within the library
v0.0.34
@junobuild/analytics
Fix
- analytics usage in docusaurus on server side rendering - avoid issue "ReferenceError: crypto is not defined"
v0.0.33
@junobuild/admin
Features
- option to reset orbiter and satellite to their initial state ("reinstall" + init params up-to-date) on upgrade