You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .llms-snapshots/llms-full.txt
+33-9Lines changed: 33 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2261,19 +2261,19 @@ With this setup, only `on_set_doc` and `assert_set_doc` must be implemented with
2261
2261
2262
2262
---
2263
2263
2264
-
## Maintenance
2264
+
## Upgrade
2265
2265
2266
2266
After deployment, keeping your Satellite functional and optimized requires ongoing monitoring and updates. Staying up to date is also a key factor, as we may introduce new features that need to be integrated into your Satellite to ensure full functionality within the Juno Console.
2267
2267
2268
-
Since your project includes all Satellite features using `include_satellite!();`, it's essential to stay in sync with Juno’s updates to maintain compatibility.
2268
+
Since your project includes all Satellite features using `include_satellite!();`, it's essential to stay in sync with Juno's updates to maintain compatibility.
2269
2269
2270
-
**Caution:**
2270
+
**Important:**
2271
2271
2272
-
Always upgrade iteratively and avoid skipping version numbers. While we strive to minimize breaking changes, it's crucial to upgrade through each released version sequentially.
2272
+
If your Satellite includes custom serverless functions, **do not upgrade through the Juno Console**. The Console upgrade replaces your Satellite with the stock version, which would overwrite your custom code.
2273
2273
2274
-
For example, if you're on **v0.0.23** and the latest release is **v0.0.26**, first upgrade to **v0.0.24**, then **v0.0.25**, and finally **v0.0.26**. Skipping versions could lead to unexpected issues.
2274
+
When the Console notifies you of a new version, use it as a reminder to update your dependencies and redeploy your custom build, as described below.
2275
2275
2276
-
### Updating Your Satellite
2276
+
### What to do
2277
2277
2278
2278
To upgrade your Satellite, bump the dependencies in your `Cargo.toml` file located in `/src/satellite/`. The key dependencies to check and update are:
2279
2279
@@ -2285,10 +2285,18 @@ To upgrade your Satellite, bump the dependencies in your `Cargo.toml` file locat
2285
2285
2286
2286
If other crates in your project depend on these, they should also be upgraded accordingly.
2287
2287
2288
+
Once updated, build your functions and redeploy using the CLI or the GitHub Actions flow.
2289
+
2288
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).
2289
2291
2290
2292
If you need assistance, feel free to reach out through the available support channels.
2291
2293
2294
+
**Caution:**
2295
+
2296
+
Always upgrade iteratively and avoid skipping version numbers. While we strive to minimize breaking changes, it's crucial to upgrade through each released version sequentially.
2297
+
2298
+
For example, if you're on **v0.0.23** and the latest release is **v0.0.26**, first upgrade to **v0.0.24**, then **v0.0.25**, and finally **v0.0.26**. Skipping versions could lead to unexpected issues.
2299
+
2292
2300
---
2293
2301
2294
2302
## Versioning
@@ -2325,12 +2333,28 @@ This page covers advanced options for writing serverless functions in TypeScript
2325
2333
2326
2334
---
2327
2335
2328
-
## Maintenance
2336
+
## Upgrade
2329
2337
2330
2338
Since your project includes all Satellite features, it's essential to stay in sync with Juno’s updates to maintain compatibility.
2331
2339
2332
2340
Always check the [releases](https://github.com/junobuild/juno/releases) page for the latest changes, and update your local container image (source [repo](https://github.com/junobuild/juno-docker)) accordingly to ensure you're running the latest runtime and features.
2333
2341
2342
+
**Important:**
2343
+
2344
+
If your Satellite includes custom serverless functions, **do not upgrade through the Juno Console**. The Console upgrade replaces your Satellite with the stock version, which would overwrite your custom code.
2345
+
2346
+
When the Console notifies you of a new version, use it as a reminder to update your dependencies and redeploy your custom build, as described below.
2347
+
2348
+
### What to do
2349
+
2350
+
The most important step is to keep your local Docker image up to date by pulling the latest version. The entire toolchain is shipped within the emulator, so you don't have to install additional tools on your machine, but it also means the image needs to stay current.
2351
+
2352
+
Check the [releases](https://github.com/junobuild/juno/releases) page to know when a new image is available.
2353
+
2354
+
If a release also includes updates to the JavaScript library, bump the relevant package in your project accordingly.
2355
+
2356
+
If you deploy with GitHub Actions, your workflow always inherits the latest image, so triggering a new CI run is enough to stay up to date, unless you have pinned a specific action version, in which case update it to `latest`.
2357
+
2334
2358
**Caution:**
2335
2359
2336
2360
Always upgrade iteratively and avoid skipping version numbers. While we strive to minimize breaking changes, it's crucial to upgrade through each released version sequentially.
@@ -8999,7 +9023,7 @@ For most applications, we recommend using the default subnets and staying on the
8999
9023
9000
9024
| Subnet ID | Type | Canisters (Running/Stopped) | Nodes (Up/Total) |
@@ -9457,7 +9481,7 @@ Usage: juno changes reject [options]Options: -i, --id The ID of th
9457
9481
Handle tasks related to the emulator like starting/stopping a local network.
9458
9482
9459
9483
```
9460
-
Usage: juno emulator <subcommand> [options]Subcommands: start Start the emulator for local development. stop Stop the local network. wait Wait until the emulator is ready.
9484
+
Usage: juno emulator <subcommand> [options]Subcommands: clear Clear the local emulator state (volume and container). start Start the emulator for local development. stop Stop the local network. wait Wait until the emulator is ready.
If your Satellite includes custom serverless functions, **do not upgrade through the Juno Console**. The Console upgrade replaces your Satellite with the stock version, which would overwrite your custom code.
4
+
5
+
When the Console notifies you of a new version, use it as a reminder to update your dependencies and redeploy your custom build, as described below.
Copy file name to clipboardExpand all lines: docs/build/functions/development/rust.mdx
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,17 +37,17 @@ With this setup, only `on_set_doc` and `assert_set_doc` must be implemented with
37
37
38
38
---
39
39
40
-
## Maintenance
40
+
## Upgrade
41
41
42
42
After deployment, keeping your Satellite functional and optimized requires ongoing monitoring and updates. Staying up to date is also a key factor, as we may introduce new features that need to be integrated into your Satellite to ensure full functionality within the Juno Console.
43
43
44
-
Since your project includes all Satellite features using `include_satellite!();`, it's essential to stay in sync with Juno’s updates to maintain compatibility.
44
+
Since your project includes all Satellite features using `include_satellite!();`, it's essential to stay in sync with Juno's updates to maintain compatibility.
To upgrade your Satellite, bump the dependencies in your `Cargo.toml` file located in `/src/satellite/`. The key dependencies to check and update are:
53
53
@@ -59,10 +59,16 @@ To upgrade your Satellite, bump the dependencies in your `Cargo.toml` file locat
59
59
60
60
If other crates in your project depend on these, they should also be upgraded accordingly.
61
61
62
+
Once updated, build your functions and redeploy using the CLI or the GitHub Actions flow.
63
+
62
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).
63
65
64
66
If you need assistance, feel free to reach out through the available support channels.
Copy file name to clipboardExpand all lines: docs/build/functions/development/typescript.mdx
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,26 @@ This page covers advanced options for writing serverless functions in TypeScript
4
4
5
5
---
6
6
7
-
## Maintenance
7
+
## Upgrade
8
8
9
9
Since your project includes all Satellite features, it's essential to stay in sync with Juno’s updates to maintain compatibility.
10
10
11
11
Always check the [releases](https://github.com/junobuild/juno/releases) page for the latest changes, and update your local container image (source [repo](https://github.com/junobuild/juno-docker)) accordingly to ensure you're running the latest runtime and features.
The most important step is to keep your local Docker image up to date by pulling the latest version. The entire toolchain is shipped within the emulator, so you don't have to install additional tools on your machine, but it also means the image needs to stay current.
20
+
21
+
Check the [releases](https://github.com/junobuild/juno/releases) page to know when a new image is available.
22
+
23
+
If a release also includes updates to the JavaScript library, bump the relevant package in your project accordingly.
24
+
25
+
If you deploy with GitHub Actions, your workflow always inherits the latest image, so triggering a new CI run is enough to stay up to date, unless you have pinned a specific action version, in which case update it to `latest`.
0 commit comments