PhoenixframeworkChanges-20151201

whatyouhide:ab3bbbc004f84aa2ef0a2c361654e2b52ac4b541

(#1379)
ファイル名

lib/phoenix/endpoint/instrument.ex
test/phoenix/endpoint/instrument_test.exs

compile_stop_callbacksメソッドの内部にて try/catch することにより 壊れた instrumenters が実行されないようにするための処理が追加されました。

whatyouhide:7ea47973d6f45e2756161c12243e4f6322e7def5

(#1379)
ファイル名

lib/phoenix/controller.ex
lib/phoenix/controller/pipeline.ex
lib/phoenix/endpoint.ex

Endpoint.instrument にて、受け取った引数から Plug.Conn または Phoenix.Socket の構造体を探し出してきて使用するようにサポートされました。

whatyouhide:051fedb5d30402ebecb57b504d42acc49183755f

(#1379)
ファイル名

lib/phoenix/controller.ex

Controller の instrument の呼び出しに関して、必要がなくなったものは削除され、上記でEndpoint.instrument の変更があった部分に関しては変更に合う用に修正されました。

whatyouhide:5c834ddfc304d0633bd76be04effe41a43bb720f

(#1379)
ファイル名

test/phoenix/endpoint/instrument_test.exs

Phoenix.Endpoint.instrument/4 に関するテストが追加されました。

whatyouhide:34ab2a8194ed2555c34fbb2eac6835ae3107b355

(#1379)
ファイル名

lib/phoenix/controller.ex
lib/phoenix/endpoint/instrument.ex
test/phoenix/endpoint/instrument_test.exs

Phoenix.Endpoint.instrument に引き渡された runtime 引数が map型になるように修正が入ったようです。

josevalim:4c2206b8795b7ed65bc921588388e8e49b9bbcf2

ファイル名
lib/phoenix/endpoint.ex

上記の修正と同じく、runtime引数がデフォルトでmapになるように修正されました。

josevalim:c26dfb32a2f4ead61419701e430cd53e26d7c7e9

ファイル名
lib/phoenix/code_reloader/server.ex

Elixirのマスターからreload機能のプロトコルが共有されました。

josevalim:b9c4ed49bb06ccbd9b915128fadff6bd5b866a47

ファイル名
lib/phoenix/code_reloader/server.ex

先ほどのreload機能の修正に伴って、ラップされるように修正が入りました。

chrismccord:f75e83692477d510727bf9fe458389b83f760727

ファイル名
lib/phoenix/router.ex

bypass 処理にて、Plug.Conn.halt() 処理を実施しないように修正されました。

chrismccord:d3e11dddaba811c513eeddbbadd75070e2993cfc

ファイル名
CHANGELOG.md
installer/mix.exs
mix.exs

チェンジログの更新が行われ、Phoenix v1.1.0-devとして変更点がきられました。

chrismccord:431caef8a27fcad5485c7f2b20ca8e2cee04c17d

ファイル名
installer/templates/new/test/support/conn_case.ex

conn のテストにて、今までは :okのみ返していたのを conn 自体も返すように変更されました。

chrismccord:b5f770a1854bf5f35c38c7d608415f7f231733e2

ファイル名
RELEASE.md

リリース時にチェックするための確認内容が追加されました。

chrismccord:6bb13e0364a5a27c89a0523f46e25eda83a594b8

ファイル名
test/phoenix/endpoint/watcher_test.exs
test/phoenix/integration/endpoint_test.exs
test/phoenix/integration/endpoint_test.exs

テスト内容が修正されました。