Skip to content

v0.0.26

Compare
Choose a tag to compare
@peterpeterparker peterpeterparker released this 08 Feb 11:24
· 655 commits to main since this release

Summary

Introducing serverless functions! πŸš€

Functions are a set of Rust-based features enabling developers to extend the native capabilities of Satellites. Functions facilitate the creation and management of responsive, serverless behaviors within Satellites. Triggered by specific events like document and asset operations, they allow developers to embed custom logic directly into the blockchain environment.

Explore the documentation for complete details.

Overview

Module Version Breaking changes
Satellite 0.0.15
Library Version Breaking changes
@junobuild/core v0.0.45
@junobuild/core-peer v0.0.10
@junobuild/admin v0.0.45
@junobuild/analytics v0.0.18
@junobuild/ledger v0.0.29
@junobuild/utils v0.0.18
Crates Version Breaking changes
junobuild-satellite v0.0.15
junobuild-macros v0.0.1
junobuild-shared v0.0.13
junobuild-utils v0.0.1
CLI Version Breaking changes
@junobuild/cli v0.0.48
Docker Version Breaking changes
@junobuild/satellite v0.0.7
@junobuild/action v0.0.17

Changes

Here is a list of changes included in this release:

Console (Backend)

No changes.

Console (Frontend)

The console UI/UX has been improved as following:

Features

  • Support for "stock" and "extended" satellite build type. It displays build type and version but, also adds a prompt in case a developer would try to upgrade an "extended" Satellite with a "stock" build.
  • Add a link to Docker / local development documentation.
  • Add a link to Rust example.
  • When setting up a new custom domain, enter the domain name in the CNAME value, for example, hello.world.com.icp1.io. Previous configurations will remain supported. This update is an improvement.

Build

  • Bump dependencies.

Satellite

A significant update to the Satellite involves refactoring. Its code has been extracted into a Rust crate named junobuild-satellite, and various functions have been relocated or made public (code wise) to support the serverless feature.

Within this library, a new macro has been introduced to enable the inclusion of the satellite in custom projects, and mechanisms for invoking hooks have been added.

Additionally, two new readonly functions, get_asset and get_many_assets, have been made available.

Mission Control

No changes.

Orbiter

No changes.

Observatory

No changes.

Library

Please refer to the releases for details.

Crates

All the published crates are new libraries designed to support the latest serverless features.

For more information, please consult their respective documentation.

CLI

Please refer to the releases for details.

Plugins

Please refer to the releases for details.

GitHub Action

Please refer to the releases for details.

Docker

Please refer to the releases for details.