Open thekid opened 2 years ago
This means libraries can use MemoryOutputStream::bytes()
instead of getBytes()
. The former was added in XP 9.8.0, see https://github.com/xp-framework/core/releases/tag/v9.8.0
Updates for a 2 hour session on this cold & gray Sunday:
Library | Compatible with XP 10 since | Compatible with XP 10 only since | Status |
---|---|---|---|
xp-forge/credentials | 1.0.1 / 2019-11-30 | 3.0.0 / 2024-02-04 | ✅ |
xp-forge/geoip | 3.1.0 / 2020-04-05 | 5.0.0 / 2024-02-04 | ✅ |
xp-forge/keepass | 0.6.1 / 2019-12-01 | 2.0.0 / 2024-02-04 | ✅ |
xp-forge/mongodb-sessions | 0.1.0 / 2022-04-12 | 2.0.0 / 2024-02-04 | ✅ |
xp-forge/redis-sessions | 1.0.0 / 2020-04-05 | 2.0.0 / 2024-02-04 | ✅ |
xp-forge/web-auth | 0.1.0 / 2019-12-01 | 4.0.0 / 2024-02-04 | ✅ |
xp-forge/yaml | 5.2.1 / 2019-12-01 | 8.0.0 / 2024-02-04 | ✅ |
Scope of Change
This RFC suggests dropping compatibility for XP 9 (and lower).
Rationale
XP 9.0.0 was released 2017-09-24, more than 4 years ago and has no support for PHP 8, released roughly a year ago at the time of writing.
Functionality
Libraries will drop support for XP 9 and lower with their next major release.
The typical diff will look something like this:
We can also bump minimum library requirements by looking when they started supporting XP 10 when doing so, e.g.:
Here's a complete list:
Security considerations
None
Speed impact
Faster library installs.
Dependencies
BC breaks
Related documents