Both changes in this release require applications to be fully updated to the latest patch version of the gem before bumping to this version.
- Store md5 digest of columns + sql types along with records (#51)
IMPORTANT: if you are storing Active Record objects in the cache, ensure you have updated and deployed 0.11.3 before
upgrading, and ensure you are handling either all
ActiveRecordCoder::Error
errors, or that you explicitly addActiveRecordCoder::ColumnsDigestMismatch
to your error handling. - Bump
Paquito.format_version
to1
by default. IMPORTANT: if you are upgrading from a previous version, you MUST first fully deploy the gem up to at least version 0.10.0 and release before enabling it. If you don't, you may notice someUnpackError
during the code rollout, which may be fine if you only use Paquito for ephemeral cache data. See release notes for v0.10.0.
- Deserialize records with extra unused array elements in payload (#52)
- Attempt to load
active_support/core_ext/time/calculations
beforePaquito::Types.time_unpack
is defined (#47)
- Fix SingleBytePrefixVersionWithStringBypass to better support raw UTF-8 strings.
- Convert some lambdas into proper methods to make them more discoverable by profilers.
- Optimize
Time
andActiveSupport::TimeWithZone
serializers whenactive_support/core_ext/time/calculations
is loaded.
-
Introduce a new version
1
format that better handlesTime
andDateTime
objects. It can be enabled by settingPaquito.format_version = 1
. IMPORTANT: If you are upgrading from previous versions, you MUST first fully deploy the new version of the gem prior to enabling the new format. If you don't you may notice someUnpackError
during the code rollout, which may be fine if you only use Paquito for ephemeral cache data.This new format will be the default in paquito 1.0.
- Support cast of coder in translate errors. (#24)
- Fix a bug when handle
compress / decompress
coders. (#23) SingleBytePrefixVersionWithStringBypass
accepts another coder for strings.
- Handle
compress / decompress
coders (#22) - Introduce
FlatCacheEntryCoder
(#21). - Drop the partial Ruby 2.6 support.
- Introduce
SingleBytePrefixVersionWithStringBypass
(#18, #20).
- Make ActiveRecordCoder now encode wether records were persisted or not (#12). This change is backward compatible with Paquito 0.6.2 but NOT OLDER VERSIONS.
- Make ActiveRecordCoder able to read payloads that will be generated by Paquito 0.7.0 (#12). DO NOT upgrade to Paquito 0.7.0+ without first fully rolling out Paquito 0.6.2.
- No data
- No data
- No data
- No data
- No data
- No data
- No data
- No data
- No data