v12.1.5
·
101 commits
to master
since this release
- Deprecated
IToBooleanFunctionin favour ofPredicate - Added new method
ConfigFactory.addProfilePropertiesSourceswhich 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-httpconstants 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.0toEHttpVersion(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