Skip to content

deps: update dependency flagsmith/sdk-spec to v0.6.0 - #434

Merged
khvn26 merged 2 commits into
mainfrom
renovate/sdk-spec
Oct 29, 2026
Merged

khvn26 merged 2 commits into
mainfrom
renovate/sdk-spec

Conversation

@renovate

@renovate renovate Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
Flagsmith/sdk-spec minor v0.3.0 → v0.6.0
Flagsmith/sdk-spec workflow minor v0.3.0 → v0.6.0

Release Notes

Flagsmith/sdk-spec

v0.6.0

Compare Source

What's Changed
New Contributors

Full Changelog: Flagsmith/sdk-spec@v0.5.1...v0.6.0

v0.5.1

Compare Source

What's Changed
  • ci: Run the JS client and iOS against main in the compatibility matrix by @​khvn26 in #​12
  • feat: Optionally treat steps an SDK does not implement as expected failures by @​khvn26 in #​11
  • feat: Add a testChange SDK step by @​khvn26 in #​14

Full Changelog: Flagsmith/sdk-spec@v0.5.0...v0.5.1

v0.5.0

Compare Source

What's Changed

Full Changelog: Flagsmith/sdk-spec@v0.4.0...v0.5.0

v0.4.0

Compare Source

What's Changed
New Contributors

Full Changelog: Flagsmith/sdk-spec@v0.3.0...v0.4.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner October 21, 2026 17:00
@renovate renovate Bot added the sdk-spec Bumps of the Flagsmith SDK behavioural spec label Oct 21, 2026
@renovate
renovate Bot requested review from kyle-ssg and removed request for a team October 21, 2026 17:00
@khvn26 khvn26 added the openhands For the OpenHands agent to pick up label Oct 21, 2026
@khvn26 khvn26 changed the title deps: update dependency flagsmith/sdk-spec to v0.5.0 deps: update dependency flagsmith/sdk-spec to v0.5.1 Oct 21, 2026
@renovate renovate Bot changed the title deps: update dependency flagsmith/sdk-spec to v0.5.1 deps: update dependency flagsmith/sdk-spec to v0.6.0 Oct 29, 2026
@renovate
renovate Bot force-pushed the renovate/sdk-spec branch from 3c8da4d to eef4b1c Compare October 29, 2026 10:33
@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c2b2dd3c-48d2-4355-8c50-208d77d09395

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Wires the spec's events scenarios to the SDK's existing events pipeline:
a client created with enableEvents and the spec's events API URL,
getExperimentFlag, trackEvent and trackExposureEvent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@flagsmithsmith

Copy link
Copy Markdown
Contributor

Spec v0.6.0 adds @events scenarios: get an experiment flag (with exposure), track an event, and track an exposure event. They also add the Create the SDK client with events enabled step.

This SDK already has these behaviours behind enableEvents (#420 and earlier): getExperimentFlag, trackEvent, trackExposureEvent and eventProcessorConfig.eventsApiUrl. They already have unit tests in test/events.test.ts, test/experiment.test.ts and test/event-processor.test.ts. So no library code change was necessary. The CI failures were only "The SDK does not implement the step".

Changes

  • sdk-spec/steps.mts: new Create the SDK client with events enabled step. It sets enableEvents: true and points eventsApiUrl at the spec's events API.
  • The experiment flag step identifies the user with their traits, then calls getExperimentFlag.
  • The track event and track exposure steps run init() once (the events pipeline starts there), then call trackEvent / trackExposureEvent with the given identifier, value and metadata.

Events are sent on the SDK's own flush timer. The steps do not force a flush.

Verification: I ran the v0.6.0 spec locally against its compose stack (Flagsmith, events API, Kafka, warehouse delivery, ClickHouse) and all 7 scenarios passed. npm run typecheck and npm test (133 tests) also pass.

Review effort: 1/5

@khvn26
khvn26 merged commit 8ca8263 into main Oct 29, 2026
3 checks passed
@khvn26
khvn26 deleted the renovate/sdk-spec branch October 29, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

openhands For the OpenHands agent to pick up sdk-spec Bumps of the Flagsmith SDK behavioural spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant