Releases: flat3/lodata
Releases · flat3/lodata
v5.18.0
This release fixes two issues identified in #285 and #287, Props @marciotheis.
- XML metadata failed to generate when a database column default value was an integer.
- The SQL Server PDO code modified the connection encoding, causing problems with UTF-8 handling.
v5.17.1
v5.17.0
v5.16.0
This is a bug fix release.
Fixes:
- Discovery failed when a column name included a dot (namespaced). Fixes #270, Props @deepcube-srl.
- Discovery failed when a column had a default value that was an SQL keyword such as
CURRENT_TIMESTAMP
. Fixes #271, Props @jmanring and @otmaneelhaddaji
v5.15.0
v5.14.0
This release contains various features and bug fixes. Props @Angelinsky7 for several detailed bug reports.
Features:
- Correctly supports
BelongsTo
Eloquent relationships, adding the referential constraint to the metadata. Fixes #259. - Modified properties of the expression parser to enable it to be extended.
Fixes:
- The correct
Transaction
object was not being attached to$expand
requests, causing the wrong query options to be used. Fixes #261 #256 #255. - The
@context
was not always being correctly created in$expand
requests. Fixes #261. - The
@count
was not correct in$expand
requests when using theEloquentEntitySet
. Fixes #254. - Lambda operators did not use the correct precedence, causing complex expressions to fail.
v5.13.0
v5.12.0
Changes in this release:
- The EloquentEntitySet now calls setAttribute/getAttribute on the Eloquent model instead of using the array syntax. This makes it easier to modify the behaviour of the model by overriding its methods.
- Conversion of a model attribute to a property is now delegated to the attribute, making it possible to create custom attributes used in discovery.
- Arrayables such as
Collection
objects can now be provided as the value of a collection property.
v5.11.0
This release contains various features and bug fixes.
Features:
- The
Annotation
class is now not abstract, allowing custom annotations to be easily placed on the model on any item that supports them. - Added support for the
MaxLength
,Precision
andScale
type facets in both CSDL and OpenAPI schemas. - Added separation of
EntityContainer
objects within the model, so that now you can have a resource such as anEntitySet
and anEntityType
with the same name.
Fixes:
- Fixed an issue with resolving non-flag
Enum
types in database backends. - Improved an error message thrown when the underlying type of a
LodataCollection
attribute could not be resolved.
v5.10.0
This release brings configuration attributes for Eloquent models, enabling fine-tuning of the discovered model.
Fixes:
- Various bugs fixed in the query lexer
- Bugs fixed in the Enum primitive type when using flags