Releases: jstz-dev/jstz
0.1.1-alpha.5
What’s New
Protocol
- Added support for passkey signing which enables the creation of Jstz account using a passkey device. Accounts created this way will be represented as
tz2addresses on Jstz
CLI
- Added full functionality for managing networks accessible from by the cli. For full API docs see https://jstz.tezos.com/cli#network or run
jstz network --help
0.1.1-alpha.4
What’s New
Octez upgrade
- Jstzd uses the Octez 23.2 suite
Sequencer
- Supports optimistic execution of Jstz operations within the RISC-V VM 🎉
Protocol
- Support for Tz2 addresses
- XTZ can be transferred to Smart Functions without executing its code by targeting the
/-/noopendpoint
CLI
- Supports
network add/list
$ jstz network list
+------+--------------------+--------------------+
| Name | Octez RPC endpoint | Jstz node endpoint |
+======+====================+====================+
| foo | http://a.com | http://b.com |
+------+--------------------+--------------------+
$ jstz network add bar --octez-node-rpc-endpoint http://c.com --jstz-node-endpoint http://d.com
Added network 'bar'.
$ jstz network list
+------+--------------------+--------------------+
| Name | Octez RPC endpoint | Jstz node endpoint |
+======+====================+====================+
| bar | http://c.com | http://d.com |
+------+--------------------+--------------------+
| foo | http://a.com | http://b.com |
+------+--------------------+--------------------+
Breaking Changes
RunFunction.bodynow expects base64stringinstead ofArray<number>when decoding from JSON
Bug Fixes
- Overwriting of valid operation hash receipts are no longer possible. However, it is still possible to overwrite receipts of operations that were rejected (where operation nonce or signature was invalid)
- Non-parsable code isrejected at deployment
0.1.1-alpha.3
What’s New
Oracle Support (Experimental)
Jstz now supports off-chain data access via an enshrined oracle. Smart Functions can use fetch() to call external APIs.
const res = await fetch("https://example.org/data.json");
- Timeout: 20 seconds
- Max response size: ~10MiB
- Must be called before KV access, sending tez, or calling other smart functions
0.1.1-alpha.2
What’s New
V2 Runtime
The sandbox now runs on the Deno-based runtime with the V8 engine, laying the foundation for better standards compliance and support for a wider range of Web APIs.
Native Sequencer
The native sequencer is now integrated into Jstzd and runs the V2 runtime.
Inter Smart Function Calls Using fetch()
You can now make inter Smart Function calls using the native fetch() API, aligning with familiar web development patterns.
API & Tooling Cleanup
REPL is removed from the CLI and the SmartFunction API is now deprecated
- Replace
SmartFunction.call(...)withfetch(...) SmartFunction.create(...)is no longer supported
0.1.1-alpha.1
What’s New
-
Support for Large Smart Functions
Smart Functions can now be up to 10 MB in size — enabling you to bundle external libraries and other dependencies directly into your Smart Function code (example) -
Transfers
You can now transfer XTZ via the CLI using the commandjstz transfer <AMOUNT> <ADDRESS> --network dev. Additionally, smart functions calls can now transfers XTZ with the include ofX-JSTZ-TRANSFERheader in the request -
Migration to
jstzscheme
Smart function are now called using thejstzscheme to emphasize the fact that the address refers to a jstz address. eg.
jstz run jstz://<ADDRESS>/ --data '{}' --network dev -
--methodFlag for Better HTTP Semantics
We’ve renamed --request to --method to better align with HTTP conventions.
jstz run jstz://<ADDRESS>/ --data '{}' --network dev --method POST -
Import Accounts with Secret Keys
You can now import your Jstz account directly to CLI using secret keys. -
⚠️ Upgrade Notice
If you're upgrading from an earlier version of Jstz, you will need to move the config file from~/.jstz/config.jsonto~/.config/jstz/config.json
0.1.1-alpha.0
release
0.1.0
fix(jstzd): remove job limit in docker build