Skip to content

Remove deprecated exclude\include parameters #92

Merged
atimin merged 5 commits into
mainfrom
91-remove-excludeinclude-parameters
Jul 22, 2025
Merged

Remove deprecated exclude\include parameters #92
atimin merged 5 commits into
mainfrom
91-remove-excludeinclude-parameters

Conversation

@atimin
Copy link
Copy Markdown
Member

@atimin atimin commented Jul 22, 2025

Closes #91

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md has been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?

Removal

What was changed?

  • Removed deprecated exclude and include parameters:
    All usage of the deprecated exclude and include parameters has been removed from the codebase. These parameters are no longer supported and their presence has been fully eliminated from public APIs and internal logic.
  • Code and documentation cleanup:
    Any references, documentation comments, or code paths that mentioned or handled exclude/include have been updated or deleted to reflect their removal.

Related issues

reductstore/reductstore#873, #91

Does this PR introduce a breaking change?

Yes

Other information:

@atimin atimin linked an issue Jul 22, 2025 that may be closed by this pull request
@atimin atimin requested a review from Copilot July 22, 2025 13:43
Copy link
Copy Markdown
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 removes deprecated exclude and include parameters from the ReductStore C++ client library API as part of a breaking change cleanup. The parameters were previously deprecated in favor of the when parameter for query filtering.

  • Removes deprecated include and exclude fields from QueryOptions and ReplicationSettings structs
  • Eliminates associated serialization/deserialization logic for these parameters
  • Updates test data to reflect license changes and removes usage of deprecated parameters

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/reduct/client.h Removes deprecated include/exclude fields from ReplicationSettings struct
src/reduct/bucket.h Removes deprecated include/exclude fields from QueryOptions struct and fixes comment formatting
src/reduct/internal/serialisation.cc Removes serialization logic for include/exclude parameters
tests/reduct/replication_api_test.cc Removes usage of deprecated parameters from test settings
tests/reduct/server_api_test.cc Updates copyright year and license test data
CHANGELOG.md Documents the removal of deprecated parameters
.github/workflows/ci.yml Updates Windows build environment from 2019 to 2022
Comments suppressed due to low confidence (1)

tests/reduct/server_api_test.cc:44

  • The hardcoded timestamp value appears to be a past date (around 2026 based on the epoch value). Consider using a future date or making this test more robust by checking if the expiry date is reasonable rather than an exact match.
  REQUIRE(info.license->expiry_date.time_since_epoch().count() == 1778852143696974000);

Comment thread .github/workflows/ci.yml
Comment on lines +30 to +34
os: [ubuntu-22.04, windows-2022]
include:
- os: ubuntu-22.04
install: "true"
- os: windows-2019
- os: windows-2022
Copy link

Copilot AI Jul 22, 2025

Choose a reason for hiding this comment

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

[nitpick] The CI environment update from windows-2019 to windows-2022 seems unrelated to the main purpose of removing deprecated parameters. Consider separating infrastructure changes into a separate PR for better change tracking.

Copilot uses AI. Check for mistakes.
@atimin atimin merged commit 56603f6 into main Jul 22, 2025
14 checks passed
@atimin atimin deleted the 91-remove-excludeinclude-parameters branch July 22, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove exclude/include parameters

2 participants