Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Releases: MicroLite-ORM/MicroLite.Extensions.WebApi

MicroLite.Extensions.WebApi 6.3.1

29 Apr 20:25
Compare
Choose a tag to compare

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)

view code changes

MicroLite.Extensions.WebApi 6.3.0

23 Apr 20:09
Compare
Choose a tag to compare

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)

view code changes

MicroLite.Extensions.WebApi 6.2.0

24 Jan 12:07
Compare
Choose a tag to compare

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 and 5.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') and endswith(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 as startswith(CompanyName,’Alfr’) eq true (supported for endswith, startswith, and substringof)
  • 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)

view code changes

MicroLite.Extensions.WebApi 6.1.0

01 Jan 19:10
Compare
Choose a tag to compare

Built against:

  • MicroLite 6.1.0
  • ASP.NET WebApi 4.0.20710 (.NET 4.0 build)
  • ASP.NET WebApi 5 (.NET 4.5 build)

view code changes

MicroLite.Extensions.WebApi 6.0.0

12 Dec 17:50
Compare
Choose a tag to compare

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.

view code changes

MicroLite.Extensions.WebApi 4.3.0

29 Jul 19:38
Compare
Choose a tag to compare

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

view code changes

MicroLite.Extensions.WebApi 4.2.3

17 Jul 07:28
Compare
Choose a tag to compare

Built against WebApi 4.0.30506, Net.Http 2.2.22 and Net.Http.WebApi.OData 2.1.2

view code changes

MicroLite.Extensions 4.2.2

12 Jul 17:09
Compare
Choose a tag to compare

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.

view code changes

MicroLite.Extensions.WebApi 4.2.1

12 Jul 14:40
Compare
Choose a tag to compare

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.

view code changes

MicroLite.Extensions.WebApi 4.2.0

17 May 22:06
Compare
Choose a tag to compare

This release of MicroLite.Extensions.WebApi contains the following enhancements:

  • #32 - Support year in OData Query
  • #33 - Support month in OData Query
  • #34 - Support day in OData Query
  • #35 - Support replace in OData Query
  • #36 - Support substring in OData Query

view code changes