Skip to content

Releases: pinterest/PINCache

3.0.3

22 Oct 17:43
Compare
Choose a tag to compare

Changelog

3.0.3 (2020-10-22)

Full Changelog

Swift Package Manager Support

06 Oct 21:13
caf4f82
Compare
Choose a tag to compare

3.0.2 (2020-10-06)

Full Changelog

Merged pull requests:

3.0! (technically 3.0.1)

21 Aug 00:49
7d1f63a
Compare
Choose a tag to compare

This release contains breaking changes!

3.0 (actually 3.0.1) contains numerous enhancements and changes, most prominent:

  • Fixes building with Xcode 12.
  • Adds support for TTL (time to live caches).
  • Numerous performance enhancements.
  • Custom object serializer/deserializer.
  • PINCaching protocol.
  • Did we mention performance enhancements?

3.0.1 (2020-08-20)

Full Changelog

Implemented enhancements:

Merged pull requests:

3.0.1 -- Beta 8

  • [fix] Initing PINCache with TTL enabled should enable TTL on PINMemoryCache. #246
  • [performance] Return TTL cache objects without waiting for all metadata to be read. #228
  • [performance] Memory cache now performs some tasks such as trimming and removing experied objects with low priority. #234

3.0.1 -- Beta 7

  • [fix] Fix up warnings and upgrade to PINOperation 1.1.1: #213
  • [performance] Reduce locking churn in cleanup methods. #212
  • [fix] Don't set file protection unless requested. #220
  • [new] Add ability to set an object level TTL: #209
  • [performance] Improve performance of age limit trimming: #224

3.0.1 -- Beta 6

  • [fix] Add some sane limits to the disk cache: [#201]#201
  • [new] Update enumeration methods to allow a stop flag to be flipped by caller: #204
  • [performance] Improves cache miss performance by ~2 orders of magnitude on device: #202
  • [performance] Significantly improve startup performance: #203

3.0.1 -- Beta 5

  • [fix] Respect small byteLimit settings by checking object size in setObject: #198
  • [new] Added an ability to set custom encoder/decoder for file names: #192

3.0.1-beta.4 (2017-02-16)

Full Changelog

Merged pull requests:

3.0.1-beta.3 (2017-02-10)

Full Changelog

Merged pull requests:

3.0.1-beta.2 (2016-11-07)

Full Changelog

Merged pull requests:

Read more

Modernization

11 Jun 21:04
Compare
Choose a tag to compare
Modernization Pre-release
Pre-release
  • [fix] Initing PINCache with TTL enabled should enable TTL on PINMemoryCache. #246
  • [performance] Return TTL cache objects without waiting for all metadata to be read. #228
  • [performance] Memory cache now performs some tasks such as trimming and removing experied objects with low priority. #234

Per object TTL and performance fixes

08 Jun 18:30
6c6ccf5
Compare
Choose a tag to compare
Pre-release
  • [fix] Fix up warnings and upgrade to PINOperation 1.1.1: #213
  • [performance] Reduce locking churn in cleanup methods. #212
  • [fix] Don't set file protection unless requested. #220
  • [new] Add ability to set an object level TTL: #209
  • [performance] Improve performance of age limit trimming: #224

3.0.1-beta.6

07 Oct 20:12
Compare
Choose a tag to compare
3.0.1-beta.6 Pre-release
Pre-release

This release contains big performance gains to the disk cache!

  • [fix] Add some sane limits to the disk cache: [#201]#201
  • [new] Update enumeration methods to allow a stop flag to be flipped by caller: #204
  • [performance] Improves cache miss performance by ~2 orders of magnitude on device: #202
  • [performance] Significantly improve startup performance: #203

3.0.1 Beta 5

27 Jun 22:26
Compare
Choose a tag to compare
3.0.1 Beta 5 Pre-release
Pre-release

Note this beta makes a slight API change, dropping support for a file extension in favor of a custom encoder / decoder for file names.

  • [new] Added an ability to set custom encoder/decoder for file names: #192

3.0.1 Beta 4

16 Feb 23:46
Compare
Choose a tag to compare
3.0.1 Beta 4 Pre-release
Pre-release
  • This beta includes a complete refactor of the project and the way the framework is built with Carthage.

3.0.1 Beta 3

10 Feb 00:51
Compare
Choose a tag to compare
3.0.1 Beta 3 Pre-release
Pre-release

This is beta 3 of 3.0.1 (a major release despite the minor version number)

  • Includes a bunch of bug fixes!
  • Improved Swift support
  • Includes a rethinking of the API to explicitly call out asynchronous methods.

Full list of changes since last beta: 3.0.1-beta.2...3.0.1-beta.3

3.0.1 Beta 2

07 Nov 18:45
Compare
Choose a tag to compare
3.0.1 Beta 2 Pre-release
Pre-release

This is beta 2 of 3.0.1 (a major release despite the minor version number)

  • Includes a bunch of bug fixes!
  • Includes significant performance optimizations, especially of the disk cache!
  • Includes thread limiting of PINCache to reduce the number of outstanding threads spun up which end up just waiting on a lock.