Release 9.1.0: Events API, housekeeping#286
Merged
Merged
Conversation
e2ce550 to
0499e8e
Compare
This validator was defined and had specs but was never called from any command or API module. Removing dead code to keep the codebase lean.
Expose Castle's enterprise Events API through three new endpoints: - GET /v1/events/schema — fetch available fields and their operations - POST /v1/events/query — search raw event records - POST /v1/events/group — aggregate and group events Follows the same layered pattern as Lists/ListItems: command builder, API module, client action mixin. Filters and sort options are validated client-side via Castle::Validators::Present.
Duplicate of GetConnection::HTTPS_SCHEME which is the one actually used in the connection logic.
0499e8e to
11f9b3e
Compare
Bundler 2.7+ deprecates these platform selectors in favour of :windows. Updated across Gemfile and all Rails gemfiles.
zuchmanski
approved these changes
May 28, 2026
9f12a44 to
a838e09
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add SDK support for the Events API (enterprise) and clean up unused internal code.
New: Events API
Three new client methods for querying event data sent to Castle:
events_schemaGET /v1/events/schemaquery_eventsPOST /v1/events/querygroup_eventsPOST /v1/events/groupFollows the existing layered architecture (Command -> API -> ClientAction) used by Lists and ListItems. Filters and sort parameters are validated client-side.
Housekeeping
Castle::Validators::NotSupported— dead code, never calledHTTPS_SCHEMEstring comparison inGetConnection— single-use constantVersion
9.0.0 -> 9.1.0