Skip to content

Commit

Permalink
Changelog and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryseed committed Mar 26, 2021
1 parent 70919df commit 35550f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.5.6

- Bug Fix: [Handle invalid batch request structure](https://github.com/absinthe-graphql/absinthe_plug/pull/255)

## v1.5.5

- Bug Fix: [Don't wipe out an existing pubsub value in context](https://github.com/absinthe-graphql/absinthe_plug/pull/249)
Expand Down
1 change: 1 addition & 0 deletions lib/absinthe/plug/request.ex
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ defmodule Absinthe.Plug.Request do
# Plug puts parsed params under the "_json" key when the
# structure is not a map; otherwise it's just the keys themselves,
# and they may sit in the body or in the params

defp is_batch?(params) do
Map.has_key?(params, "_json") && is_list(params["_json"])
end
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Absinthe.Plug.Mixfile do
use Mix.Project

@version "1.5.5"
@version "1.5.6"

def project do
[
Expand Down

0 comments on commit 35550f7

Please sign in to comment.