Repository navigation
Releases: datasage/api-tools-rpc
Release list
2.0.1
Declares PHP 8.6 support. The php constraint gains ~8.6.0; the floor is unchanged. CI now runs 8.6 with PHP platform requirements ignored there, because upstream laminas packages still cap PHP at ~8.5.0.
No src/ changes. Under 8.6.0RC2 no deprecation originates in this package.
2.0.0
First major of this fork line. BC breaks relative to 1.10.1.
Removed the ServiceManager v2 back-compat shims from Factory\RpcControllerFactory — createService(), the v2 abstract-factory pair and the v2 interface imports. Each proxied a v3 method the class already implemented.
Constraints on sibling forks widened to accept their new majors.
1.10.1
Retired phpunit 10 and added a monthly dependabot configuration. Removed the tracked .coveralls.yml.
$this->isType('array') replaced with $this->isArray() and three will($this->returnValueMap(...)) with willReturnMap(); both are removed in phpunit 12, and isType() broke the suite outright on 13.
Eight with() constraints gained an invocation count so their argument assertions are checked, and the shared ControllerManager is now a stub except in the two tests that assert on it.
Development tooling now at phpunit ^11.0 || ^12.0 || ^13.0, psalm ^6.14, laminas-coding-standard ^3.1.
No runtime behaviour changes. The only src/ edits are #[Override] attributes and their imports, so this is a patch release.
1.10.0
Supported PHP
~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 — adds 8.5, drops 8.1.
Changes
psr/containeradded torequireat^1.1 || ^2.0.Psr\Containeris imported by twosrc/classes but was never declared; it only resolved transitively.- Dependency floors raised to releases covering the whole supported range:
laminas-eventmanager^3.15,laminas-http^2.23,laminas-servicemanager^3.24,laminas-stdlib^3.21,laminas-view^2.43. laminas-mvc^3.2→^3.8, plus adatasage/laminas-mvcVCS repository entry. Upstream laminas-mvc has no 8.5 release, so 8.5 resolves the fork's 3.9.0; 8.2–8.4 still work against upstream 3.8.0 without the fork.vimeo/psalm^5→^6.0. Psalm 5 caps at~8.3.0and cannot run on 8.4 or 8.5.- Removed 3 no-op
setAccessible()calls fromtest/, deprecated in 8.5 (no effect since 8.1). psalm-baseline.xmlregenerated for psalm 6; three deadInternalMethodsuppressions removed frompsalm.xml.dist.config.platform.php8.1.99 → 8.2.99.- CI:
.laminas-ci.jsonnow excludes doc linting instead of ignoring platform requirements; removedrelease-on-milestone-closed.yml.
No src/ changes.
Known issue, unchanged here: src/RpcController.php uses Laminas\View\Model\JsonModel, which is deprecated upstream. Replacing it would change content-negotiation behaviour.
CI green on 8.2, 8.3, 8.4 and 8.5 across locked, lowest and latest.