Skip to content

Releases: flat3/lodata

v2.1.0

08 Aug 17:11
Compare
Choose a tag to compare

Support dynamic properties
Support nested complex values
Support enabling/disabling JSON streaming as requested by the client
Support setting a default for JSON streaming globally in the lodata.php config
Support navigating nested properties in the URL
Made it optional to set the entity type at the time an entity set is constructed
Allowed setting a matching Entity class of a subclassed EntitySet
Updated to emit metadata and streaming parameters in the Accept header, but still allowing odata.metadata and odata.streaming from the client
Fixed issue in SQLEntitySet where de-selecting properties with $select could cause property expansion to fail
Fixed issue where entity references incorrectly included read links when using full metadata
Fixed issue where singletons did not include their read link when using full metadata
Fixed cases of the @context property being incorrect for some responses

v2.0.2

01 Aug 10:56
Compare
Choose a tag to compare

Fixed issue affecting parsing expressions containing functions with zero parameters such as now().

v2.0.1

25 Jul 17:09
Compare
Choose a tag to compare

Released new documentation site
Fixed issue where a key might be attempted to be set on an entity attached to a keyless type
Allowed generated properties to return PHP types from the invoke() method
Support a void return type from Operations, cast to Edm.String
Fixed an issue with the Eloquent entity set where using $skip without $top would cause the $skip to be ignored
Fixed an issue with Lambda functions generating invalid SQL
Fixed an issue where the search parser would incorrect capture a valid unquoted string such as 'andrew' as an 'and' operator
Fixed an issue where the CSDL and OpenAPI schemas were not presenting generated properties alongside declared properties
Added support for the $value path segment to operate on passed primitives (eg output from Functions) as well as property values

v2.0.0

17 Jul 10:01
Compare
Choose a tag to compare

Major release as support for Laravel 6 & 7 is dropped. There are no backwards-incompatible API changes in this version.

Added support for creating an entity set from any Enumerable (Collection and LazyCollection)
Added support for INF, -INF and NaN in expressions
Added support for fractionalseconds, maxdatetime, mindatetime, totaloffsetminutes and totalseconds functions
Added support for negative durationsFixed issue affecting empty path segments

Fixed issue where the SQL entity set assumed an INSERT would return an integer as the row ID
Fixed issue where integers provided in expressions would be interpreted as floats
Fixed issue where the year function used the wrong symbol, causing confusion with time
Fixed issue where providing an argument to the $filter path segment was not enforced

v1.11.0

04 Jul 11:03
Compare
Choose a tag to compare

Support addressing all entities in a service

v1.10.0

03 Jul 15:43
Compare
Choose a tag to compare

Lambda operators any and all
Support PHP basic types as operation argument types

v1.9.2

23 Jun 20:41
Compare
Choose a tag to compare

Use Carbon instead of DateTime objects for date handling

v1.9.1

13 Jun 14:47
Compare
Choose a tag to compare

Support manipulating the Eloquent builder (eg to add scopes) in subclasses of EloquentEntitySet

v1.9.0

13 Jun 10:45
Compare
Choose a tag to compare

Support returning PHP primitive types from Operations.

v1.8.1

09 May 16:39
Compare
Choose a tag to compare

Correctly annotate computed properties (such as SQL auto-increment columns)
Update OpenAPI schemas with different schema objects for read/create/update calls, correctly excluding Computed and Immutable properties where necessary
Update the count property definition in OpenAPI schema to be a non-negative integer