Skip to content

Tags: laminas/laminas-cache

Tags

3.13.0

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [3.13.0](https://github.com/laminas/laminas-cac…

…he/milestone/66)

### 3.13.0

- Total issues resolved: **0**
- Total pull requests resolved: **1**
- Total contributors: **1**

#### Enhancement

 - [357: Allow PHP 8.4 in laminas-cache 3.x](#357) thanks to @driehle

4.1.0

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [4.1.0](https://github.com/laminas/laminas-cach…

…e/milestone/58)

Feature release (minor)

### 4.1.0

- Total issues resolved: **0**
- Total pull requests resolved: **5**
- Total contributors: **3**

#### Dependencies,Enhancement

 - [352: Add Support for PHP 8.4](#352) thanks to @gsteel

#### Dependencies,Enhancement,QA

 - [351: Upgrade PHPUnit to version 10.x](#351) thanks to @gsteel

#### Documentation,QA

 - [350: Fix docs linting issues](#350) thanks to @gsteel

#### Enhancement

 - [345: Update to use PHP 8.1 syntax](#345) thanks to @samsonasik

#### renovate

 - [340: Update dependency laminas/laminas-coding-standard to v3](#340) thanks to @renovate[bot]

4.0.4

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [4.0.4](https://github.com/laminas/laminas-cach…

…e/milestone/62)

### 4.0.4

- Total issues resolved: **0**
- Total pull requests resolved: **3**
- Total contributors: **1**

#### Documentation

 - [328: Add new `max_items` `Memory` adapter option](#328) thanks to @boesing
 - [327: Add new `FilesystemOptions` related to `Filesystem` v3.0](#327) thanks to @boesing
 - [326: Update documentation to reflect most recent changes regarding v4 and adapters](#326) thanks to @boesing

4.0.3

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [4.0.3](https://github.com/laminas/laminas-cach…

…e/milestone/61)

### 4.0.3

- Total issues resolved: **0**
- Total pull requests resolved: **1**
- Total contributors: **1**

#### Bug

 - [322: Add adapter options template to StorageInterface usage](#322) thanks to @boesing

4.0.2

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [4.0.2](https://github.com/laminas/laminas-cach…

…e/milestone/60)

4.0.x bugfix release (patch)

### 4.0.2

- Total issues resolved: **0**
- Total pull requests resolved: **1**
- Total contributors: **1**

#### Bug

 - [321: Add adapter options template to `StorageInterface` usage](#321) thanks to @boesing

4.0.1

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [4.0.1](https://github.com/laminas/laminas-cach…

…e/milestone/57)

4.0.x bugfix release (patch)

### 4.0.1

- Total issues resolved: **0**
- Total pull requests resolved: **1**
- Total contributors: **1**

#### Bug

 - [319: Add missing template param for `StorageInterface`](#319) thanks to @boesing

4.0.0

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [4.0.0](https://github.com/laminas/laminas-cach…

…e/milestone/11)

`laminas-cache` 4.0.0 is here and finally adds native types **everywhere**, adds support for `psr/cache` and `psr/simple-cache` v2 & v3 and introduces an all new metadata logic which allows adapters to provide metadata they actually support.

Please read more on how to migrate your project in our [migration guideline](https://github.com/laminas/laminas-cache/blob/5fc9681221c9120adeb091e084524e953e1434a0/docs/book/v4/migration/to-version-4.md).

### Added
- Every adapter which supports `metadata` now implements `MetadataCapableInterface` and provides a dedicated object containing all the metadata values it supports
- Adds support for `psr/cache` and `psr/simple-cache` v2 & v3

### Removed
- `supportedMetadata` capability from `Capabilities`
- `KeyListIterator::CURRENT_AS_METADATA` mode along with `Laminas\Cache\Exception\MissingKeyException`
- automatic instantiation of `SerializerInterface` when calling `PluginOptions#getSerializer`
- Increment and decrement feature from `StorageInterface`, so there is no more `StorageInterface#incrementItem`, `StorageInterface#decrementItem`, `StorageInterface#decrementItems` and `StorageInterface#incrementItems`
  - this also removes `incrementItem`, `incrementItems`, `decrementItem`, `derementItems` events (`pre`, `post` and `exception`)
- dependency inversion on virtual package `laminas/laminas-cache-storage-adapter-implementation` which now allows `laminas-cache` to be required without a concrete storage adapter implementation
- removed support for `psr/cache` and `psr/simple-cache` v1

### Breaking Changes
- `AbstractAdapter` and `StorageInterface` are not aware of the methods `getMetadata` anymore. These were moved to the new `MetadataCapableInterface`
- `Capabilities` do not provide `supportedMetadata` anymore. The supported metadata is tied to the used storage adapter and thus, was already requiring projects to explicitly know the exact implementation of the cache backend in case of using these metadatas anyway
- `KeyListIterator` and the corresponding `IteratorInterface` does not provide the `mode` `CURRENT_AS_METADATA` anymore
- `PluginOptions#getSerializer` does not create a serializer anymore if a `string` option was passed, instead, the `string` is returned
- Increment and decrement feature was removed from `StorageInterface`, so there is no more `StorageInterface#incrementItem`, `StorageInterface#decrementItem`, `StorageInterface#decrementItems` and `StorageInterface#incrementItems`
  - this also removes `incrementItem`, `incrementItems`, `decrementItem`, `derementItems` events (`pre`, `post` and `exception`)
- Every method now has native return types
- Every property now has native types
- Every method argument now has native types
- `ObjectCache` does not inherit the `CallbackCache` pattern anymore

### 4.0.0

- Total issues resolved: **9**
- Total pull requests resolved: **18**
- Total contributors: **4**

#### BC Break,Enhancement

 - [317: Allow integer keys for some more methods](#317) thanks to @boesing
 - [310: Enhance type strictness and add `final` to a bunch of classes](#310) thanks to @boesing
 - [308: Provide `Capabilities` as a read-only class](#308) thanks to @boesing
 - [296: Support for `laminas/laminas-servicemanager` v4](#296) thanks to @boesing
 - [275: Introduce support for PSR-6 and PSR-16 v2 & v3](#275) thanks to @boesing
 - [273: Introduce `MetadataCapableInterface`](#273) thanks to @boesing
 - [14: reduce arguments by reference](#14) thanks to @weierophinney

#### Enhancement

 - [316: Narrow some more string types to `non-empty-string`](#316) thanks to @boesing
 - [291: Remove `laminas/laminas-feed` dev-dependency](#291) thanks to @boesing
 - [290: Update `vimeo/psalm` to v5.20.0](#290) thanks to @boesing
 - [289: Remove virtual package dependency of `laminas/laminas-cache-storage-implementation`](#289) thanks to @boesing
 - [277: Update `vimeo/psalm` to v5.16 once available](#277) thanks to @boesing

#### Bug,Enhancement

 - [315: Allow integerish keys in methods handling multiple keys at once](#315) thanks to @boesing

#### BC Break,Feature Removal

 - [311: Remove unsupported array configuration structure (array shape)](#311) thanks to @boesing
 - [309: Remove deprecated configuration support](#309) thanks to @boesing

#### BC Break

 - [295: Introduce native type-hints and pass-by-reference values](#295) thanks to @boesing and @ravcz
 - [294: Removal of `increment` and `decrement` functionality](#294) thanks to @boesing
 - [272: Remove dependency on real storage adapters and therefore benchmarks](#272) thanks to @boesing

#### Feature Request

 - [292: Incompatibility of laminas-cache and newer psr/cache versions ](#292) thanks to @smsalert-mobi

#### BC Break,Bug

 - [276: `Serializer` plugin has to serialize `token` to enable `StorageInterface#checkAndSetItem` comparing the correct values](#276) thanks to @boesing

#### Documentation

 - [274: Documentation for v4.0.0 including migration guide](#274) thanks to @boesing

3.12.2

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [3.12.2](https://github.com/laminas/laminas-cac…

…he/milestone/55)

3.12.x bugfix release (patch)

### 3.12.2

- Total issues resolved: **1**
- Total pull requests resolved: **1**
- Total contributors: **1**

#### Documentation

 - [300: Documentation: Add `ssl_context` option to `RedisCluster` documentation](#300) thanks to @boesing

3.12.1

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [3.12.1](https://github.com/laminas/laminas-cac…

…he/milestone/54)

3.12.x bugfix release (patch)

### 3.12.1

- Total issues resolved: **1**
- Total pull requests resolved: **1**
- Total contributors: **1**

#### Bug

 - [286: Infinite loop when fetching some cache-related services via container in projects without registered `config` service](#286) thanks to @InvisibleSmiley

3.12.0

Verified

This tag was signed with the committer’s verified signature.
laminas-bot Laminas Bot
### Release Notes for [3.12.0](https://github.com/laminas/laminas-cac…

…he/milestone/52)

### 3.12.0

- Total issues resolved: **0**
- Total pull requests resolved: **1**
- Total contributors: **1**

#### Enhancement

 - [280: Add support for PHP 8.3](#280) thanks to @fezfez