Skip to content

Don't emit deprecation issue for compatible date format patterns #127418

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

Merged

Conversation

mark-vieira
Copy link
Contributor

This is a follow up to #124597 which fixes a bug where we could return a false positive deprecation issue for certain valid date format patterns. We now ignore fields if the date mapping pattern is one of those in FormatNames.

@mark-vieira mark-vieira added >bug :Core/Infra/Core Core issues without another label labels Apr 25, 2025
@elasticsearchmachine elasticsearchmachine added v8.18.1 Team:Core/Infra Meta label for core/infra team labels Apr 25, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine
Copy link
Collaborator

Hi @mark-vieira, I've created a changelog YAML for you.

@@ -0,0 +1,5 @@
pr: 127418
summary: Don't issue deprecation issue for compatible date format patterns
Copy link
Contributor

Choose a reason for hiding this comment

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

"emit deprecation warning" perhaps?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, "emit" is better.

@mark-vieira mark-vieira changed the title Don't issue deprecation issue for compatible date format patterns Don't emit deprecation issue for compatible date format patterns Apr 25, 2025
@mark-vieira mark-vieira merged commit 44340f7 into elastic:8.18 Apr 28, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team v8.18.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants