-
Notifications
You must be signed in to change notification settings - Fork 16
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
Elasticsearch 8.x Support #18
Conversation
bulk changes for phpunit9 deprecation warnings of the test cases
…erval and fixed interval
Elasticsearch 8.0 support
I think we need to change the base branch of this PR. please notify me if necessary. |
/ping @alexander-schranz |
} | ||
], | ||
"require": { | ||
"php": "^7.1|^8.0", | ||
"php": "^7.4 || ^8.0", | ||
"symfony/serializer": "^2.8 || ^3.4 || ^4.0 || ^5.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You did write that Symfony 4.4 is not longer supported then we should adjust it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact, I could not be sure about this version matrix. Let me think about it a little bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can also allow and test against symfony ^6.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also need to discuss it internal if we need to support Elasticsearch 8 for Symfony 3.4 because of @sulu ArticleBundle 1.2 Version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. Let me know the decision of the internal discussion. As I see on my local test, all the versions are working, but I could not test with full Symfony, and I rely on tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hkulekci Nice work 👍 , didnt here about it that Elasticsearch 8 is released.
👍 technology is going fast :D Most of the time we are missing it. |
Before merging this, we need to check the tests again. After dev releases, there are some BC changes on alpha release. https://github.com/elastic/elasticsearch-php/releases/tag/v8.0.0-alpha. Let me check the PR again for BC changes. |
As I see, there are some problems related to the
These are related to inconsistency between So, what I am trying to suggest. We can continue with /ping @alexander-schranz |
Do we have any update here? @alexander-schranz |
hello @hkulekci,
Looks like they released already some |
@alexander-schranz, I see. I am just an adventurer here ^_^. There is no blocker for me. Some users of https://github.com/matchish/laravel-scout-elasticsearch library request ES8 support and, I start the journey to help the community. As I know, the users have a solution; they can use repository aliasing if anybody wants to use my repository as 8.x. Let's wait for the stable version if anybody has a blocker. Thanks for your time. |
Looks like we got a stable release now: https://github.com/elastic/elasticsearch-php/releases/tag/v8.0.0 🎉 do you want to rebase the branch and check if all works like expected? |
Sure. Let me give me some time to check the result. |
I just changed the namespace and |
The repository trying to fetch v8.x-dev version because of |
Looks like they created a You can could currently go with |
To run the tests we need a psr18 client implementation I added the same as elasticsearch is using for there tests. |
I was trying to solve this on another branch on my repository. I think you have already solved it nicely. 👍 |
@hkulekci thank you for all your work. Great Job 👍 I tagged a |
Hey @alexander-schranz thanks for the patience of this long conversation :) 💯 |
Was a pleasure to help here and happy for everybody who try to contribute something :) |
We tagged a stable 8.0.0 now. |
Here is a PR for Elasticsearch 8.x support. You can check my notes from hkulekci#2 this pull request.