Motivation
1.1.0
にアップデートしてからと言うもの、Elixirに触る期間がここ数ヶ月無かった。
久々にPhoenixでなんか作るかなーというモチベーションが沸いたのでPhoenixのWebサイトを見てみたら、バージョンが1.1.4
まで進んでた。
全くキャッチアップできてなかった上に、何も考えずにアップデートして良いものなのか悩ましかったため、さくっとリリースノート読んで追いかけてみた。
Release Notes (v1.1.1 to v1.1.4)
- v1.1.1
- 2015/12/27
- Bug fixesのみ
- v1.1.2
- 2016/01/09
- Enhancements
- [Cowboy] Improve log report for errors from the UserSocket
- [ChannelTest] Add refute_push and refute_reply
- [Router] Improve error messages when calling Router helpers without matching clauses
- [phoenix.new] Use brunch 2.1.1 npm integration to load phoenix and phoenix_html js
- v1.1.3
- 2016/01/21
- Enhancements
- [phoenix.gen] Support --binary-id option when generating scaffold
- [phoenix.new] Don't include Ecto gettext translations if --no-ecto is passed
- JavaScript client bug fixes
- Ensure exports variable does not leak
- Fix setTimeout scoping issue for Babel
- v1.1.4
- 2016/01/26
- Enhancements
- [phoenix.new] Update dependencies and solve problem where Mix may take too long to resolve deps
- [phoenix.new] Be more conservative regarding brunch dependencies
- [phoenix.new] Provide
local.phoenix
task - [phoenix.digest] Add
?vsn=d
to digested assets
1.1.0 -> 1.1.4 へのアップデート
何も考えずやっちゃってよさげ。
$ mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez
$ vi mix.exs #(phoenixのバージョンを1.1.4に変更)
$ mix deps.update phoenix
$ mix compile