Skip to content

Commit b339437

Browse files
docs: crate versions (#657)
* docs: crate versions Signed-off-by: David Dal Busco <[email protected]> * 📄 Update LLMs.txt snapshot for PR review --------- Signed-off-by: David Dal Busco <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8043539 commit b339437

5 files changed

Lines changed: 179 additions & 4 deletions

File tree

.llms-snapshots/llms-full.txt

Lines changed: 70 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2287,7 +2287,7 @@ If other crates in your project depend on these, they should also be upgraded ac
22872287

22882288
Once updated, build your functions and redeploy using the CLI or the GitHub Actions flow.
22892289

2290-
The recommended versions for each release can be found in the [changelog](/changelog) or [release notes on GitHub](https://github.com/junobuild/juno/releases).
2290+
👉 Check the [Crate Versions](/docs/reference/functions/rust/crate-versions.md) reference page for the exact versions to use.
22912291

22922292
If you need assistance, feel free to reach out through the available support channels.
22932293

@@ -10292,7 +10292,7 @@ API reference for writing serverless functions in Rust or TypeScript.
1029210292

1029310293
[## 🗃️ Rust
1029410294

10295-
3 items](/docs/reference/functions/rust.md)
10295+
4 items](/docs/reference/functions/rust.md)
1029610296

1029710297
[## 🗃️ TypeScript
1029810298

@@ -10690,6 +10690,10 @@ All utilities on this page are provided by the junobuild-utils crate.](/docs/ref
1069010690

1069110691
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)
1069210692

10693+
[## 📄️ Crate Versions
10694+
10695+
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)
10696+
1069310697
# TypeScript
1069410698

1069510699
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
1071410718

1071510719
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)
1071610720

10721+
# Crate Versions
10722+
10723+
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.
10724+
10725+
**Tip:**
10726+
10727+
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.
10728+
10729+
---
10730+
10731+
## Juno v0.0.69
10732+
10733+
Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.69).
10734+
10735+
```
10736+
[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"
10737+
```
10738+
10739+
---
10740+
10741+
## Juno v0.0.63
10742+
10743+
Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.63).
10744+
10745+
```
10746+
[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"
10747+
```
10748+
10749+
---
10750+
10751+
## Juno v0.0.61
10752+
10753+
Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.61).
10754+
10755+
```
10756+
[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"
10757+
```
10758+
10759+
---
10760+
10761+
## Juno v0.0.59
10762+
10763+
Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.59).
10764+
10765+
```
10766+
[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"
10767+
```
10768+
10769+
---
10770+
10771+
## Juno v0.0.57
10772+
10773+
Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.57).
10774+
10775+
```
10776+
[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"
10777+
```
10778+
10779+
---
10780+
10781+
## Older Versions
10782+
10783+
If your current version is not listed, refer to the [release notes on GitHub](https://github.com/junobuild/juno/releases) for older crate versions.
10784+
1071710785
# IC-CDK
1071810786

1071910787
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.

.llms-snapshots/llms.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ Juno is your self-contained serverless platform for building full-stack web apps
185185

186186
## Reference - Functions - Rust
187187

188+
- [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.
188189
- [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.
189190
- [SDK](https://juno.build/docs/reference/functions/rust/sdk.md): The SDK is provided by the junobuild-satellite crate.
190191
- [Utils](https://juno.build/docs/reference/functions/rust/utils.md): All utilities on this page are provided by the junobuild-utils crate.

docs/build/functions/development/rust.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ If other crates in your project depend on these, they should also be upgraded ac
6161

6262
Once updated, build your functions and redeploy using the CLI or the GitHub Actions flow.
6363

64-
The recommended versions for each release can be found in the [changelog](/changelog) or [release notes on GitHub](https://github.com/junobuild/juno/releases).
64+
👉 Check the [Crate Versions](../../../reference/functions/rust/crate-versions.md) reference page for the exact versions to use.
6565

6666
If you need assistance, feel free to reach out through the available support channels.
6767

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# Crate Versions
2+
3+
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.
4+
5+
:::tip
6+
7+
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.
8+
9+
:::
10+
11+
---
12+
13+
## Juno v0.0.69
14+
15+
Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.69).
16+
17+
```toml
18+
[dependencies]
19+
candid = "0.10.20"
20+
ic-cdk = "0.19.0"
21+
ic-cdk-macros = "0.19.0"
22+
serde = "1.0.225"
23+
serde_cbor = "0.11.2"
24+
junobuild-satellite = "0.5.0"
25+
junobuild-macros = "0.2.0"
26+
junobuild-utils = "0.2.0"
27+
```
28+
29+
---
30+
31+
## Juno v0.0.63
32+
33+
Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.63).
34+
35+
```toml
36+
[dependencies]
37+
candid = "0.10.20"
38+
ic-cdk = "0.19.0"
39+
ic-cdk-macros = "0.19.0"
40+
serde = "1.0.225"
41+
serde_cbor = "0.11.2"
42+
junobuild-satellite = "0.4.0"
43+
junobuild-macros = "0.2.0"
44+
junobuild-utils = "0.2.0"
45+
```
46+
47+
---
48+
49+
## Juno v0.0.61
50+
51+
Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.61).
52+
53+
```toml
54+
[dependencies]
55+
candid = "0.10.20"
56+
ic-cdk = "0.19.0"
57+
ic-cdk-macros = "0.19.0"
58+
serde = "1.0.225"
59+
serde_cbor = "0.11.2"
60+
junobuild-satellite = "0.3.1"
61+
junobuild-macros = "0.1.1"
62+
junobuild-utils = "0.1.5"
63+
```
64+
65+
---
66+
67+
## Juno v0.0.59
68+
69+
Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.59).
70+
71+
```toml
72+
[dependencies]
73+
candid = "0.10.19"
74+
ic-cdk = "0.18.5"
75+
ic-cdk-macros = "0.18.5"
76+
serde = "1.0.225"
77+
serde_cbor = "0.11.2"
78+
junobuild-satellite = "0.3.0"
79+
junobuild-macros = "0.1.1"
80+
junobuild-utils = "0.1.4"
81+
```
82+
83+
---
84+
85+
## Juno v0.0.57
86+
87+
Release notes on [GitHub](https://github.com/junobuild/juno/releases/tag/v0.0.57).
88+
89+
```toml
90+
[dependencies]
91+
candid = "0.10.19"
92+
ic-cdk = "0.18.5"
93+
ic-cdk-macros = "0.18.5"
94+
serde = "1.0.225"
95+
serde_cbor = "0.11.2"
96+
junobuild-satellite = "0.2.6"
97+
junobuild-macros = "0.1.1"
98+
junobuild-utils = "0.1.3"
99+
```
100+
101+
---
102+
103+
## Older Versions
104+
105+
If your current version is not listed, refer to the [release notes on GitHub](https://github.com/junobuild/juno/releases) for older crate versions.

sidebars.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,8 @@ const sidebars: SidebarsConfig = {
393393
items: [
394394
"reference/functions/rust/sdk",
395395
"reference/functions/rust/utils",
396-
"reference/functions/rust/ic-cdk"
396+
"reference/functions/rust/ic-cdk",
397+
"reference/functions/rust/crate-versions"
397398
]
398399
},
399400
{

0 commit comments

Comments
 (0)