PatNowak

PatNowak

Hurra!

Elixir 1.5 released. Phoenix 1.3 released. Now it’s the time to convince my PO that I have to do this upgrade in our app :slight_smile:
Thanks Chris and to the Core team!

4
Post #29
imetallica

imetallica

@chrismccord for those of us who use rc3 already is it just a matter of bumping the version in mix.exs?

1
Post #30
Eiji

Eiji

@chrismccord: I read two tutorials about Phoenix 1.3 and there is something that I don’t understand. Can you explain me directory structure again?

From Phoenix 1.3.0 released:

lib/my_app/accounts/accounts.ex

but in Upgrading from v1.2 to v1.3 there is:

lib/my_app_web

and

lib/my_app_web.ex

So should I have name/name.ex or put name.ex in same parent directory that name directory is?

0
Post #31
auxbuss

auxbuss

I just bumped to {:phoenix, "~> 1.3"} and all is good. So, yes, just update versions and all should be good.

1
Post #32
fmoens

fmoens

I believe package-lock.json should contain “version”: “1.3.0” instead of “version”: “1.3.0-rc.3”.

0
Post #33
NobbZ

NobbZ 

$ mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez

So we still can’t do mix archive.install hex phx_new(or any other package name for the generator)?

0
Post #34
AstonJ

AstonJ

Whoo hoo!! Congrats to you and all the Phoenix team and well done to everyone who worked on this release :023:

0
Post #35
OvermindDL1

OvermindDL1

Awesome, and updated.

For note, warnings on compile (Elixir 1.5, OTP 20, Phoenix 1.3) for various things that might be found to be interesting (it is very noisy):

==> postgrex
Compiling 62 files (.ex)
warning: Enum.partition/2 is deprecated, use Enum.split_with/2
  lib/postgrex/error_code.ex:14

Compiling lib/postgrex/default_types.ex (it's taking more than 10s)
Generated postgrex app

==> phoenix_live_reload
Compiling 3 files (.ex)
warning: String.lstrip/2 is deprecated, use String.trim_leading/2 with a binary as second argument
  lib/phoenix_live_reload/channel.ex:19

Generated phoenix_live_reload app

==> exfswatch
Compiling 8 files (.ex)
warning: Kernel.to_char_list/1 is deprecated, use Kernel.to_charlist/1
  lib/exfswatch.ex:9

warning: Kernel.to_char_list/1 is deprecated, use Kernel.to_charlist/1
  lib/exfswatch/utils.ex:5

Generated exfswatch app

==> phoenix
Compiling 74 files (.ex)
warning: Enum.partition/2 is deprecated, use Enum.split_with/2
  lib/phoenix/endpoint/handler.ex:39

warning: Enum.partition/2 is deprecated, use Enum.split_with/2
  lib/mix/tasks/phoenix.gen.model.ex:155

warning: Enum.partition/2 is deprecated, use Enum.split_with/2
  lib/mix/phoenix/schema.ex:235

Generated phoenix app

==> mime
Compiling 1 file (.ex)
warning: String.strip/1 is deprecated, use String.trim/1
  lib/mime.ex:28

Generated mime app

===> Compiling cowlib
src/cow_multipart.erl:392: Warning: crypto:rand_bytes/1 is deprecated and will be removed in a future release; use crypto:strong_rand_bytes/1

===> Compiling cowboy

==> decimal
Compiling 1 file (.ex)
warning: Integer.to_char_list/1 is deprecated, use Integer.to_charlist/1
  lib/decimal.ex:944

warning: Integer.to_char_list/1 is deprecated, use Integer.to_charlist/1
  lib/decimal.ex:963

warning: Integer.to_char_list/1 is deprecated, use Integer.to_charlist/1
  lib/decimal.ex:986

Generated decimal app


warning: String.strip/1 is deprecated, use String.trim/1
  /home/<user>/my_server/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated, use Integer.to_charlist/2
  lib/poison/encoder.ex:173

Generated poison app

==> gettext
Compiling 1 file (.erl)
Compiling 20 files (.ex)
warning: Enum.partition/2 is deprecated, use Enum.split_with/2
  lib/gettext/extractor_agent.ex:64

warning: Enum.partition/2 is deprecated, use Enum.split_with/2
  lib/gettext/po/parser.ex:44

warning: String.strip/1 is deprecated, use String.trim/1
  lib/gettext/po/parser.ex:47

warning: String.strip/1 is deprecated, use String.trim/1
  lib/gettext/po/parser.ex:55

warning: String.lstrip/1 is deprecated, use String.trim_leading/1
  lib/gettext/po/parser.ex:65

warning: Enum.partition/2 is deprecated, use Enum.split_with/2
  lib/gettext/po/parser.ex:71

warning: String.to_char_list/1 is deprecated, use String.to_charlist/1
  lib/gettext/po/tokenizer.ex:147

Generated gettext app

Running well so far though. :slight_smile:

0
Post #36
sergio

sergio

Congratulations to the Phoenix team and @chrismccord - you made dev life so much easier and fun day-to-day.

3
Post #37
net

net

Technically it doesn’t matter. Stylistically I would do name/name.ex.

1
Post #38