Keyv v3.0.0 Release Notes

Release Date: 2017-10-03 // over 6 years ago
  • ๐Ÿ‘ The data structure is now normalized across all data stores. Previously there was a difference between how native TTL supporting stores and non TTL supporting stores stored data.

    This is a breaking change because if you were previously using Keyv with the Redis or MongoDB adapter, Keyv v3 won't be able to read your data. There are zero API breaking changes though, if you clear your store, Keyv will continue to work with no code changes required.

    ๐ŸŽ Moving forward this breaking change will allow us to add opt in changes to data structures for performance improvements in certain use cases without breaking backwards compatibility.

    It also makes it much easier to implement data migration tools for automatically transfering data from one Keyv store to another.

    More info on the data structure change here: #29