changed
CHANGELOG.md
|
@@ -1,5 +1,11 @@
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+ ## v1.15.0 (2023-10-06)
|
4
|
+
|
5
|
+ ### Enhancements
|
6
|
+
|
7
|
+ * Relax requirement on `plug_crypto`
|
8
|
+
|
3
9
|
## v1.15.0 (2023-10-01)
|
4
10
|
|
5
11
|
### Enhancements
|
changed
hex_metadata.config
|
@@ -1,6 +1,6 @@
|
1
1
|
{<<"links">>,[{<<"GitHub">>,<<"https://github.com/elixir-plug/plug">>}]}.
|
2
2
|
{<<"name">>,<<"plug">>}.
|
3
|
- {<<"version">>,<<"1.15.0">>}.
|
3
|
+ {<<"version">>,<<"1.15.1">>}.
|
4
4
|
{<<"description">>,<<"Compose web applications with functions">>}.
|
5
5
|
{<<"elixir">>,<<"~> 1.10">>}.
|
6
6
|
{<<"app">>,<<"plug">>}.
|
|
@@ -41,7 +41,7 @@
|
41
41
|
[{<<"name">>,<<"plug_crypto">>},
|
42
42
|
{<<"app">>,<<"plug_crypto">>},
|
43
43
|
{<<"optional">>,false},
|
44
|
- {<<"requirement">>,<<"~> 1.1.1 or ~> 1.2">>},
|
44
|
+ {<<"requirement">>,<<"~> 1.1.1 or ~> 1.2 or ~> 2.0">>},
|
45
45
|
{<<"repository">>,<<"hexpm">>}],
|
46
46
|
[{<<"name">>,<<"telemetry">>},
|
47
47
|
{<<"app">>,<<"telemetry">>},
|
changed
lib/plug/conn/query.ex
|
@@ -80,7 +80,7 @@ defmodule Plug.Conn.Query do
|
80
80
|
`invalid_exception` is the exception module for the exception to raise on
|
81
81
|
errors with decoding.
|
82
82
|
"""
|
83
|
- @spec decode(String.t(), map(), module(), boolean()) :: %{optional(String.t()) => term()}
|
83
|
+ @spec decode(String.t(), keyword(), module(), boolean()) :: %{optional(String.t()) => term()}
|
84
84
|
def decode(
|
85
85
|
query,
|
86
86
|
initial \\ [],
|
changed
mix.exs
|
@@ -1,7 +1,7 @@
|
1
1
|
defmodule Plug.MixProject do
|
2
2
|
use Mix.Project
|
3
3
|
|
4
|
- @version "1.15.0"
|
4
|
+ @version "1.15.1"
|
5
5
|
@description "Compose web applications with functions"
|
6
6
|
@xref_exclude [Plug.Cowboy, :ssl]
|
7
7
|
|
|
@@ -45,7 +45,7 @@ defmodule Plug.MixProject do
|
45
45
|
def deps do
|
46
46
|
[
|
47
47
|
{:mime, "~> 1.0 or ~> 2.0"},
|
48
|
- {:plug_crypto, "~> 1.1.1 or ~> 1.2"},
|
48
|
+ {:plug_crypto, "~> 1.1.1 or ~> 1.2 or ~> 2.0"},
|
49
49
|
{:telemetry, "~> 0.4.3 or ~> 1.0"},
|
50
50
|
{:ex_doc, "~> 0.21", only: :docs}
|
51
51
|
]
|