This major release drops support for old session layouts with keys in the document root. Sessions with these will be regarded invalid, users will need to re-authenticate.
- Heads up: Dropped support for PHP < 7.4, see xp-framework/rfc#343 (@thekid)
- Added support for MongoDB v3 - connecting lazily by default - @thekid
- Merged PR #9: Drop support for MongoDB v1 - @thekid
- Correctly persist migrated substructure, fixing session modifications (@thekid)
- Merged PR #8: Refactor document substructure, fixing issue #6 (handling
of special characters
.
and$
) while doing so. (@thekid)
- Made compatible with XP 12 - @thekid
The second major release drops support for old XP versions, adding forward compatibility with the upcoming PHP version at the same time.
- Implemented xp-framework/rfc#341: Drop XP <= 9 compatibility - @thekid
- Added PHP 8.4 to the test matrix - @thekid
- Made this library compatible with
xp-forge/mongodb
2.0.0 - @thekid - Merged PR #5: Migrate to new testing library - @thekid
- Upgraded
xp-forge/mongodb
dependency to version 1.4.0, usingread
semantics for the listIndexes command (@thekid)
- Implemented #3: Support TTL indexes. Using these delegates removing expired sessions to the MongoDB server, speeding up session creation. See https://www.mongodb.com/docs/manual/core/index-ttl/ (@thekid)
The first major release was created after using this library in production for more than two months.
- Merged PR #4: Add
InMongoDB::gc()
to run garbage collection - @thekid
- Added compatibility with
xp-forge/sessions
version 3.0 - @thekid
- Merged PR #2: Cleanup sessions during create - @thekid
- Implemented feature suggested in issue #1: Use
findAndModify
MongoDB command to update session in the database and refresh the read view at the same time (@thekid)
- Fixed PHP 8.2 compatibility - @thekid
- Hello World! First release - @thekid