Releases: junobuild/juno-js
Releases · junobuild/juno-js
v0.0.141
@junobuild/admin
Breaking Changes
- Responses's types of Orbiter and Satellite updated with a subset of canister status reponses.
Features
- Replace usage of deprecated
memory_size()
with IC mgmt canister status memory metrics.
Build
- Update did files for Satellite and Orbiter.
- Bump
@dfinity/ic-mgmt
dependency version.
@junobuild/core|storage
Build
- Update did files for Satellite and Orbiter.
v0.0.140
@junobuild/analytics
⚠️ Breaking Changes ⚠️
- The library now requires the Orbiter to be upgraded to version
v0.2.0
, as it starts collecting analytics through native HTTP requests. - The performance option is now opt-in (it was previously opt-out).
initOrbiter
is no longer asynchronous and can now be called withoutawait
.
Features
- Collect analytics through native HTTP
fetch
. - Remove usage of Web Workers and IndexedDB.
- Remove DID declarations.
- Remove actor logic.
- Remove dependency on
agent-js
. - Introduce optional use of
[email protected]
(via opt-in) to collect limited information derived from the user agent. - Collect screen size dimensions (in addition to
window.innerWidth
/innerHeight
).
Refactoring
- Move modules and rename several files for improved structure and readability.
Tip
Upgrading your app:
To upgrade your frontend to use the new lightweight analytics client:
npm rm @junobuild/analytics && npm i @junobuild/analytics
You can also safely remove any postinstall
scripts and the related web workers code you may have added to your static folder, they are no longer needed and won't be used anymore.
Also note that initOrbiter
is no longer asynchronous and can now be called without await.
// Previously
await initOrbiter();
// New
initOrbiter();
@junobuild/admin
Chore
- Update Orbiter DID declarations.
@junobuild/core
Chore
- Disable ESLint rule
local-rules/use-option-type-wrapper
.
New Contributors
- @AntonioVentilii made their first contribution in #366
v0.0.139
@junobuild/config
Fix
OrbiterIds
was actually not used in the newOrbiterConfig
and configuration ended has incorrectly declaring the id.
v0.0.138
@junobuild/config
Features
- Support
ids
for Orbiter injuno.config
.
v0.0.137
@junobuild/functions
Features
- All the remaining SDK, IC-CDK and utitily functions for a first official release of the serverless functions in TypeScript on Juno.
v0.0.136
@junobuild/admin
Breaking
- Deprecated
satelliteBuildVersion()
which seems utilized only in the Console UI which will be adapted anyway.
Features
- Get Mission Control, Orbiter and Satellite
version()
fromjuno:package
and fallback onto deprecated endpoints. - Build Satellite type - stock or extended - from
juno:package
and fallback onto deprecated endpoints. - Update did files to deprecate
version()
andbuild_version()
end points.
@junobuild/config
Features
- Add constants for packages
@junobuild/mission-control
and@junobuild/orbiter
.
v0.0.135
@junobuild/*
Build
- Bump lastet dev dependencies.
@junobuild/admin
Features
- Add utility to find Juno Package dependency.
@junobuild/config
Features
- Expose constants for the Juno Package dependencies Satellite and Sputnik.
v0.0.134
@junobuild/admin
Features
- Disable agent-js
console.warn
when fetching WASM public custom sections.
v0.0.133
@junobuild/*
Features
- Update DID types.
- Remove unused deprecated DID types in Storage lib.
- Add Sputnik DID types to Code lib.
@junobuild/config
Features
- Define types and schema for
juno:package
WASM public custom section.
Build
- Add Zod as peer dependency.
@junobuild/admin
Features
- Add support for reading
juno:package
from WASM public custom section. - Add a shorthand to solely read the
version
fromjuno:package
.
@junobuild/cli-tools
Features
- Add option
banner
tobuildEsm
.
v0.0.132
@junobuild/functions
Features
- Add controllers related functions to SDK.
Refactoring
- Extract repeated caller normalizer.
@junobuild/cli-tools
Features
- Utils to read specific fields of a
package.json
file.