Skip to content

v12.1.5

Choose a tag to compare

@phax phax released this 16 Mar 21:57
· 101 commits to master since this release
  • Deprecated IToBooleanFunction in favour of Predicate
  • Added new method ConfigFactory.addProfilePropertiesSources which enables the loading of properties using the Spring profile pattern. See #40
  • Added new constant DoNothingJsonParserHandler.INSTANCE
  • Added new overload Wrapper.get(Predicate)
  • Updated ph-http constants to align with RFC 9110 (HTTP Semantics, 2022) and related specs:
    • Added new HTTP status codes: 102 Processing, 207 Multi-Status, 208 Already Reported, 226 IM Used, 423 Locked, 424 Failed Dependency, 425 Too Early
    • Renamed status codes per RFC 9110: 302 Found (HTTP_FOUND), 413 Content Too Large (HTTP_CONTENT_TOO_LARGE), 414 URI Too Long (HTTP_URI_TOO_LONG), 416 Range Not Satisfiable (HTTP_RANGE_NOT_SATISFIABLE) — old constant names are deprecated
    • Deprecated status codes 305 Use Proxy and 306 Switch Proxy per RFC 9110
    • Fixed getHttpResponseMessage() reason phrases to match RFC 9110 text (including 422 Unprocessable Content)
    • Added missing RFC 9110 standard headers: Accept-Ranges, Content-Range, Expect, If-Range, Max-Forwards, Proxy-Authenticate, Range, TE, Trailer, Upgrade, Via
    • Added modern security headers: Permissions-Policy, Cross-Origin-Embedder-Policy, Cross-Origin-Opener-Policy, Cross-Origin-Resource-Policy, Alt-Svc, Priority
    • Deprecated obsolete headers: Warning (removed in RFC 9111), Pragma (deprecated in RFC 9111), DNT, X-UA-Compatible, PICS-Label, Content-Script-Type, Content-Style-Type, Window-target, Ext-cache, UA, x-device-user-agent
    • Added HTTP/3.0 to EHttpVersion (RFC 9114)
    • Updated Javadoc references from obsolete RFCs to RFC 9110

Full Changelog: ph-commons-parent-pom-12.1.4...ph-commons-parent-pom-12.1.5