Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generator #2594

Merged
merged 11 commits into from
Mar 13, 2025
Merged

Update generator #2594

merged 11 commits into from
Mar 13, 2025

Conversation

picandocodigo
Copy link
Member

@picandocodigo picandocodigo commented Mar 6, 2025

For 9.x, the client is migrating the code generation to using elasticsearch-specification and an external code generator.

Using elasticsearch-specification brings a lot of improvements in the source code documentation.

This PR also refactors the way generated code is included.

Copy link

github-actions bot commented Mar 6, 2025

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@picandocodigo picandocodigo force-pushed the update_generator branch 9 times, most recently from 42b9d5d to c9b7e69 Compare March 12, 2025 12:45
The rollup feature was never GA-ed and is still tech preview. It has been deprecated since 8.11.0 in favor of downsampling.
@picandocodigo picandocodigo force-pushed the update_generator branch 9 times, most recently from be0296d to 3ecf279 Compare March 13, 2025 14:47
Based on the code written in the Elasticsearch Serverless client, this change makes the creation of
the namespace clients dynamic, removing all the files that were under `namespace` before.

Some outdated and deprecated code was removed too, like unnecessary namespaces.
* Renames __bulkify to bulkify
* Renames __escape to escape
* Renames __listify to listify
* Renames __pathify to pathify
* Renames __extract_parts to extract_parts
* Renames __rescue_from_not_found to rescue_from_not_found
@picandocodigo picandocodigo merged commit 61149f7 into main Mar 13, 2025
13 checks passed
@picandocodigo picandocodigo deleted the update_generator branch March 13, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant