Skip to content

Commit

Permalink
Release 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Jul 28, 2017
1 parent a571452 commit 5d83459
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 22 deletions.
28 changes: 10 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]

[1]: https://webchat.freenode.net/?channels=#elixir-lang
Expand Down
2 changes: 1 addition & 1 deletion installer/lib/phx_new/generator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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}]

Expand Down
2 changes: 1 addition & 1 deletion installer/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 5d83459

Please sign in to comment.