v0.0.34
Summary
This release primarily introduces new performance metrics, the collection of Web Vitals, to the Analytics modules. Additionally, it adds new count documents and assets to the Satellites.
Additionally, a patch for the DFINITY ic_cdk
crate has been rolled out across all smart contracts to prevent a potential inherited memory leak (source).
Overview
Module | Version | Breaking changes |
---|---|---|
Console | 0.0.12 | |
Mission Control | 0.0.12 | |
Observatory | 0.0.6 | |
Orbiter | 0.0.8 | ⚠️ |
Satellite | 0.0.20 | ⚠️ |
Crates | Version | Breaking changes |
---|---|---|
junobuild-satellite | v0.0.20 | ⚠️ |
junobuild-storage | v0.0.7 | ️ |
junobuild-collections | v0.0.4 | ️ |
junobuild-shared | v0.0.18 | |
junobuild-utils | v0.0.3 |
Library | Version | Breaking changes |
---|---|---|
@junobuild/core | v0.0.59 | |
@junobuild/core-peer | v0.0.25 | |
@junobuild/admin | v0.0.55 | |
@junobuild/analytics | v0.0.27 | |
@junobuild/ledger | ------- | ⚠️ Deprecated. Use @dfinity/ledger-icp instead. |
@junobuild/storage | v0.0.5 | ️ |
@junobuild/console | v0.0.8 | ️ |
CLI | Version | Breaking changes |
---|---|---|
@junobuild/cli | v0.0.76 |
Docker | Version | Breaking changes |
---|---|---|
@junobuild/satellite | v0.0.31 | |
@junobuild/console | v0.0.31 | |
@junobuild/action | v0.0.30 |
Changes
Here is a list of changes included in this release:
Console (Backend)
The Console has been patched to address the ic_cdk
issue.
Console (Frontend)
The console UI/UX has been improved as follows:
Features
- Add performance metrics / web vitals to the Analytics dashboard.
- Support a new method to enable analytics features in the Orbiter. While it does not yet support granularity to keep the UI simple, it can be extended upon developer request.
- Use
count_collection_docs
instead ofcount_docs
on the "Hosting" page. Ensure the Satellite version is checked to prevent backward compatibility issues during the call. - Replace the deprecated
@junobuild/ledger
with@dfinity/ledger-icp
. - Review the design and content structure of the CLI authentication page.
- Add a new popover to display custom domain information, including the "BN ID." This is useful for debugging and support purposes.
Styles
- Fix the display of the link to the Satellite on the overview (increase spacing).
- Resolve misalignment of the version field in the Mission Control and Orbiter overviews.
Satellite
The Satellites have been updated as follows:
Breaking Changes
- Rename the endpoints
count_docs
andcount_assets
tocount_collection_docs
andcount_collection_assets
. This change was necessary to introduce new functions requested by the community while maintaining a meaningful naming pattern.
Features
- Introduces
count_docs
andcount_assets
, which accept the same parameters as their related "list" features but return only the count of matching entries. This can be useful for obtaining a count without transferring a large payload. Internally, these features have potential for improvement as they currently use the same implementation as listing. - Improve error messages for collections not found or empty by providing additional context (Datastore or Storage).
- Patch the
ic_cdk
to prevent potential memory leak issues.
Mission Control
The Mission Console has been patched to address the ic_cdk
issue.
Orbiter
The Orbiters have been updated as follows:
Breaking Changes
- The upgrade includes automatic type migration and enhances the configuration of Orbiters for greater granularity. Previously, a single "enabled" flag was used per Satellite. Now, it is possible to specify which individual features should be enabled, including the ability to gather specific metrics such as page views, event tracking, and performance metrics.
Features
- Added support for gathering and aggregating performance metrics using Web Vitals. Web Vitals are essential for measuring user experience metrics accurately, aligning with how they are captured by Chrome and reported to other Google tools. This enhancement is valuable for developers aiming to optimize the UI performance of their applications.
- Patched the
ic_cdk
to prevent potential memory leak issues.
Observatory
The Observatory has been patched to address the ic_cdk
issue.
Library
Please refer to the releases for details.
CLI
Please refer to the releases for details.
GitHub Action
Please refer to the releases for details.
Docker
Please refer to the releases for details.