Skip to content

feat: add new context filter operators#453

Merged
Swiftwork merged 4 commits intomainfrom
buc-1935-new-segment-filter-afterbeforeon-specific-date
Aug 4, 2025
Merged

feat: add new context filter operators#453
Swiftwork merged 4 commits intomainfrom
buc-1935-new-segment-filter-afterbeforeon-specific-date

Conversation

@Swiftwork
Copy link
Contributor

  • Bumped version of @bucketco/flag-evaluation to 0.2.0 and added new context filter operators: DATE_AFTER and DATE_BEFORE.
  • Updated @bucketco/node-sdk to 1.9.0 to reflect the new version of @bucketco/flag-evaluation.
  • Updated @bucketco/openfeature-node-provider to use the latest @bucketco/node-sdk version.

- Bumped version of `@bucketco/flag-evaluation` to 0.2.0 and added new context filter operators: `DATE_AFTER` and `DATE_BEFORE`.
- Updated `@bucketco/node-sdk` to 1.9.0 to reflect the new version of `@bucketco/flag-evaluation`.
- Updated `@bucketco/openfeature-node-provider` to use the latest `@bucketco/node-sdk` version.
@Swiftwork Swiftwork requested review from Copilot and pavkam August 4, 2025 09:51
@Swiftwork Swiftwork self-assigned this Aug 4, 2025
@Swiftwork Swiftwork added the enhancement New feature or request label Aug 4, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds new date comparison operators (DATE_AFTER and DATE_BEFORE) to the flag evaluation system and updates package versions accordingly. The changes enable more precise date-based filtering in feature flag context evaluation.

  • Added DATE_AFTER and DATE_BEFORE operators to the context filter system
  • Bumped @bucketco/flag-evaluation version from 0.1.5 to 0.2.0
  • Updated dependent packages to use the new flag-evaluation version

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
packages/flag-evaluation/src/index.ts Added new DATE_AFTER and DATE_BEFORE operators with implementation logic
packages/flag-evaluation/package.json Version bump to 0.2.0 to reflect new functionality
packages/node-sdk/package.json Updated dependency to use new flag-evaluation version 0.2.0
packages/openfeature-node-provider/package.json Updated dependency to use new node-sdk version 1.9.0

@Swiftwork Swiftwork added this pull request to the merge queue Aug 4, 2025
Merged via the queue into main with commit 7db5ae0 Aug 4, 2025
6 checks passed
@Swiftwork Swiftwork deleted the buc-1935-new-segment-filter-afterbeforeon-specific-date branch August 4, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants