Phoenix 1.1 Released

Affichage de 17 messages sur 7
Phoenix 1.1 Released Chris McCord 16/12/15 09:38
Phoenix 1.1.0 is out! This release brings a number of new features, massive channel performance improvements, and a couple breaking changes. Most notably, 1.1.0 includes Gettext localization, instrumentation hooks, and the channel performance optimizations that allowed us to hit 2 million channel clients on a single server:
http://www.phoenixframework.org/blog/the-road-to-2-million-websocket-connections

Notable additions include:
- Gettext integration for internationalization support. Thanks to Andrea Leopardi for heading up the project
- Instrumentation hooks. Again, Thanks to Andrea Leopardi for heading up the initiative. This will allow external libraries and services access to instrumentation and monitoring metrics. I'm looking forward to see the kinds of tools built up around these additions.
- `mix phoenix.digest` now automatically digests  asset urls in stylesheets. This has been requested for some time and is asset build tool agnostic. Credit to Lauro Caetano for the great contribution.
- Ability to reply, asynchronously, from a push in a channel
- `check_origin` now supports wildcard domains
- improved testing tools with `bypass_through` and `assert_error_sent` helpers

I would also like to welcome Gary Rennie (gazler on irc) to the phoenix-core team. His help throughout the community has been an enormous boost and he was instrumental in the channel performance testing.

I would also like to take a moment to thank DockYard and Plataformatec for supporting the Elixir and Phoenix ecosystems. We wouldn't be where we are without their support and I can't wait to see what our continued focus brings for the community. 

Upgrade guides:

As always, find us on elixir-lang irc if you have issues upgrading.

Happy coding!

–Chris

Full changelog:
  • Enhancements

    • [Router] Enable defining routes for custom http methods with a new match macro
    • [CodeReloader] The socket transports now trigger the code reloader when enabled for external clients that only connect to channels without trigger a recompile through the normal page request.
    • [phoenix.digest] The phoenix.digest task now digests asset urls in stylesheets automatically
    • [Channel] Add Phoenix.Channel.reply/3 to reply asynchronously to a channel push
    • [Channel] code_change/3 is now supported to upgrade channel servers
    • [Endpoint] check_origin now supports wildcard hosts, ie check_origin: ["//*.example.com"]
    • [Endpoint] check_origin treats invalid origin hosts as missing for misbehaving clients
    • [Endpoint] Add Phoenix.Endpoint.server?/2 to check if webserver has been configured to start
    • [ConnTest] Add assert_error_sent to assert an error was wrapped and sent with a given status
  • Backward incompatible changes

    • [View] The @inner assign has been removed in favor of explicit rendering with render/3and the new @view_module and view_template assigns, for example: <%= @inner %> is replaced by <%= render @view_module, @view_template, assigns %>
Re: Phoenix 1.1 Released sergiotapi...@gmail.com 16/12/15 22:55
Thanks for all of your hard work guys! I'm new to Phoenix but seeing this level of development, and how mature everything looks at such an early stage is really encouraging. By the way Chris, will the Programming Phoenix book be updated with all these changes? I'm kind of using it as my go to resource at the moment, to learn Phoenix.
Re: [phoenix-core] Phoenix 1.1 Released Chris McCord 17/12/15 05:39
Thanks! And yes Programming Phoenix will be updated to 1.1. Not this coming beta, but the next will have 1.1 updates.

-- 
You received this message because you are subscribed to the Google Groups "phoenix-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phoenix-core...@googlegroups.com.
To post to this group, send email to phoeni...@googlegroups.com.
Visit this group at https://groups.google.com/group/phoenix-core.
To view this discussion on the web visit https://groups.google.com/d/msgid/phoenix-core/aab4e649-dfa6-4513-95fb-0b9382e01f7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Phoenix 1.1 Released ash.c...@gmail.com 17/12/15 22:54
Great work Chris and the team!

I assume Channel Presence has been pushed back to a later version?
unk...@googlegroups.com 19/12/15 17:53 <Ce message a été supprimé.>
Re: [phoenix-core] Re: Phoenix 1.1 Released José Valim 20/12/15 00:53
Erlang (and therefore) already ships with wxWidgets bindings. The Observer tool uses it for example. Inside Phoenix, you  can try:

$ iex -S mix
iex> :observer.start




José Valim
Skype: jv.ptec
Founder and Director of R&D

On Sun, Dec 20, 2015 at 2:53 AM, <portorford...@gmail.com> wrote:
Hi Chris,
   Although I am still learning other stuff before I can start on Elixir, I've noticed people talking about gui interfaces and Elixir.
One thought I had, was the Wx widgits, as other people have thought.
     But, one of the only languages I ever learned when I was younger was the Euphoria Programming Language, which bears some resemblance to Elixir, having atoms, sequences {...} built in garbage collecting, etc.  But of course it is very different.
But as that language grew, the creator added the ability to link in outside libraries, which continued when the language was ported to .nix OS's. 
     There was one project called WXEuphoria that might work, using NIF's.  The way they did it was to compile WxWidgits to a static library and link it in and then call it from Euphoria.

I read that NIFs are dangerous, etc, but do you think a. that its doable and b. that it might be worth the trouble?  Having a graphics library would make instrumentation of things such as you've added to Phoenix easier maybe?

As I said, I'm just a Newb, almost a troll at this point, but a very interested one.
Keep up the great work, can't wait to finally understand the code you folks are writing and to make great things.


Monty King 

--
You received this message because you are subscribed to the Google Groups "phoenix-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phoenix-core...@googlegroups.com.
To post to this group, send email to phoeni...@googlegroups.com.
Visit this group at https://groups.google.com/group/phoenix-core.
To view this discussion on the web visit https://groups.google.com/d/msgid/phoenix-core/37bdfb14-c75a-4ca3-8b7a-91936e3b5838%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Re: [phoenix-core] Re: Phoenix 1.1 Released monty king 21/12/15 16:58
Oh, Neat, thank you José

--
You received this message because you are subscribed to a topic in the Google Groups "phoenix-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phoenix-core/TBacwj0U7rY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phoenix-core...@googlegroups.com.

To post to this group, send email to phoeni...@googlegroups.com.
Visit this group at https://groups.google.com/group/phoenix-core.
To view this discussion on the web visit https://groups.google.com/d/msgid/phoenix-core/CAGnRm4L%2B2ddXsTpp-5ct%2B6sr50mueSKVPB643NjMvGKNpcR60w%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.