Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

v0.0.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@JesseCoretta JesseCoretta released this 04 Sep 10:44
· 201 commits to main since this release

Changes

v0.0.0-alpha.2

  • Massive amount of unit tests, providing ~90% coverage (more/better tests on the way)
  • Major panic protections at virtually every level
  • Massive amount of unit test EXAMPLES to render the GoDoc rendering incredibly useful
  • Parsing capabilities at every level

Much work still remains; this is NOT a production release.


Historical Changelog

v0.0.0-alpha.1

  • Bump up required versions of go-stackage, and go-antlraci in go.mod
  • Deeper integration with go-stackage
    • Explicit stack type aliases dedicated for ACI-defined types - in particular, TargetRule and BindRule to complement TargetRules and BindRules respectively
    • Improved stackage.PushPolicy use, including uniqueness checks for all multi-valued expression cases
  • Implemented new BindContext interface meant to qualify instances of BindRule and BindRules due to their nested nature in complex rules
  • Radically reduced need for manual type assertion 🎉 🥳
  • Abandoned generic Rule type
  • Simplified package-level type-initializer function names; some examples:
    • TRs() for TargetRules instance creation
    • AT() for AttributeType creation
  • Implemented simplified quotation style "toggle methods" for instances of TargetRule and BindRule that involve multi-valued expressions of certain types. See the SetQuoteStyle method exported through the qualifying types below for details, as well as the MultivalOuterQuotes and MultivalSliceQuotes configuration const definitions (misc.go):
    • ObjectIdentifier
    • BindDistinguishedName
    • TargetDistinguishedName
    • AttributeType
  • Renamed aci.go, aci_test.go to ins.go, ins_test.go respectively (short for Instruction)
  • Split ldap.go into multiple separate files due to its rather large size; deleted ldap.go and ldap_test.go
  • Gutted unneeded LDAP filter parsing logic (shall be imported functionality in a future release)
  • Update README.md, re-enable GoReportCard badge
  • Cleaned-up unit tests to align with new changes stated above
  • Retract all prereleases
  • Improved comments, grammar improvements, gofmt -s -w *.go

Historical changelog

v0.0.0-alpha.0

  • Inaugural release

Full Changelog: v0.0.0-alpha.1...v0.0.0-alpha.2