Releases: cedar-policy/cedar-go
Releases · cedar-policy/cedar-go
v0.3.2
v0.3.1
What's Changed
- cedar: update corpus tests to latest upstream tarball by @patjakdev in #31
- Several improvements to the upstream corpus test workflow by @patjakdev in #32
- Fix parsing of reserved keywords by @patjakdev in #33
- General performance improvements and experimental batch mode by @patjakdev in #34
- Update README for version 0.3.1 by @patjakdev in #36
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Breaking Changes
- cedar: change JSON marshaling of the Position struct to use conventional lower case keys by @patjakdev in #28
Full Changelog: v0.2.0...v0.3.0
v0.2.0
New features in 0.2.x
- A programmatic AST is now available in the
ast
package. - Policy sets can be marshaled and unmarshaled from JSON.
- Policies can also be marshaled to Cedar text.
Upgrading from 0.1.x to 0.2.x
- The Cedar value types have moved from the
cedar
package to thetypes
package. - The PolicyIDs are now
strings
, previously they were numeric. - Errors and reasons use the new
PolicyID
form. - Combining multiple parsed Cedar files now involves coming up with IDs for each
statement in those files. It's best to create an emptyNewPolicySet
then
parse individual files usingNewPolicyListFromBytes
and subsequently use
PolicySet.Store
to add each of the policy statements. - The Cedar
Entity
andEntities
types have moved from thecedar
package to thetypes
package. - Stronger typing is being used in many places.
- The
Value
methodCedar() string
was changed toMarshalCedar() []byte
Full Changelog: v0.1.0...v0.2.0
v0.1.0
This marks the initial development release of cedar-go.
What's Changed
- Update NOTICE to reflect accurate copyright by @sarahcec in #4
- feat: expose decimal and ipaddr constructors by @caiorcferreira in #9
- Corpus test cache, failure notifications by @jmccarthy in #12
- Set Go 1.22 as min Go version by @grsubramanian in #18
- Fix up nightly corpus tests by @patjakdev in #22
- cedar-go: run integration tests as part of the regular test suite by @patjakdev in #23
New Contributors
- @sarahcec made their first contribution in #4
- @caiorcferreira made their first contribution in #9
- @jmccarthy made their first contribution in #12
- @grsubramanian made their first contribution in #18
- @patjakdev made their first contribution in #22
Full Changelog: https://github.com/cedar-policy/cedar-go/commits/v0.1.0