Skip to content

Comments

Bye ESI versions, Hello compatibility date#103

Merged
Crypta-Eve merged 4 commits intoeveseat:3.xfrom
recursivetree:remove-esi-versions
Oct 9, 2025
Merged

Bye ESI versions, Hello compatibility date#103
Crypta-Eve merged 4 commits intoeveseat:3.xfrom
recursivetree:remove-esi-versions

Conversation

@recursivetree
Copy link
Contributor

ESI no longer uses versions in the endpoint URL, and as of right now, they also have no effect. See https://developers.eveonline.com/blog/changing-versions-v42-was-getting-out-of-hand

This PR removes esi versions while keeping compatibility with existing code. This is done by effectively turning ->setVersion() and ->getVersion() into no-ops. You can still call them, but they do nothing.

At the same time, this PR introduces the X-Compatibility-Date header. You can set it's value using -> setCompatibilityDate(string $date). If no date is set, like with old code, we use the date of this PR so code should stay as compatible as possible.

ESI no longer requires a endpoint version. /v1/my/endpoint is now equivalent to /my/endpoint. With this commit, eseye no longer sends ESI requests with version numbers.

source: https://developers.eveonline.com/blog/changing-versions-v42-was-getting-out-of-hand
@Crypta-Eve Crypta-Eve merged commit 44df91b into eveseat:3.x Oct 9, 2025
3 checks passed
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.

2 participants