Repository navigation
2.0.0
Breaking changes
FilterParamis renamed toFilterParamsfor the sake of consistencyHalFormsResource::contentis not optional anymore to reduce need of optional chaining in calling chain. This leads to a behavior change:HalResponse::hal()does not return a resource without content on 204 response code. This was silly anyway since we return a response and caller can validate such condition before callinghal()or use filters to return a document.
New features
- Templates
invokemessage can now take an object as first argument, it will be serialized to JSON if target expectsapplication/json(otherwise you'll get into troubles)
Bug Fixes
- Templates consuming
multipart/form-dataare now handled properly (no content type forcing anymore which was causing invalid requests)
Full Changelog: v1.2.0...v2.0.0