Skip to content

Releases: hmrc/pillar2

0.143.0

02 Jun 10:23
638af95

Choose a tag to compare

Release : pillar2 0.143.0

Last commit sha : 638af95
Last commit author : Joshua Lamptey
Last commit time : 2026-06-02T10:09:35Z

Add audit functionality for AmendSubscriptionSuccessAuditEventV2 and … (#152)

…corresponding tests

0.142.0

29 May 10:42
13ebae7

Choose a tag to compare

Release : pillar2 0.142.0

Last commit sha : 13ebae7
Last commit author : Nikolas
Last commit time : 2026-05-29T10:29:52Z

PIL-2905 Fixing ZAP alert (#147)

  • Fixed "Information Disclosure - Debug Error Messages" ZAP alert
  • Improved logback.xml console output

0.141.0

28 May 10:36
be5dd50

Choose a tag to compare

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 Pillar2Error extends Exception but the getMessage method
    requires cause and message. Because Pillar2Error uses custom
    message and code, exceptions are not properly formatted when logged.
    By overriding it we log both the code and message, making debugging
    easier.
  • The logDownstreamError method in controllers/package.scala
    validates only against ErrorDetails but 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

22 May 14:46
7c5803e

Choose a tag to compare

Release : pillar2 0.140.0

Last commit sha : 7c5803e
Last commit author : Joshua Lamptey
Last commit time : 2026-05-22T14:35:07Z

Revert "Add V2 methods for sending down an array of APs to ETMP" (#150)

Reverts #149

0.139.0

21 May 15:13
19e3fc1

Choose a tag to compare

Release : pillar2 0.139.0

Last commit sha : 19e3fc1
Last commit author : Joshua Lamptey
Last commit time : 2026-05-21T14:55:10Z

Add V2 methods for sending down an array of APs to ETMP (#149)

0.138.0

18 May 08:47
30d96da

Choose a tag to compare

Release : pillar2 0.138.0

Last commit sha : 30d96da
Last commit author : Joshua Lamptey
Last commit time : 2026-05-18T08:36:15Z

[PIL-2931] - backend now supports new GIR actions (#148)

0.137.0

07 May 07:38
2cfddeb

Choose a tag to compare

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

  • sendAmendedDataV2 was calling storeSubscriptionResponse (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-format accountingPeriod returned after a multi-period amend,
    causing a JsResultException.
  • Switches to storeSubscriptionResponseV2 which correctly handles the
    v2 response format.

0.136.0

13 Apr 13:52
a6de0b8

Choose a tag to compare

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

19 Mar 12:30
879aa7b

Choose a tag to compare

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-play from 10.4.0 to 10.6.0
    (project/AppDependencies.scala)
  • Upgrades play-sbt-plugin from 3.0.9 to 3.0.10
    (project/plugins.sbt)
  • org.lz4:lz4-java is 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

05 Mar 12:40
978670e

Choose a tag to compare

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