Releases: firstbatchxyz/hollowdb
v1.4.3
v1.4.2
v1.4.1
Use Warp as `peerDependency`, CLI & example improvements
With new GW sequencer URL
What's Changed
Full Changelog: v1.3.4...v1.3.5
Set and SetMany added
Micro example & Parcel refactors
Batched GET and PUT
This release fixes a bug with getMany
mostly related to SortKeyCache
(see #47) and also adds putMany
interaction.
This should help with performance on multiple reads and puts, however the 1MB transaction size limit must be taken notice of. In such cases, the user should split the interactions into multiple ones in series.
Hotfix
Weird Parcel Bug fix.
Plugins
New Features:
CLI for Contract Operations
Introducing a Command-Line Interface (CLI) for contract-specific operations.
Deploy and Evolve Changes
Deploy and evolve commands are now invoked through the CLI, providing enhanced parameter control.
Contract name, source, and state can be easily specified, with optional support for a custom initial state path.
Create Command
Added a create command to the CLI for generating copies of contract code and initial state, facilitating contract customization.
Build Command
The CLI now includes a build command, consolidating logic from yarn contract:build. Logic from build.cjs has been moved within the CLI.
Package Version in Contract State
Package version is now recorded in the contract state upon deployment.
getState Utility
Added getState as a utility wrapper around base.readState().
Development Workflow Improvements:
Smart contracts now must be written at src/contracts/.contract.ts.
Contract build outputs bundled code at src/contracts/build/.js.
These updates enhance contract development, providing a more streamlined CLI experience and improving the organization of the contract workflow.
Check the contract development documentation for getting started.
See #51 if you want to dive deeper.