View Source Changelog
1-4-4-2018-09-20
1.4.4 - 2018-09-20
- Feature: Enhancements to Connection macros to support extensibility of edge types. See PR #109 (Thanks, @coderdan!)
1-4-3-2018-05-09
1.4.3 - 2018-05-09
- Docs: Better links in generated documentation, updated links to specifications. (Thanks, @Gazler, @jackmarchant!)
- Feature: Update
Absinthe.Relay.Connection
handling of pagination information to match the latest spec. See PR #114 for more information. (Thanks, @ndreynolds!) - Bugfix: Better handling of errors relating to bad cursors given as arguments to
Absinthe.Relay.Connection
. See PR #110 for more information. (Thanks, @bernardd!) - Feature: Support overriding the global ID translators used for
Absinthe.Relay.Node
. See PR #93 for more details. (Thanks, @avitex!)
1-4-2-2017-12-04
1.4.2 - 2017-12-04
- Feature: Support overriding the resolver for
Absinthe.Relay.Connection
edge node fields. See PR #99 for more details.
1-4-1-2017-11-22
1.4.1 - 2017-11-22
- Bug Fix: Fix issue with
:modern
flavor + ParseIDs middleware. See PR #96 for more information.
1-4-0-2017-11-13
1.4.0 - 2017-11-13
- Feature: Support
null
values inParseIDs
middleware (passed through asnil
args) - Bug Fix: Support
null
values forbefore
andafter
pagination arguments (expected by Relay Modern)
1-3-6-2017-09-13
1.3.6 - 2017-09-13
- Type Spec Fix: Relax type constraints around
Connection.from_query
1-3-5-2017-08-26
1.3.5 - 2017-08-26
- Bug Fix: (Connection) Fix original issue with
from_query
wherehas_next_page
wasn't correctly reported in some instances. We now requestlimit + 1
records to determine if there's a next page (vs using a second count query), use the overage to determine if there are more records, and returnlimit
records. See PR #79.
1-3-4-2017-08-22
1.3.4 - 2017-08-22
- Enhancement: (Node) Better logging support when global ID generation fails due to a missing local ID in the source value. See PR #77.
- Bug Fix: (Connection) Fix issue where
has_next_page
is reported astrue
incorrectly; when the number of records and limit are the same. See PR #76.
1-3-3-2017-08-20
1.3.3 - 2017-08-20
- Bug Fix (Node): Fix regression with the
Absinthe.Relay.Node.ParseIDs
middleware when used in conjunction with theAbsinthe.Relay.Mutation
middleware. See PR #73. for details.
1-3-2-2017-08-18
1.3.2 - 2017-08-18
- Enhancement (Node):
Absinthe.Relay.Node.ParseIDs
can now decode lists of IDs. See the module docs, PR #69 for details. - Bug Fix (Connection): Make
Absinthe.Connection.from_slice/2
more forgiving if anil
value is passed in as theoffset
. See PR #70 for details.
1-3-1-2017-06-15
1.3.1 - 2017-06-15
- Enhancement (Node):
Absinthe.Relay.Node.ParseIDs
can now decode nested values! See the module docs for details. - Enhancement (Node): Improved error message when node ids cannot be parsed at all.
1-3-0-2017-04-25
1.3.0 - 2017-04-25
Breaking Change (Connection): The functions in the
Connection
module that produce connections now return{:ok, connection}
or{:error, reason}
as they do internal error handling of connection related argumentsEnhancement (Node): Added
Absinthe.Relay.Node.ParseIDs
middleware. Use it instead ofAbsinthe.Relay.Helpers.parsing_node_ids/2
, which will be removed in a future release.Enhancement (Node): Allow multiple possible node types when parsing node IDs. (Thanks, @avitex.)
Bug Fix (Node): Handle errors when parsing multiple arguments for node IDs more gracefully. (Thanks to @avitex and @dpehrson.)