Skip to content

Releases: cedar-policy/cedar-go

v0.4.0

01 Oct 18:48
981a06d
Compare
Choose a tag to compare

What's Changed

  • Improve Set.Contains() performance by making Set a hash set-like data structure by @patjakdev in #38
  • cedar: project public types, constructors, and constants from the types package through the cedar package for convenience by @patjakdev in #39

Full Changelog: v0.3.2...v0.4.0

v0.3.2

19 Sep 19:31
@apg apg
d1f59f4
Compare
Choose a tag to compare

What's Changed

  • Add the extension types, datetime and duration by @apg in #35

New Contributors

  • @apg 🎆 made their first contribution in #35

Full Changelog: v0.3.1...v0.3.2

v0.3.1

17 Sep 21:57
3aaba14
Compare
Choose a tag to compare

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

05 Sep 17:15
76c9352
Compare
Choose a tag to compare

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

26 Aug 22:06
17b4d78
Compare
Choose a tag to compare

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 the types 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 empty NewPolicySet then
    parse individual files using NewPolicyListFromBytes and subsequently use
    PolicySet.Store to add each of the policy statements.
  • The Cedar Entity and Entities types have moved from the cedar package to the types package.
  • Stronger typing is being used in many places.
  • The Value method Cedar() string was changed to MarshalCedar() []byte

Full Changelog: v0.1.0...v0.2.0

v0.1.0

20 Aug 18:46
a71e93e
Compare
Choose a tag to compare

This marks the initial development release of cedar-go.

What's Changed

New Contributors

Full Changelog: https://github.com/cedar-policy/cedar-go/commits/v0.1.0