Skip to main content

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

ModuleVersionBreaking changes
Console0.0.12
Mission Control0.0.12
Observatory0.0.6
Orbiter0.0.8⚠️
Satellite0.0.20⚠️
CratesVersionBreaking changes
junobuild-satellitev0.0.20⚠️
junobuild-storagev0.0.7
junobuild-collectionsv0.0.4
junobuild-sharedv0.0.18
junobuild-utilsv0.0.3
LibraryVersionBreaking changes
@junobuild/corev0.0.59
@junobuild/core-peerv0.0.25
@junobuild/adminv0.0.55
@junobuild/analyticsv0.0.27
@junobuild/ledger-------⚠️ Deprecated. Use @dfinity/ledger-icp instead.
@junobuild/storagev0.0.5
@junobuild/consolev0.0.8
CLIVersionBreaking changes
@junobuild/cliv0.0.76
DockerVersionBreaking changes
@junobuild/satellitev0.0.31
@junobuild/consolev0.0.31
@junobuild/actionv0.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 of count_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 and count_assets to count_collection_docs and count_collection_assets. This change was necessary to introduce new functions requested by the community while maintaining a meaningful naming pattern.

Features

  • Introduces count_docs and count_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.