From 5d83459c539f7f4172e9a76355e7a86b70bc537b Mon Sep 17 00:00:00 2001 From: Chris McCord Date: Fri, 28 Jul 2017 14:48:45 -0400 Subject: [PATCH] Release 1.3.0 --- CHANGELOG.md | 28 ++++++++++------------------ README.md | 1 + installer/lib/phx_new/generator.ex | 2 +- installer/mix.exs | 2 +- mix.exs | 2 +- package.json | 2 +- 6 files changed, 15 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9848dec38..73d0d83eb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,6 @@ # Changelog -## 1.3.0-rc.3 (2017-07-24) - -* Enhancements - * [ChannelTest] Subscribe `connect` to `UserSocket.id` to support testing forceful disconnects - * [Socket] Support static `:assigns` when defining channel routes - * [Channel] Add V2 of wire channel wire protocol with resolved race conditions and compacted payloads - * [phx.new] Use new `lib/my_app` and `lib/my_app_web` directory structure - * [phx.new] Use new `MyAppWeb` alias convention for web modules - * [phx.gen.context] No longer prefix Ecto table name by context name - -* JavaScript client enhancements - * Use V2 channel wire protocol support - -* JavaScript client bug fixes - * Resolve race conditions when join timeouts occur on client, while server channel successfully joins - - -## 1.3.0-rc.2 (2017-05-15) +## 1.3.0 (2017-07-28) See these [`1.2.x` to `1.3.x` upgrade instructions](https://gist.github.com/chrismccord/71ab10d433c98b714b75c886eff17357) to bring your existing apps up to speed. @@ -30,11 +13,16 @@ See these [`1.2.x` to `1.3.x` upgrade instructions](https://gist.github.com/chri * [Channel] Add ability to configure channel event logging with `:log_join` and `:log_handle_in` options * [Channel] Warn on unhandled `handle_info/2` messages * [Channel] Channels now distinguish from graceful exits and application restarts, allowing clients to enter error mode and reconnected after cold deploys. + * [Channel] Add V2 of wire channel wire protocol with resolved race conditions and compacted payloads + * [ChannelTest] Subscribe `connect` to `UserSocket.id` to support testing forceful disconnects + * [Socket] Support static `:assigns` when defining channel routes * [Router] Document `match` support for matching on any HTTP method with the special `:*` argument * [Router] Populate `conn.path_params` with path parameters for the route * [ConnTest] Add `redirected_params/1` to return the named params matched in the router for the redirected URL * [Digester] Add `mix phx.digest.clean` to remove old versions of compiled assets * [phx.new] Add Erlang 20 support in `phx.new` installer archive + * [phx.new] Use new `lib/my_app` and `lib/my_app_web` directory structure + * [phx.new] Use new `MyAppWeb` alias convention for web modules * Bug Fixes * [Controller] Harden local redirect against arbitrary URL redirection @@ -44,10 +32,14 @@ See these [`1.2.x` to `1.3.x` upgrade instructions](https://gist.github.com/chri * [Generator] All `phoenix.*` mix tasks have been deprecated in favor of new `phx.*` tasks * JavaScript client enhancements + * Use V2 channel wire protocol support * Add ability to pass `encode` and `decode` functions to socket constructor for custom encoding and decoding of outgoing and incoming messages. * Detect heartbeat timeouts on client to handle ungraceful connection loss for faster socket error detection * Add support for AMD/RequireJS +* JavaScript client bug fixes + * Resolve race conditions when join timeouts occur on client, while server channel successfully joins + ## 1.2.2 (2017-3-14) * Big Fixes diff --git a/README.md b/README.md index 26632a2bbb..848463636d 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ $ MIX_ENV=docs mix docs * [Issue tracker][4] * [phoenix-talk Mailing list (questions)][5] * [phoenix-core Mailing list (development)][6] +* Visit Phoenix's sponsor, DockYard, for expert [phoenix consulting](https://dockyard.com/phoenix-consulting) * Privately disclose security vulnerabilities to phoenix-security@googlegroups.com [1]: https://webchat.freenode.net/?channels=#elixir-lang diff --git a/installer/lib/phx_new/generator.ex b/installer/lib/phx_new/generator.ex index 46b2632199..aae8289e57 100644 --- a/installer/lib/phx_new/generator.ex +++ b/installer/lib/phx_new/generator.ex @@ -243,7 +243,7 @@ defmodule Phx.New.Generator do defp phoenix_html_brunch_path(%Project{in_umbrella?: false}), do: "../deps/phoenix_html" - defp phoenix_dep("deps/phoenix"), do: ~s[{:phoenix, "~> 1.3.0-rc"}] + defp phoenix_dep("deps/phoenix"), do: ~s[{:phoenix, "~> 1.3.0"}] # defp phoenix_dep("deps/phoenix"), do: ~s[{:phoenix, github: "phoenixframework/phoenix", override: true}] defp phoenix_dep(path), do: ~s[{:phoenix, path: #{inspect path}, override: true}] diff --git a/installer/mix.exs b/installer/mix.exs index a18f137d5d..6993944e42 100644 --- a/installer/mix.exs +++ b/installer/mix.exs @@ -5,7 +5,7 @@ defmodule Phx.New.Mixfile do [ app: :phx_new, start_permanent: Mix.env == :prod, - version: "1.3.0-rc.3", + version: "1.3.0", elixir: "~> 1.3 or ~> 1.4" ] end diff --git a/mix.exs b/mix.exs index f5f1d9c85a..2c5687e8d3 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Phoenix.Mixfile do use Mix.Project - @version "1.3.0-rc.3" + @version "1.3.0" # TODO v1.4: Update to elixir 1.4 + new application inference diff --git a/package.json b/package.json index a6a377d63e..102a1bca5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phoenix", - "version": "1.3.0-rc.3", + "version": "1.3.0", "description": "The official JavaScript client for the Phoenix web framework.", "license": "MIT", "main": "./priv/static/phoenix.js",