-
-
Notifications
You must be signed in to change notification settings - Fork 159
Releases: json-api-dotnet/JsonApiDotNetCore
Releases · json-api-dotnet/JsonApiDotNetCore
v3.0.0-beta7
@jaredcnance
jaredcnance
2221d57
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
v3.0.0-beta7
Pre-release
Pre-release
#359 via #416 Nested Sort. Thanks @milosloub!
Breaking Changes
-
SortQuery
SortQuery(SortDirection, AttrAttribute)
toSortQuery(SortDirection, string)
SortedAttribute
toAttribute
-
IQueryableExtension
Sort<T>(IQueryable<TSource>, List<SortQuery>)
to
Sort<T>(IQueryable<TSource>, IJsonApiContext, List<SortQuery>)
Sort<T>(IQueryable<TSource>, SortQuery)
to
Sort<T>(IQueryable<TSource>, IJsonApiContext, SortQuery)
Sort<T>(IOrderedQueryable<TSource>, SortQuery)
to
Sort<T>(IOrderedQueryable<TSource>, IJsonApiContext, SortQuery)
Assets 2
v3.0.0-beta6
@jaredcnance
jaredcnance
8570b21
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
v3.0.0-beta6
Pre-release
Pre-release
Assets 2
v3.0.0-beta5
@jaredcnance
jaredcnance
7efb3c5
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
v3.0.0-beta5
Pre-release
Pre-release
Non-Breaking Changes
[Attr] // → "compound-name" public string CompoundName { get; set; } builder.AddResource<TestResource>(); // → "test-resources"
services.AddResourceService<FooService>();
public class FooResource : ResourceDefinition<Foo> { protected override QueryFilters GetQueryFilters() => new QueryFilters { { "key1", (query, value) => query.Where(x => x == value) }, { "key2", (query, value) => query.Where(x => x != value) }, }; public override PropertySortOrder<Foo> GetDefaultSortOrder() => new PropertySortOrder { (foo => foo.Bar, SortDirection.Ascending), (foo => foo.Baz, SortDirection.Descending), } }
public class Article : Identifiable { [NotMapped] // ← tells EF to ignore this property [HasManyThrough(nameof(ArticleTags))] // ← tells JADNC to use this as an alias to ArticleTags.Tags public List<Tag> Tags { get; set; } // this is the EF join relationship public List<ArticleTag> ArticleTags { get; set; } }
Breaking Changes
Assets 2
v3.0.0-beta4
@jaredcnance
jaredcnance
468b761
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
v3.0.0-beta4
Pre-release
Pre-release
#382 via #395: Identifiable causes exceptions in Post
#39 via #378: Deeply Nested Inclusions. Thanks @NullVoxPopuli for all the help landing this!
Assets 2
v3.0.0-beta3
@jaredcnance
jaredcnance
c1bf919
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
v3.0.0-beta3
Pre-release
Pre-release
#388 Exact Error Codes for Error Collections thanks @rtablada !
#387 Additional filter operations: isnull and isnotnull thanks @NullVoxPopuli !
Usage
This change introduces two new filter operators isnull
and isnotnull
. Like all other operators, it is appended by a colon (:
), however, any value provided after the colon is ignored.
GET /api/v1/todo-items?filter[updated-date]=isnull: HTTP/1.1 Accept: application/vnd.api+json
Assets 2
v2.5.2
#388: Exact Error Codes for Error Collections, back-ported by release/2.5.2. Thanks @rtablada !
Assets 2
v3.0.0-beta2
@jaredcnance
jaredcnance
5ea9a17
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
v3.0.0-beta2
Pre-release
Pre-release
#377: Fix TypeLocator
bug that results in app crashing at startup
Assets 2
v3.0.0-beta1
@jaredcnance
jaredcnance
d5ee796
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
v3.0.0-beta1
Pre-release
Pre-release
Assets 2
v2.5.1
@jaredcnance
jaredcnance
a9c7ff9
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
v2.5.0
@jaredcnance
jaredcnance
262d341
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.