Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: json-api-dotnet/JsonApiDotNetCore

v3.0.0-beta7

18 Oct 04:35
@jaredcnance jaredcnance
2221d57
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
v3.0.0-beta7 Pre-release
Pre-release

#359 via #416 Nested Sort. Thanks @milosloub!

Breaking Changes

  • SortQuery

    • SortQuery(SortDirection, AttrAttribute) to SortQuery(SortDirection, string)
    • SortedAttribute to Attribute
  • 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)
Loading

v3.0.0-beta6

15 Oct 14:59
@jaredcnance jaredcnance
8570b21
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
v3.0.0-beta6 Pre-release
Pre-release
  • #425 via #427: fix DocumentBuilder; includes member missing when fetching HasManyThrough. Thanks @maurei!
  • #317 via #428: rename ContextGraph to ResourceGraph
Loading

v3.0.0-beta5

05 Oct 00:48
@jaredcnance jaredcnance
7efb3c5
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
v3.0.0-beta5 Pre-release
Pre-release

Non-Breaking Changes

[Attr] // → "compound-name"
public string CompoundName { get; set; }
builder.AddResource<TestResource>(); // → "test-resources"
  • API for easy service/repo registration (#384 via #409)
services.AddResourceService<FooService>();
  • ResourceDefinition improvements: Custom filters and default sort (#402 via #409)
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),
 }
}
  • Many-to-Many support via [HasManyThrough] (#151 via #419)
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

  • DocumentData replaced by ResourceObject. Thanks @btecu! (#400 via #403)
Loading

v3.0.0-beta4

04 Sep 04:38
@jaredcnance jaredcnance
468b761
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
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!

Loading

v3.0.0-beta3

04 Sep 03:46
@jaredcnance jaredcnance
c1bf919
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
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
Loading

v2.5.2

30 Aug 04:50
@jaredcnance jaredcnance
Compare
Choose a tag to compare
Loading

#388: Exact Error Codes for Error Collections, back-ported by release/2.5.2. Thanks @rtablada !

Loading

v3.0.0-beta2

13 Aug 03:14
@jaredcnance jaredcnance
5ea9a17
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
v3.0.0-beta2 Pre-release
Pre-release

#377: Fix TypeLocator bug that results in app crashing at startup

Loading

v3.0.0-beta1

12 Aug 05:35
@jaredcnance jaredcnance
d5ee796
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
v3.0.0-beta1 Pre-release
Pre-release

#241 via #376 Auto Resource/Service Discovery

Loading

v2.5.1

11 Aug 04:53
@jaredcnance jaredcnance
a9c7ff9
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

#343 via #373 reload relationships from database if included during POST
#362 via #374 improve error message for null HttpContext
#313 via #375 do not return 409 for generic InvalidCastException

Loading

v2.5.0

08 Aug 20:09
@jaredcnance jaredcnance
262d341
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

Thanks @rtablada !
#367 via #369 Make Error.Source an object instead of string
#370 Add GetPublicAttributeName to Context Graph
#371 Set Error.Source when constructing validation errors

Loading
1 2 3 5 7 10 11

AltStyle によって変換されたページ (->オリジナル) /