Replies: 9 comments 65 replies
-
I would make small adjustment to the proposal. Created a 7.x branch but no 8.x branch. 8.x is just master. Like this we need to do less backports. |
Beta Was this translation helpful? Give feedback.
-
Should we define a list of "goals" for the new 8.0 version? My short list:
|
Beta Was this translation helpful? Give feedback.
-
About the version of PHP, I would require 8.0 as minimum version as 7.4 is in security support only maintenace mode. Many libraries already switched to 8.0 as minimum version. In the meantime we could maintain more regurlaly the 7.x branch for the ones that would be sticked to PHP 7.4 version or previous. Advantage brought by PHP 8.0 would be for this library:
|
Beta Was this translation helpful? Give feedback.
-
Only supporting PHP 8.0 means that only users of PHP 8.0 can migrate to Elasticsearch 8.0. It is possible that Elastica 7.x will mostly work with Elasticsearch 8.0 but it is not guaranteed as there can be breaking changes. One other data point is likely on what @ezimuel does with the official client on PHP version compatiblity? |
Beta Was this translation helpful? Give feedback.
-
About Elasticsearch 8.0 compatibility, there is a new compatibility layer in Elasticsearch we could leverage while working on the next Elastica version: https://www.elastic.co/guide/en/elasticsearch/reference/8.0/rest-api-compatibility.html By adding:
to all requests, the version 7 of Elastica could work with Elasticsearch 7 and 8. |
Beta Was this translation helpful? Give feedback.
-
Just wondering if there has been any news regarding 8.x support? Also if you add compatibility support using enviornment variables, plase use |
Beta Was this translation helpful? Give feedback.
-
Hey @ruflin.
after that:
|
Beta Was this translation helpful? Give feedback.
-
A major pull request to get us to version 8 compatibility has just been merged: #2181 Please help with testing, reporting bugs and bug fixes. Still a bit of work ahead of us tracked in #2185 |
Beta Was this translation helpful? Give feedback.
-
Release 8.0.0 is out: https://github.com/ruflin/Elastica/releases/tag/8.0.0 Going to close this thread. Thanks for everyone that helped us to get here. Next step is upgrading projects / libs and get all the feedback in. |
Beta Was this translation helpful? Give feedback.
-
Here's what I would like to propose:
For the 8.x branch, I propose to bump PHP version to 8.0 so that we can start using some recent PHP language evolutions (union type, named arguments, ...).
Beta Was this translation helpful? Give feedback.
All reactions