Releases: Net-Http-OData/Net.Http.WebApi.OData
Net.Http.WebApi.OData 5.1.0
Net.Http.WebApi.OData 5.1.0
Contains the following fixes:
- #155 - Set the ODataException.Target to an appropriate value
Net.Http.WebApi.OData 5.0.1
Net.Http.WebApi.OData 5.0.1
Contains the following fixes:
- #51 - Error response must include Content-Language header
Net.Http.WebApi.OData 5.0.0
Library changes from Net.Http.WebApi.OData 4.2.1 to 5.0.0
All classes within Net.Http.WebApi.OData not specific to ASP.NET WebApi moved to Net.Http.OData (within Net.Http.OData 5.0.0).
Contains the following fixes:
- The $format query option, if present in a request, MUST take precedence over the value(s) specified in the Accept request header.
- #84 Nested property references resolve to the root property
Net.Http.WebApi.OData
+ public class ContentResult
- public static class HttpConfigurationODataExtensions
- public static class HttpRequestMessageExtensions
+ public class ODataController
+ public class ODataErrorContentResult
- public sealed class ODataException
- public static class ODataHeaderNames
- public static class ODataHeaderValues
+ public static class ODataHttpConfigurationExtensions
+ public static class ODataHttpRequestMessageExtensions
- public enum ODataIsolationLevel
- public enum ODataMetadataLevel
+ public static class ODataMetadataLevelExtensions
+ public sealed class ODataRequestDelegatingHandler
- public sealed class ODataRequestOptions
- public sealed class ODataResponseContent
- public sealed class ODataVersionHeaderValidationAttribute
ODataHttpConfigurationExtensions
- public static void UseOData(this HttpConfiguration configuration, Action<EntityDataModelBuilder> entityDataModelBuilderCallback, IEqualityComparer<string> entitySetNameComparer)
+ public static void UseOData(this HttpConfiguration configuration, Action<EntityDataModelBuilder> entityDataModelBuilderCallback, DateTimeStyles dateTimeOffsetParserStyle)
+ public static void UseOData(this HttpConfiguration configuration, Action<EntityDataModelBuilder> entityDataModelBuilderCallback, DateTimeStyles dateTimeOffsetParserStyle, IEqualityComparer<string> entitySetNameComparer)
ODataHttpRequestMessageExtensions
- public static HttpResponseMessage CreateODataErrorResponse(this HttpRequestMessage request, HttpStatusCode statusCode, string message)
- public static HttpResponseMessage CreateODataErrorResponse(this HttpRequestMessage request, HttpStatusCode statusCode, string message, string target)
- public static HttpResponseMessage CreateODataErrorResponse(this HttpRequestMessage request, ODataException exception)
- public static HttpResponseMessage CreateODataResponse(this HttpRequestMessage request, HttpStatusCode statusCode)
- public static HttpResponseMessage CreateODataResponse(this HttpRequestMessage request, HttpStatusCode statusCode, string value)
- public static HttpResponseMessage CreateODataResponse(this HttpRequestMessage request, string value)
- public static HttpResponseMessage CreateODataResponse<T>(this HttpRequestMessage request, HttpStatusCode statusCode, T value)
- public static Uri ResolveODataContextUri(this HttpRequestMessage request)
- public static Uri ResolveODataContextUri(this HttpRequestMessage request, EntitySet entitySet)
- public static Uri ResolveODataContextUri(this HttpRequestMessage request, EntitySet entitySet, SelectExpandQueryOption selectExpandQueryOption)
- public static Uri ResolveODataContextUri<TEntityKey>(this HttpRequestMessage request, EntitySet entitySet, TEntityKey entityKey)
- public static Uri ResolveODataContextUri<TEntityKey>(this HttpRequestMessage request, EntitySet entitySet, TEntityKey entityKey, string propertyName)
- public static Uri ResolveODataEntityUri<TEntityKey>(this HttpRequestMessage request, EntitySet entitySet, TEntityKey entityKey)
+ public static bool IsODataMetadataRequest(this HttpRequestMessage request)
+ public static bool IsODataRequest(this HttpRequestMessage request)
+ public static string ODataContext(this HttpRequestMessage request)
+ public static string ODataContext(this HttpRequestMessage request, EntitySet entitySet)
+ public static string ODataContext(this HttpRequestMessage request, EntitySet entitySet, SelectExpandQueryOption selectQueryOption)
+ public static string ODataContext<TEntityKey>(this HttpRequestMessage request, EntitySet entitySet)
+ public static string ODataContext<TEntityKey>(this HttpRequestMessage request, EntitySet entitySet, TEntityKey entityKey, string propertyName)
+ public static EntitySet ODataEntitySet(this HttpRequestMessage request)
+ public static string ODataId<TEntityKey>(this HttpRequestMessage request, EntitySet entitySet, TEntityKey entityKey)
+ public static string ODataNextLink(this HttpRequestMessage request, ODataQueryOptions queryOptions, int skip, int resultsPerPage)
+ public static ODataRequestOptions ODataRequestOptions(this HttpRequestMessage request)
Metadata
ODataMetadataController
- public sealed class ODataMetadataController : ApiController
+ public sealed class ODataMetadataController : ODataController
- public HttpResponseMessage Get()
+ public IHttpActionResult Get()
ServiceDocumentODataController
- public HttpResponseMessage Get()
+ public IHttpActionResult Get()
Query.Model
All classes within Net.Http.WebApi.OData.Model moved to Net.Http.OData.Model (within Net.Http.OData 5.0.0)
Query
All classes within Net.Http.WebApi.OData.Query moved to Net.Http.OData.Query (within Net.Http.OData 5.0.0)
Net.Http.WebApi.OData 4.2.1
Net.Http.WebApi.OData 4.2.1
Contains the following fixes:
#146 $select=* should not include navigation properties
Net.Http.WebApi.OData 4.2.0
Net.Http.WebApi.OData 4.2.0
Includes the following enhancements:
#139 Ensure support for a collection on a type where the collection contains a base type of the parent object
#140 Ensure support for a sub type as a property on a type
#141 Ensure navigation properties are properly set
#142 Set the nullable flag in the metadata programmatically rather than hard coding false
#144 Add an IsNavigable property to EdmProperty
Contains the following fixes:
#143 Missing filter functions in the metadata document
Net.Http.WebApi.OData 4.1.6
Net.Http.WebApi.OData 4.1.5
Net.Http.WebApi.OData 4.1.5
Net.Http.WebApi.OData 4.1.4
Net.Http.WebApi.OData 4.1.4
Net.Http.WebApi.OData 4.1.3
Net.Http.WebApi.OData 4.1.2
Net.Http.WebApi.OData 4.1.2
#125 Parsing string with \ or / fails
Updated to Microsoft.AspNet.WebApi.Core 5.2.6