Skip to content

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

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

khvn26 merged 3 commits into
mainfrom
renovate/sdk-spec

Conversation

@renovate

@renovate renovate Bot commented Oct 29, 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 added the sdk-spec Bumps of the Flagsmith SDK behavioural spec label Oct 29, 2026
@renovate
renovate Bot requested a review from a team as a code owner October 29, 2026 10:58
@renovate
renovate Bot requested review from khvn26 and removed request for a team October 29, 2026 10:58
@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: 3e077e55-01c5-45c3-a748-c4431771bba1

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.

flagsmithsmith Bot and others added 2 commits October 29, 2026 11:21
Wire the spec's new event steps to the SDK's existing public API:
a client created with `enable_events` and an events API URL,
`get_experiment_flag`, `track_event` and `track_exposure_event`.

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

Copy link
Copy Markdown
Contributor

Spec v0.6.0 adds three @events features (get_experiment_flag, track_event, track_exposure_event) and a new client step, Create the SDK client with events enabled. All five new scenarios failed because sdk-spec/steps.py did not implement that step.

The SDK already ships this behaviour (enable_events, EventProcessorConfig(events_api_url=...), Flagsmith.get_experiment_flag, track_event and track_exposure_event, all covered by the existing unit tests), so no library change was needed. This PR wires the spec steps to that public API:

  • Create the SDK client with events enabled creates a client with enable_events=True, pointed at the events API URL the runner provides.
  • The experiment flag step returns the flag that get_experiment_flag resolves. If the SDK returns a DefaultFlag, the step reports no flags.
  • The track event and track exposure steps call the SDK methods with the runner's identifier, value and metadata.
  • .flake8 ignores E501 for sdk-spec/steps.py only. Each step marker must match the spec's step text on one line, and one step is longer than 120 characters. A # noqa would become part of the marker text.

I ran the spec locally against its compose stack (Flagsmith, events API, Kafka, warehouse delivery and ClickHouse): 7/7 scenarios pass. The 136 unit tests and pre-commit also pass.

fd6e931 removes a Prettier cache file that I committed by mistake in ef25813.

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

Labels

sdk-spec Bumps of the Flagsmith SDK behavioural spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant