Skip to content

Releases: canvasxyz/canvas

v0.2.0

06 Mar 16:13
Compare
Choose a tag to compare

What's Changed

  • Preliminary support for custom actions!
  • Core.applyAction and Core.applySession have been replaced with Core.apply, which can be called with either sessions, actions, or custom actions.
  • Upgraded QuickJS to add native BigInt support within contracts.
  • The libp2p node has been moved inside the Core class. Each app now runs its own libp2p node, with its own persistent PeerId.
  • The RPC protocol no longer depends on communicating the types of messages, and just references them by hash. The libp2p protocol string has been upgraded from /x/canvas/sync/v1/{cid}to /x/canvas/sync/v2/{cid}.
  • The canvas daemon, canvas start, and canvas stop CLI commands have been removed.
  • The @canvas-js/next package has been deprecated.

Full Changelog: v0.1.3...v0.2.0

v0.1.3

27 Feb 21:02
Compare
Choose a tag to compare
  • Update to latest @canvas-js/node-okra

v0.1.2

27 Feb 20:57
Compare
Choose a tag to compare
  • Fix an issue where the useRoute() hook would not update if a parameter to the route was updated.

v0.1.1

18 Feb 19:16
Compare
Choose a tag to compare

v0.1 is the first release candidate for Canvas, and reflects a basic level of stability that makes it possible to build chat, social, and other interactive applications, that sync and persist without blockchain consensus.

  • CLI: Deploy single-page apps using the canvas run command to serve an API. Use the --static flag to serve an included frontend.
  • React Hooks: We include React hooks for interacting with Canvas applications from the frontend. The hooks currently support Ethereum-compatible chains only, and can optionally be used with wagmi, ConnectKit, and/or RainbowKit.
  • On-chain integration: Read from on-chain using contract hooks.
  • Upgradeability: Contracts can be upgraded by using sources.
  • Examples: We include example Canvas applications in Webpack and Next.js, which deploy to Fly.io.