diff --git a/.llms-snapshots/llms-full.txt b/.llms-snapshots/llms-full.txt index bbd5d63c..e6332843 100644 --- a/.llms-snapshots/llms-full.txt +++ b/.llms-snapshots/llms-full.txt @@ -2287,7 +2287,7 @@ If other crates in your project depend on these, they should also be upgraded ac Once updated, build your functions and redeploy using the CLI or the GitHub Actions flow. -The recommended versions for each release can be found in the [changelog](/changelog) or [release notes on GitHub](https://github.com/junobuild/juno/releases). +👉 Check the [Crate Versions](/docs/reference/functions/rust/crate-versions.md) reference page for the exact versions to use. If you need assistance, feel free to reach out through the available support channels. @@ -10292,7 +10292,7 @@ API reference for writing serverless functions in Rust or TypeScript. [## 🗃️ Rust -3 items](/docs/reference/functions/rust.md) +4 items](/docs/reference/functions/rust.md) [## 🗃️ TypeScript @@ -10690,6 +10690,10 @@ All utilities on this page are provided by the junobuild-utils crate.](/docs/ref In the context of Juno, it enables your Satellite to perform low-level operations such as logging, accessing your Satellite identities, or communicating with other canisters — all essential when writing advanced serverless functions.](/docs/reference/functions/rust/ic-cdk.md) +[## 📄️ Crate Versions + +This page lists the crate versions for each Juno release, to help you upgrade your Rust Serverless Functions. If a release is not listed, no crate updates were required for that version.](/docs/reference/functions/rust/crate-versions.md) + # TypeScript API reference for writing serverless functions with TypeScript. @@ -10714,6 +10718,70 @@ The following functions can be used to interact with well-known Internet Compute The TypeScript runtime used in Juno does not provide full Node.js support. Polyfills are added iteratively to keep the environment stable and predictable.](/docs/reference/functions/typescript/node.md) +# Crate Versions + +This page lists the crate versions for each Juno release, to help you upgrade your Rust Serverless Functions. If a release is not listed, no crate updates were required for that version. + +**Tip:** + +It is advised to locate the entry matching your current `junobuild-satellite` version and work your way up from there, one release at a time. For each step, build and redeploy before moving to the next. It's a bit tedious but ensures nothing goes wrong. + +--- + +## Juno v0.0.69 + +Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.69). + +``` +[dependencies]candid = "0.10.20"ic-cdk = "0.19.0"ic-cdk-macros = "0.19.0"serde = "1.0.225"serde_cbor = "0.11.2"junobuild-satellite = "0.5.0"junobuild-macros = "0.2.0"junobuild-utils = "0.2.0" +``` + +--- + +## Juno v0.0.63 + +Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.63). + +``` +[dependencies]candid = "0.10.20"ic-cdk = "0.19.0"ic-cdk-macros = "0.19.0"serde = "1.0.225"serde_cbor = "0.11.2"junobuild-satellite = "0.4.0"junobuild-macros = "0.2.0"junobuild-utils = "0.2.0" +``` + +--- + +## Juno v0.0.61 + +Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.61). + +``` +[dependencies]candid = "0.10.20"ic-cdk = "0.19.0"ic-cdk-macros = "0.19.0"serde = "1.0.225"serde_cbor = "0.11.2"junobuild-satellite = "0.3.1"junobuild-macros = "0.1.1"junobuild-utils = "0.1.5" +``` + +--- + +## Juno v0.0.59 + +Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.59). + +``` +[dependencies]candid = "0.10.19"ic-cdk = "0.18.5"ic-cdk-macros = "0.18.5"serde = "1.0.225"serde_cbor = "0.11.2"junobuild-satellite = "0.3.0"junobuild-macros = "0.1.1"junobuild-utils = "0.1.4" +``` + +--- + +## Juno v0.0.57 + +Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.57). + +``` +[dependencies]candid = "0.10.19"ic-cdk = "0.18.5"ic-cdk-macros = "0.18.5"serde = "1.0.225"serde_cbor = "0.11.2"junobuild-satellite = "0.2.6"junobuild-macros = "0.1.1"junobuild-utils = "0.1.3" +``` + +--- + +## Older Versions + +If your current version is not listed, refer to the [release notes on GitHub](https://github.com/junobuild/juno/releases) for older crate versions. + # IC-CDK The [Canister Development Kit](https://github.com/dfinity/cdk-rs) (`ic-cdk` or `ic_cdk`) provides core functionality for interacting with the Internet Computer in Rust. diff --git a/.llms-snapshots/llms.txt b/.llms-snapshots/llms.txt index d5f7b260..287fbaf0 100644 --- a/.llms-snapshots/llms.txt +++ b/.llms-snapshots/llms.txt @@ -185,6 +185,7 @@ Juno is your self-contained serverless platform for building full-stack web apps ## Reference - Functions - Rust +- [Crate Versions](https://juno.build/docs/reference/functions/rust/crate-versions.md): This page lists the crate versions for each Juno release, to help you upgrade your Rust Serverless Functions. If a release is not listed, no crate updates were required for that version. - [IC-CDK](https://juno.build/docs/reference/functions/rust/ic-cdk.md): In the context of Juno, it enables your Satellite to perform low-level operations such as logging, accessing your Satellite identities, or communicating with other canisters — all essential when writing advanced serverless functions. - [SDK](https://juno.build/docs/reference/functions/rust/sdk.md): The SDK is provided by the junobuild-satellite crate. - [Utils](https://juno.build/docs/reference/functions/rust/utils.md): All utilities on this page are provided by the junobuild-utils crate. diff --git a/docs/build/functions/development/rust.mdx b/docs/build/functions/development/rust.mdx index e99271a8..7b6fec2b 100644 --- a/docs/build/functions/development/rust.mdx +++ b/docs/build/functions/development/rust.mdx @@ -61,7 +61,7 @@ If other crates in your project depend on these, they should also be upgraded ac Once updated, build your functions and redeploy using the CLI or the GitHub Actions flow. -The recommended versions for each release can be found in the [changelog](/changelog) or [release notes on GitHub](https://github.com/junobuild/juno/releases). +👉 Check the [Crate Versions](../../../reference/functions/rust/crate-versions.md) reference page for the exact versions to use. If you need assistance, feel free to reach out through the available support channels. diff --git a/docs/reference/functions/rust/crate-versions.md b/docs/reference/functions/rust/crate-versions.md new file mode 100644 index 00000000..4ec41ba4 --- /dev/null +++ b/docs/reference/functions/rust/crate-versions.md @@ -0,0 +1,105 @@ +# Crate Versions + +This page lists the crate versions for each Juno release, to help you upgrade your Rust Serverless Functions. If a release is not listed, no crate updates were required for that version. + +:::tip + +It is advised to locate the entry matching your current `junobuild-satellite` version and work your way up from there, one release at a time. For each step, build and redeploy before moving to the next. It's a bit tedious but ensures nothing goes wrong. + +::: + +--- + +## Juno v0.0.69 + +Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.69). + +```toml +[dependencies] +candid = "0.10.20" +ic-cdk = "0.19.0" +ic-cdk-macros = "0.19.0" +serde = "1.0.225" +serde_cbor = "0.11.2" +junobuild-satellite = "0.5.0" +junobuild-macros = "0.2.0" +junobuild-utils = "0.2.0" +``` + +--- + +## Juno v0.0.63 + +Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.63). + +```toml +[dependencies] +candid = "0.10.20" +ic-cdk = "0.19.0" +ic-cdk-macros = "0.19.0" +serde = "1.0.225" +serde_cbor = "0.11.2" +junobuild-satellite = "0.4.0" +junobuild-macros = "0.2.0" +junobuild-utils = "0.2.0" +``` + +--- + +## Juno v0.0.61 + +Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.61). + +```toml +[dependencies] +candid = "0.10.20" +ic-cdk = "0.19.0" +ic-cdk-macros = "0.19.0" +serde = "1.0.225" +serde_cbor = "0.11.2" +junobuild-satellite = "0.3.1" +junobuild-macros = "0.1.1" +junobuild-utils = "0.1.5" +``` + +--- + +## Juno v0.0.59 + +Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.59). + +```toml +[dependencies] +candid = "0.10.19" +ic-cdk = "0.18.5" +ic-cdk-macros = "0.18.5" +serde = "1.0.225" +serde_cbor = "0.11.2" +junobuild-satellite = "0.3.0" +junobuild-macros = "0.1.1" +junobuild-utils = "0.1.4" +``` + +--- + +## Juno v0.0.57 + +Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.57). + +```toml +[dependencies] +candid = "0.10.19" +ic-cdk = "0.18.5" +ic-cdk-macros = "0.18.5" +serde = "1.0.225" +serde_cbor = "0.11.2" +junobuild-satellite = "0.2.6" +junobuild-macros = "0.1.1" +junobuild-utils = "0.1.3" +``` + +--- + +## Older Versions + +If your current version is not listed, refer to the [release notes on GitHub](https://github.com/junobuild/juno/releases) for older crate versions. diff --git a/sidebars.ts b/sidebars.ts index 0c0fefd6..f497cb77 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -393,7 +393,8 @@ const sidebars: SidebarsConfig = { items: [ "reference/functions/rust/sdk", "reference/functions/rust/utils", - "reference/functions/rust/ic-cdk" + "reference/functions/rust/ic-cdk", + "reference/functions/rust/crate-versions" ] }, {