Skip to content

v5.0.0

Compare
Choose a tag to compare
@27pchrisl 27pchrisl released this 10 Jan 10:49
· 622 commits to 5.x since this release

New major release! πŸŽ‰

This release brings a complete redesign of how the common expression parser works, simplifying the implementation requirements and bringing support for the $compute system query option.

Applications that did not define custom entity set classes will be able to upgrade to version 5 with no changes.

Feature additions and changes:

  • Now supporting the powerful $compute system query option for both $orderby and $filter across many entity set types (including SQL and Eloquent). See the documentation.
  • Fixed an issue where the $search and $filter options could not be used simultaenously in the SQL and Eloquent entity sets.
  • Fixed an issue where some query parameters did not correctly apply when using key-as-segment reference style.
  • Lodata no longer catches its own ProtocolExceptions in the OData controller, allowing the application to handle them before Laravel converts them to responses.
  • Lodata now correctly attaches the Immutable, Computed, and ComputedDefaultValue annotations and the Nullable attribute on properties, supports allocating default values to declared properties and correctly validates null or missing properties against the schema before passing them to the backend driver. Fixes the issue identified in #157 (Props @ianket)
  • Fixes some incorrect items in the OpenAPI schema