- Bug Fix: Preserve
:context
during init
- Feature: Set all plug options via put_options
- Chore: Loosen Absinthe version
- Bug fix: Fix a compilation race condition in plug options check.
- Feature: Allow overriding
Absinthe.Plug.DocumentProvider.Compiled
process function. - Feature: Opt out of the default Transport Batch response nesting with
transport_batch_payload_key: false
. - Feature: Add
Absinthe.Plug.assign_context/2
helper for inserting values into aconn
's Absinthe context. - Ensure all Absinthe.Plug options are overridable via the runtime
put_options
function.
- Basically no changes in Absinthe.Plug, but required for Absinthe 1.5 pre-release support
- Chore: Update Plug. Get rid of plug compilation warnings
- Feature: allow to pass a default query to GraphiQL interface
- Fixes support for newer Phoenix versions.
- Misc bug fixes.
- Breaking Change: when an invalid argument is passed, the return value is now 200 instead of 400
- This change is to be in line with the GraphQL spec
- More info: #195
- Bug Fix: Document providers will properly get context now.
- Improve socket handling with GraphiQL playground
- Reverted some problematic javascript updates added in v1.4.1.
- Feature:
before_send:
option. Run a function that can alter theconn
based on the GraphQL result. - Chore: Update GraphiQL Workspace and Playground.
- Feature: Updated GraphiQL Workspace (
:advanced
interface) to latest version; supports subscriptions. - Bug Fix: Fix breakage when calling a document provider using
DocumentProvider.Compiled
without passing params. (#112)
- Major rework of the Absinthe.Plug internals, although API stays essentially the same.
- Feature: Supports transport level batching!
- Feature: Document Providers: These enable persisted documents, see the DocumentProvider docs
- Fix issue with missing
fetch
version in CDN for GraphiQL:simple
interface.
- Plug dependency updated to address https://elixirforum.com/t/security-releases-for-plug/3913
- Support for
:analyze_complexity
and:max_complexity
options, supporting a new Absinthe v1.2.6 feature. (Thanks, @fishcakez) - Updated GraphiQL "simple" interface to v0.9.3. (Thanks, @jparise)
- Enhancement: Uploaded File support
- Add support for the
:root_value
option. As with:context
,Absinthe.Plug
will pass the value ofconn.private[:absinthe][:root_value]
toAbsinthe
as the:root_value
option.