Skip to content

Prepare 4.0.0 release#333

Open
xluo-aws wants to merge 1 commit into
opensearch-project:mainfrom
xluo-aws:release-4.0.0
Open

Prepare 4.0.0 release#333
xluo-aws wants to merge 1 commit into
opensearch-project:mainfrom
xluo-aws:release-4.0.0

Conversation

@xluo-aws

Copy link
Copy Markdown
Member

Description

Cuts the final 4.0.0 release, superseding 4.0.0-beta.5, and brings the client up to date with the latest OpenSearch API spec.

  • Bump gem version 4.0.0-beta.54.0.0 (lib/opensearch/version.rb).
  • Finalize the 4.0.0 CHANGELOG entry, consolidating all changes merged since 3.3.0 (folding in the prior Unreleased items).
  • Regenerate the API from the latest OpenSearch API spec, which adds API surface merged upstream after the last spec-update PR ([AUTOCUT] Update opensearch-ruby to reflect the latest OpenSearch API spec (2025-11-23) #320, 2025-11-23):
    • New ml actions: memory container, agentic memory, and streaming (create_memory_container, add_agentic_memory, search_agentic_memory, execute_agent_stream, predict_model_stream, execute_tool, and related — 18 new actions).
    • New search_relevance scheduled experiment actions (get/post/delete_scheduled_experiments).
    • msearch gains an allow_partial_results parameter; two search_relevance query-set actions get doc improvements.

Issues Resolved

N/A — release preparation.

Testing

  • bundle exec rubocop lib/opensearch/api → 483 files, no offenses (includes all newly generated actions).
  • bundle exec rake test:unit → all unit suites pass (15 + 640 RSpec examples, 116 runs, 107 tests, 0 failures).

No per-action tests are added, consistent with the existing convention for generated API actions (the generator emits no test template; the generated API is covered by the generic API specs and rubocop).

Check List

  • New functionality includes testing (covered by existing generic API specs / rubocop, per convention).
  • New functionality has been documented (CHANGELOG).
  • Commits are signed per the DCO using --signoff.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Cut the final 4.0.0 release, superseding 4.0.0-beta.5.

- Bump gem version from 4.0.0-beta.5 to 4.0.0.
- Finalize the 4.0.0 CHANGELOG entry, consolidating all changes merged
  since 3.3.0.
- Regenerate the API against the latest OpenSearch API spec, adding
  ml memory container, agentic memory, and streaming actions,
  search_relevance scheduled experiment actions, and the msearch
  allow_partial_results parameter.

No per-action tests are added, consistent with the existing convention
for generated API actions (validated by rubocop and the generic API
specs and unit suite).

Signed-off-by: Xuesong Luo <[email protected]>
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.

1 participant