Releases: MicroLite-ORM/MicroLite.Extensions.WebApi
MicroLite.Extensions.WebApi 6.3.1
MicroLite.Extensions.WebApi 6.3.1 which fixes 1 issue:
- #43 - FilterBinder should always use the Value of a ConstantNode, never the LiteralText when building an SqlQuery
Built against:
- MicroLite 6.1.0
- Net.Http.WebApi.OData 3.2.0
- ASP.NET WebApi 4.0.20710 (.NET 4.0 build)
- ASP.NET WebApi 5 (.NET 4.5 build)
MicroLite.Extensions.WebApi 6.3.0
MicroLite.Extensions.WebApi 6.3.0 which fixes 1 issue:
- #42 - Setting $inlinecount=allpages doesn't return a count in the response
Built against:
- MicroLite 6.1.0
- Net.Http.WebApi.OData 3.2.0
- ASP.NET WebApi 4.0.20710 (.NET 4.0 build)
- ASP.NET WebApi 5 (.NET 4.5 build)
MicroLite.Extensions.WebApi 6.2.0
MicroLite.Extensions.WebApi 6.2.0
Using the updated Net.Http.WebApi.OData library (3.1.0) which results in the following enhancements:
- decimal/double and single don't require a decimal places - e.g.
5M
and5.0M
are supported - It is now possible to compare a property to another property - e.g
FirstName eq LastName
- Method arguments don't require a space after the separating comma - e.g.
endswith(CompanyName,'Futterkiste')
andendswith(CompanyName, 'Futterkiste')
are now supported - Methods which return a boolean value don't require
eq true
after them - e.g.startswith(CompanyName,’Alfr’)
can be used as well asstartswith(CompanyName,’Alfr’) eq true
(supported forendswith
,startswith
, andsubstringof
) - Grouping - e.g.
Firstname eq 'John' and (Surname eq 'Smith' or Surname eq 'Smythe')
- The
not
operator - e.g.not endswith(Name, 'ilk')
In addition we have added support for more of the OData functions:
- Round
- Floor
- Ceiling
- Trim
See the 6.2.0 Milestone for a list of issues closed in this release.
Built against:
- MicroLite 6.1.0
- Net.Http.WebApi.OData 3.1.0
- ASP.NET WebApi 4.0.20710 (.NET 4.0 build)
- ASP.NET WebApi 5 (.NET 4.5 build)
MicroLite.Extensions.WebApi 6.1.0
Built against:
- MicroLite 6.1.0
- ASP.NET WebApi 4.0.20710 (.NET 4.0 build)
- ASP.NET WebApi 5 (.NET 4.5 build)
MicroLite.Extensions.WebApi 6.0.0
Built against:
- MicroLite 6.0.0
- ASP.NET WebApi 4.0.20710 (.NET 4.0 build)
- ASP.NET WebApi 5 (.NET 4.5 build)
If you use the .NET 4.5/WebApi 5 version of the extension, you will need to make some changes as the extension now uses the new IAsyncSession
:
Change
public HttpResponseMessage Get(int id)
to
public Task<HttpResponseMessage> Get(int id)
Version updated to 6.0.0 to align with MicroLite.
MicroLite.Extensions.WebApi 4.3.0
Updated how the different versions are built.
- The .NET 4.0 build in the package supports ASP.NET WebApi 4.0.20710 - 4.0.30506
- The .NET 4.5 build in the package targets ASP.NET WebApi 5.0+
This should help make the upgrade from targeting .NET 4.0 to .NET 4.5 easier in a project which uses MicroLite.Extensions.WebApi
MicroLite.Extensions.WebApi 4.2.3
Built against WebApi 4.0.30506, Net.Http 2.2.22 and Net.Http.WebApi.OData 2.1.2
MicroLite.Extensions 4.2.2
The nuspec wasn't updated to depend on Net.Http.WebApi.OData 2.1.1 when we built 4.2.1 so the 4.5 build would still contain an error.
MicroLite.Extensions.WebApi 4.2.1
Created separate projects for .NET 4.0 and .NET 4.5 - prior to this release, the 4.5 version of the package resulted in errors upon install.