Releases: arcalot/arcaflow-plugin-sdk-go
v0.14.1: Fixes for Any type ValidateCompatibility
Changes
- Fixes schema types within maps or lists validated by AnySchema.
- Validates that key types and list types are homogeneous (all key types match, all list item types match)
Pull Requests
- Any map list validation by @jaredoconnell in #110
Full Changelog: v0.14.0...v0.14.1
v0.14.0: Typed String Enums, Inlined Object Fields, Oneof for Any
What's Changed
- Use a type-switch by @webbnh in #102
- Update go updates by @redhat-renovate-bot in #103
- Update go updates by @redhat-renovate-bot in #104
- Update go updates by @redhat-renovate-bot in #106
- Typed string enums by @jaredoconnell in #107
- Inlined object fields by @jaredoconnell in #108
- Allow oneof for any schemas by @jaredoconnell in #105
- Update go updates by @redhat-renovate-bot in #109
Full Changelog: v0.13.0...v0.14.0
v0.13.0: Unenforced ID support and Go Updates
What's new
The object type now supports specifying that the ID should not be checked when validating schema compatibility. This is useful for scenarios where the ID does not matter, like when an object is generated automatically.
The function to use is NewUnenforcedIDObjectSchema()
.
PRs
- Update go updates by @redhat-renovate-bot in #99
- Added optional unenforced ID checking by @jaredoconnell in #100
Full Changelog: v0.12.5...v0.13.0
v0.12.5: Prevent deadlocks
This PR makes it so that client closure does not deadlock when the client code doesn't close the signal channel.
What's Changed
- Use typed channels by @webbnh in #97
- Refactor client, and add test by @jaredoconnell in #98
Full Changelog: v0.12.3...v0.12.5
v0.12.3: Dependency Updates & Channel Fix
What's changed
- Dependencies have been updated
- The program to plugin signal channel is not closed by this code anymore. It is up to the program to close it if desired.
Pull Requests
- Update module go.arcalot.io/log/v2 to v2.2.0 by @redhat-renovate-bot in #94
- Update go updates to v0.22.0 by @redhat-renovate-bot in #95
- Fix Channel Close Behavior by @jaredoconnell in #96
Full Changelog: v0.12.2...v0.12.3
v0.12.2: Concurrency Improvement Bug Fixes
What's changed
The main improvements in this release are bug fixes that fix concurrency problems and race conditions that could lead to deadlocks.
Pull Requests
- Update module golang.org/x/text to v0.16.0 by @redhat-renovate-bot in #91
- Update module github.com/fxamacker/cbor/v2 to v2.7.0 by @redhat-renovate-bot in #93
- Atp concurrency improvements by @jaredoconnell in #92
New Contributors
- @redhat-renovate-bot made their first contribution in #91
Full Changelog: v0.12.1...v0.12.2
v0.12.1: Dependency updates
What's Changed
- Update golangci/golangci-lint-action action to v5 by @platform-engineering-bot in #88
- Update go updates by @platform-engineering-bot in #69
- Refactor build workflow by @webbnh in #90
New Contributors
Full Changelog: v0.12.0...v0.12.1
v0.12.0
What's Changed
- Refactored namespaces to use maps of objects by @jaredoconnell in #89
Full Changelog: v0.11.1...v0.12.0
v0.11.1
What's Changed
- Fix missing use of RootObject function by @jaredoconnell in #87
Full Changelog: v0.11.0...v0.11.1
v0.11.0
Changes
- Added
RootObject()
function to access the scope's root with validation. - Added namespaced scopes in
v0.10.0-beta1
- Added a helper function to use object-like schemas.
PRs
- Refine test suite by @mfleader in #74
- Update module golang.org/x/text to v0.14.0 by @platform-engineering-bot in #60
- Underlying type fix by @mfleader in #79
- Update all dependencies to v4 by @platform-engineering-bot in #81
- Added namespaced scopes by @jaredoconnell in #80
- Improvements to Ref for Namespaced Scopes by @jaredoconnell in #83
- Export Helper Function by @mfleader in #84
- Add proper method to access scope root object by @jaredoconnell in #85
Full Changelog: v0.8.0...v0.11.0