Skip to content

Commit

Permalink
v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mobileoverlord committed Jan 24, 2019
1 parent 55da7fc commit ed2970f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# PhoenixClient

## v0.5.0

**Important**
This version has been renamed and refactored. You will need to migrate existing
`phoenix_channel_client` projects before first use. Please see the readme for
how to implement this new pattern.

* Bug fixes
* The Socket will monitor linked channels for down messages and remove them
from the channel links.

* Enhancements
* Removed the requirement to define `Socket` and `Channel` modules that implement
their respective behaviours. Sockets are now started by calling
`PhoenixClient.Socket.start_link` directly.
Channels are started by calling `PhoenixClient.Channel`.
* Calls to `PhoenixClient.Channel.push` happen synchronously. This helps to
reduce callback spaghetti code by making the reply available at the call site.
If you do not require a response from the server, you can use `push_async`.
* Non-reply messages that are pushed from the server will be sent to the pid
of the process that called join. They will be delivered as `%PhoenixClient.Message{}`.
See the main readme for an example of this.

## v0.4.0

* Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule PhoenixClient.Mixfile do
def project do
[
app: :phoenix_client,
version: "0.5.0-dev",
version: "0.5.0",
elixir: "~> 1.6",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit ed2970f

Please sign in to comment.