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

Releases: MicroLite-ORM/MicroLite.Extensions.WebApi.OData

MicroLite.Extensions.WebApi.OData 7.1.0

06 Apr 11:13
097bf3b
Compare
Choose a tag to compare

This release contains the following:

Enhancements

#3 - Implement support for Now function in OData 4.0
#9 - Implement support for Has keyword in OData 4.0
#10 - Implement support for Concat function in OData 4.0

Built against:

  • MicroLite 7.0.0
  • Microsoft.AspNet.WebApi.Core 5.2.7
  • Net.Http.OData 5.0.0
  • Net.Http.WebApi.OData 5.0.0

view code changes

MicroLite.Extensions.WebApi.OData 7.0.0

27 Mar 11:39
6c764e7
Compare
Choose a tag to compare
  • The library is now using the .NET Standard project format, tests are now .NET 4.8 and xUnit 2.4.1
  • Build is migrated to Azure DevOps YAML
  • Code style updated using .editorconfig and enforced via StyleCop
  • C# 7.3 language features (Expression bodied members, Pattern Matching, Throw expressions etc.)
  • Added SecurityCodeScan and SonarAnalyzer.CSharp Roslyn analyzer packages to ensure code quality

Built against:

  • MicroLite 7.0.0
  • Microsoft.AspNet.WebApi.Core 5.2.7
  • Net.Http.OData 5.0.0
  • Net.Http.WebApi.OData 5.0.0

This library no longer has a dependency on MicroLite.Extensions.WebApi, install that separately in your solution if you still need it.

The following API changes exist MicroLite.Extensions.WebApi.OData 6.7.0 to 7.0.0

MicroLite.Extensions.WebApi.OData

- public abstract class MicroLiteODataApiController<TEntity, TEntityKey> : MicroLiteApiController
+ public abstract class MicroLiteODataApiController<TEntity, TEntityKey> : ODataController, IHaveSession

MicroLiteODataApiController<TEntity, TEntityKey>

- protected MicroLiteODataApiController(IAsyncSession session)
+ protected MicroLiteODataApiController(ISession session)
- protected virtual async Task<HttpResponseMessage> DeleteEntityResponseAsync(TEntityKey entityKey)
- protected virtual async Task<HttpResponseMessage> GetCountResponseAsync()
- protected virtual async Task<HttpResponseMessage> GetEntityPropertyResponseAsync(TEntityKey entityKey, string propertyName)
- protected virtual async Task<HttpResponseMessage> GetEntityPropertyValueResponseAsync(TEntityKey entityKey, string propertyName)
- protected virtual async Task<HttpResponseMessage> GetEntityResponseAsync(TEntityKey entityKey)
- protected virtual async Task<HttpResponseMessage> GetEntityResponseAsync(ODataQueryOptions queryOptions)
- protected virtual async Task<HttpResponseMessage> PutEntityResponseAsync(TEntityKey entityKey, TEntity entity)
+ protected virtual async Task<IHttpActionResult> DeleteEntityResponseAsync(TEntityKey entityKey)
+ protected virtual async Task<IHttpActionResult> GetCountResponseAsync()
+protected virtual async Task<IHttpActionResult> GetEntityPropertyResponseAsync(TEntityKey entityKey, string propertyName)
+ protected virtual async Task<IHttpActionResult> GetEntityPropertyValueResponseAsync(TEntityKey entityKey, string propertyName)
+ protected virtual async Task<IHttpActionResult> GetEntityResponseAsync(TEntityKey entityKey)
+ protected virtual Task<IHttpActionResult> GetEntityResponseAsync(ODataQueryOptions queryOptions)
+ protected virtual async Task<IHttpActionResult> PutEntityResponseAsync(TEntityKey entityKey, TEntity entity)

view code changes

MicroLite.Extensions.WebApi.OData 6.7.0

11 Feb 20:31
1339200
Compare
Choose a tag to compare

MicroLite.Extensions.WebApi.OData 6.7.0

Built against:

  • MicroLite 6.3.1
  • MicroLite.Extensions.WebApi 6.7.0
  • ASP.NET WebApi 5.2.7
  • Net.Http.WebApi.OData 4.2.1

view code changes

MicroLite.Extensions.WebApi.OData 6.6.5

24 Dec 11:58
Compare
Choose a tag to compare

MicroLite.Extensions.WebApi.OData 6.6.4

Built against:

  • MicroLite 6.3.0
  • ASP.NET WebApi 5.2.7
  • Net.Http.WebApi.OData 4.2.0

view code changes

MicroLite.Extensions.WebApi.OData 6.6.4

26 Nov 12:06
Compare
Choose a tag to compare

MicroLite.Extensions.WebApi.OData 6.6.4 which fixes 1 issue:

#4 - Use 501 NOT IMPLEMENTED if a feature is not implemented by the service

Built against:

  • MicroLite 6.3.0
  • ASP.NET WebApi 5.2.7
  • Net.Http.WebApi.OData 4.1.5

view code changes

MicroLite.Extensions.WebApi.OData 6.6.2

24 Mar 16:51
Compare
Choose a tag to compare

MicroLite.Extensions.WebApi.OData 6.6.2 which fixes 1 issue:

  • #6 - OData Context is incorrect if $select query option specified

Built against:

  • MicroLite 6.3.0
  • ASP.NET WebApi 5.2.4
  • Net.Http.WebApi.OData 4.1.0

view code changes

MicroLite.Extensions.WebApi.OData 6.6.1

16 Jan 14:20
Compare
Choose a tag to compare

MicroLite.Extensions.WebApi.OData 6.6.1 which fixes 1 issue:

  • #5 - Return 404 NOT FOUND if property correct but no results

Built against:

  • MicroLite 6.3.0
  • ASP.NET WebApi 5.2.3
  • Net.Http.WebApi.OData 4.0.0

view code changes

MicroLite.Extensions.WebApi.OData 6.6.0

28 Dec 13:30
Compare
Choose a tag to compare

Built against:

  • MicroLite 6.3.0
  • ASP.NET WebApi 5.2.3
  • Net.Http.WebApi.OData 4.0.0

Changes

  • Moved OData support into a new repository and package
  • Updated to OData 4.0