Skip to content

Commit

Permalink
Release 1.6.13
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Sep 29, 2022
1 parent 7f07759 commit 6234b57
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Expand Up @@ -4,8 +4,13 @@ See the [upgrade guide](https://gist.github.com/chrismccord/2ab350f154235ad4a4d0

Phoenix v1.6 requires Elixir v1.9+.

## 1.6.13 (2022-09-29)

### Enhancements
* [phx.gen.release] Fetch compatible docker image from API when passing `--docker` flag

## 1.6.12 (2022-09-06)
* Fix `phx.gen.release` Dockerfile pointing to expired image
* Fix `phx.gen.release` Dockerfile pointing to expired image

## 1.6.11 (2022-07-11)

Expand Down
4 changes: 2 additions & 2 deletions assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/package.json
@@ -1,6 +1,6 @@
{
"name": "phoenix",
"version": "1.6.12",
"version": "1.6.13",
"description": "The official JavaScript client for the Phoenix web framework.",
"license": "MIT",
"main": "./assets/js/phoenix/index.js",
Expand Down
2 changes: 1 addition & 1 deletion installer/mix.exs
Expand Up @@ -6,7 +6,7 @@ end
defmodule Phx.New.MixProject do
use Mix.Project

@version "1.6.12"
@version "1.6.13"
@scm_url "https://github.com/phoenixframework/phoenix"

# If the elixir requirement is updated, we need to update:
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Expand Up @@ -8,7 +8,7 @@ defmodule Phoenix.MixProject do
end
end

@version "1.6.12"
@version "1.6.13"
@scm_url "https://github.com/phoenixframework/phoenix"

# If the elixir requirement is updated, we need to make the installer
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "phoenix",
"version": "1.6.12",
"version": "1.6.13",
"description": "The official JavaScript client for the Phoenix web framework.",
"license": "MIT",
"module": "./priv/static/phoenix.mjs",
Expand Down
4 changes: 2 additions & 2 deletions test/phoenix/logger_test.exs
Expand Up @@ -97,14 +97,14 @@ defmodule Phoenix.LoggerTest do

assert ExUnit.CaptureLog.capture_log(fn ->
Plug.Telemetry.call(conn(:get, "/any"), opts)
end) =~ "[info] GET /any"
end) =~ "[info] GET /any"
end

test "invokes log level from Plug.Telemetry" do
assert ExUnit.CaptureLog.capture_log(fn ->
opts = Plug.Telemetry.init(event_prefix: [:phoenix, :endpoint])
Plug.Telemetry.call(conn(:get, "/"), opts)
end) =~ "[info] GET /"
end) =~ "[info] GET /"

assert ExUnit.CaptureLog.capture_log(fn ->
opts = Plug.Telemetry.init(event_prefix: [:phoenix, :endpoint], log: false)
Expand Down
4 changes: 2 additions & 2 deletions test/phoenix/router/routing_test.exs
Expand Up @@ -257,7 +257,7 @@ defmodule Phoenix.Router.RoutingTest do

test "logs plug with pipeline and custom level" do
assert capture_log(fn -> call(Router, :get, "/plug") end) =~ """
[info] Processing with Phoenix.Router.RoutingTest.SomePlug
[info] Processing with Phoenix.Router.RoutingTest.SomePlug
Parameters: %{}
Pipelines: [:noop]
"""
Expand All @@ -275,7 +275,7 @@ defmodule Phoenix.Router.RoutingTest do

test "logs custom level when log is set to a 1-arity function" do
assert capture_log(fn -> call(Router, :get, "/fun_log", level: "info") end) =~
"[info] Processing with Phoenix.Router.RoutingTest.SomePlug"
"[info] Processing with Phoenix.Router.RoutingTest.SomePlug"

assert capture_log(fn -> call(Router, :get, "/fun_log", level: "error") end) =~
"[error] Processing with Phoenix.Router.RoutingTest.SomePlug"
Expand Down

0 comments on commit 6234b57

Please sign in to comment.