Skip to content

Commit 40c99a0

Browse files
authored
Merge pull request #2598 from o1-labs/release/v2.10.1
Release v2.11.0
2 parents 685c0a9 + 70d142f commit 40c99a0

File tree

5 files changed

+18
-5
lines changed

5 files changed

+18
-5
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,27 @@ This project adheres to
1616
_Security_ in case of vulnerabilities.
1717
-->
1818

19-
## [Unreleased](https://github.com/o1-labs/o1js/compare/3453d1e53...HEAD)
19+
## [Unreleased](https://github.com/o1-labs/o1js/compare/c2e51a84...HEAD)
20+
21+
## [2.11.0](https://github.com/o1-labs/o1js/compare/3453d1e53...c2e51a84) - 2025-11-10
2022

2123
### Added
2224

2325
- Add `KimchiProof.toJSON()` and `KimchiProof.fromJSON()`
2426
https://github.com/o1-labs/o1js/pull/2594
2527
- Add `KimchiVerificationKey.toString()` and
2628
`KimchiVerificationKey.fromString()` https://github.com/o1-labs/o1js/pull/2594
29+
- Add optional property `cacheDirectory` to `Cache` to retrieve the directory of
30+
the cache. https://github.com/o1-labs/o1js/pull/2598
2731

2832
### Internal
2933

3034
- Change cache harness to only allow writes when `dump` mode is active.
3135
https://github.com/o1-labs/o1js/pull/2599
36+
- Improved the internal o1js build system, adding native macOS ARM support and
37+
strengthening build integrity.
38+
- Added a framework to test for cache regressions in circuit compilation
39+
artefacts across versions.
3240

3341
## [2.10.0](https://github.com/o1-labs/o1js/compare/114acff...3453d1e53) - 2025-09-27
3442

npmDepsHash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sha256-ww0EdkEWiciR6XLTu2/lfqtDMbvIDBLj+gyPH+lpLTE=
1+
sha256-8CQBNNFXIromQdOyvdjGQIb1RNdZfevXPcu89uv0C94=

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "o1js",
33
"description": "TypeScript framework for zk-SNARKs and zkApps",
4-
"version": "2.10.0",
4+
"version": "2.11.0",
55
"license": "Apache-2.0",
66
"homepage": "https://github.com/o1-labs/o1js/",
77
"repository": {

src/lib/proof-system/cache.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ type Cache = {
5050
* but could just be a cache miss, or file system permissions incompatible with writing data.
5151
*/
5252
debug?: boolean;
53+
/**
54+
* The directory where cache files are stored. Only applicable for file system caches.
55+
*/
56+
cacheDirectory?: string;
5357
};
5458

5559
const cacheHeaderVersion = 1;
@@ -185,6 +189,7 @@ const FileSystem = (cacheDirectory: string, debug?: boolean): Cache => ({
185189
},
186190
canWrite: jsEnvironment === 'node',
187191
debug,
192+
cacheDirectory
188193
});
189194

190195
const FileSystemDefault = FileSystem(cacheDir('o1js'));

0 commit comments

Comments
 (0)