Releases: hmrc/pillar2
0.143.0
0.142.0
0.141.0
Release : pillar2 0.141.0
Last commit sha : be5dd50
Last commit author : Nikolas
Last commit time : 2026-05-28T10:28:46Z
PIL-3079 Logging & Error Handling improvements (#151)
- The
Pillar2ErrorextendsExceptionbut thegetMessagemethod
requirescauseandmessage. Because Pillar2Error uses custom
messageandcode, exceptions are not properly formatted when logged.
By overriding it we log both thecodeandmessage, making debugging
easier. - The
logDownstreamErrormethod incontrollers/package.scala
validates only againstErrorDetailsbut we seem to be getting
FinancialDataErrorResponses. The method was refactored to cater for
both. - Improved logging in the
controllers.convertToResult()(removed
duplicate logging).
0.140.0
0.139.0
0.138.0
0.137.0
Release : pillar2 0.137.0
Last commit sha : 2cfddeb
Last commit author : James Miller
Last commit time : 2026-05-07T07:25:02Z
NOJIRA: Use v2 store in sendAmendedDataV2 to fix post-amend cache refresh (#146)
Summary
sendAmendedDataV2was callingstoreSubscriptionResponse(v1) to
refresh the read-subscription cache after a successful v2 amend. The v1
method calls the v1 downstream endpoint, which fails to parse the
array-formataccountingPeriodreturned after a multi-period amend,
causing aJsResultException.- Switches to
storeSubscriptionResponseV2which correctly handles the
v2 response format.
0.136.0
Release : pillar2 0.136.0
Last commit sha : a6de0b8
Last commit author : Joshua Lamptey
Last commit time : 2026-04-13T13:37:43Z
Nojira fix medium processing (#145)
Fixes an error where when a subscription would return a
CANNOT_COMPLETE_REQUEST after a registration (when the registration
processing is slow), it would throw an error instead of going to the
registration in progress screen.
This only happened when the new amend accounting multi period flag was
true as when its off already handled this scenario
0.135.0
Release : pillar2 0.135.0
Last commit sha : 879aa7b
Last commit author : olakunlekuye2
Last commit time : 2026-03-19T12:19:16Z
PIL-2874 Fix lz4-java vulnerabilities CVE-2025-66566 and CVE-2025-12183 (#144)
Summary
- Upgrades
bootstrap-playfrom10.4.0to10.6.0
(project/AppDependencies.scala) - Upgrades
play-sbt-pluginfrom3.0.9to3.0.10
(project/plugins.sbt) org.lz4:lz4-javais not a direct dependency — no further changes
needed
Both changes together resolve the two transitive org.lz4:lz4-java
vulnerabilities flagged in the service vulnerability report.
0.134.0
Release : pillar2 0.134.0
Last commit sha : 978670e
Last commit author : Joshua Lamptey
Last commit time : 2026-03-05T12:27:30Z
Pil 2814 (#142)
Add new model and endpoint for new api which will allow for multiple
accounting periods and their amendments. This PR focuses on the display
subscription api v2
Key Changes:
- Add new endpoint
- New unit tests
- New model which takes a seq of accounting periods