Releases: algorandfoundation/beaker
0.4.3-beta.2
0.4.3-beta.2
0.4.3-beta.1
0.4.3-beta.1
Decorator Type Improvements
Minor release to fix decorator types
0.4.1
What's Changed
- Properly handle "action" and "type" keys in decode_state by @joe-p in #130
- Correct boxes dependency for Beaker by @CiottiGiorgio in #136
- adding support for creating multi page apps in an inner transaction by @barnjamin in #133
- Explicitly declared the folder with the python package by @CiottiGiorgio in #135
- allow multiple methods to specify on complete by @barnjamin in #131
- Beaker productionisation, part 1 by @achidlow in #142
- changed dynamic -> reserved by @barnjamin in #145
- adding more type annotations by @barnjamin in #146
- Remove unused/commented code by @achidlow in #149
- Install flake8-tidy-imports so existing rules are respected by @achidlow in #148
- Upgrade to latest mypy by @achidlow in #147
- adding test for overriding app create by @barnjamin in #150
- add internal flag to handler config to prevent exposing internal methods by @barnjamin in #153
- prep for release by @barnjamin in #154
New Contributors
Full Changelog: 0.4.0...0.4.1
Box Support
-
Add prefix to all
ReservedState
keys in order to prevent accidental overwriting of a key.WARNING: This is a BREAKING change
This was done to nerf a "foot-gun" that might cause a contract author to overwrite the same key for separate
ReservedState
instances. It can be overridden with anotherkeygen
, the previous behavior is provided with theidentity
keygen. -
Box Support
The
storage
module ofbeaker.lib
contains 2 new constructs to help use Boxes.-
List : Allows a list of some static abi type to be stored and accessed by index
-
Mapping: Allows a map of some key to a specific box containing a certain data structure
Example is available in
examples/boxen/application.py
-
-
Multi Page Application Precompile hash support
If an Application results in >0 extra pages, the hash of the program may be impossible to produce in the AVM since max stack size is 4k. The
hash
method of the Precompile will now allow an argument for which page to access (0 indexed) and return an Expression to compute the hash for that page.
Improvements on initial release
A number of things were added since the initial release including Precompiles, and Blobs for state values.
Some breaking changes are made in this release including a rename of Dynamic state to Reserved state and removing the Contracts directory
Initial Alpha Release
Initial Alpha release for Beaker.
Please file issues or PRs to help improve the framework
Article available here: https://developer.algorand.org/articles/hello-beaker/