Skip to content

v4.0.0

Compare
Choose a tag to compare
@27pchrisl 27pchrisl released this 19 Dec 15:43
· 8 commits to 4.x since this release

New major release! πŸŽ‰

This release brings a complete redesign of how operations are defined, simplifying the implementation requirements and bringing new features. Applications using operations will require modification to use this version. A before and after example is available at https://lodata.io/modelling/operations.html#upgrading-from-3-x

Applications that did not use OData operations will be able to upgrade to version 4 with no changes.

API changes:

  • A re-implementation of how operations are exposed through the service.
  • The getIdentifier method now returns the Identifier object instead of a string. This change can be used to enable changing identifiers if needed.

Feature additions and changes:

  • Confirmed PHP 8.1 support, continues to support PHP 7.3+
  • Lodata performs stricter checks against namespaced entity sets and operations.
  • Added support for the $index positional index query option, if supported by the entity set.
  • Removed the function/action creating commands, which are no longer required.
  • Added PHP attributes to make operations and Eloquent relationships simpler to define.
  • Fixes in the OpenAPI schema for operation bound parameters.
  • Added support for navigating into complex properties through the URL.
  • Added support for mapping a property of an SQL entity set into a different field name in the database.