Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

v0.7.2 announcement #53

Merged
merged 1 commit into from

3 participants

@yrashk

No description provided.

@rafaelfranca
Collaborator

Seems good. :shipit:

@josevalim
Owner

Let's add the conventional links to the getting started guide at the end too?

And can we expand a bit the information about the records optimization? Feel free to copy bits and/or link to: https://github.com/elixir-lang/elixir/blob/v0.7.2/lib/elixir/lib/kernel.ex#L1386

Thanks a lot for writing this!

@yrashk
@josevalim josevalim merged commit b6e8231 into elixir-lang:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 4, 2012
  1. @yrashk

    v0.7.2 announcement

    yrashk authored
This page is out of date. Refresh to see the latest.
View
2  _includes/search.html
@@ -1,6 +1,6 @@
<div class="widget news">
<h3>
- News: <a href="/blog/2012/11/18/elixir-v0-7-1-released-and-the-end-of-a-journey/">Elixir v0.7.1 released, watch the video and slides</a>
+ News: <a href="/blog/2012/12/04/elixir-v0-7-2-released/">Elixir v0.7.2 released</a>
</h3>
</div>
View
46 _posts/2012-12-04-elixir-v0-7-2-released.markdown
@@ -0,0 +1,46 @@
+---
+layout: post
+title: Elixir v0.7.2 released
+author: Yurii Rashkovskii
+category: Releases
+excerpt: Elixir v0.7.2 is released, new, improved type specifications syntax and many other improvements.
+
+---
+
+Hot out of the oven! We just released Elixir v0.7.2 with a number of delicious improvements.
+
+One of the most important changes in this minor release is a partial rehaul of
+the type specification syntax.
+
+Here's the gist:
+
+ @spec myfun(integer), do: integer
+ # becomes
+ @spec myfun(integer) :: integer
+
+ @type a :: fun
+ # becomes
+ @type a :: (... -> any) or ((...) -> any) or (fun(...) -> any)
+ @type a :: fun(do: integer)
+ # becomes
+ @type a :: (() -> integer) or (fun() -> integer)
+ @type a :: fun(integer, do: integer)
+ # becomes
+ @type a :: (integer -> integer) or ((integer) -> integer) or (fun(integer) -> integer)
+ @type a :: fun(integer, integer, do: integer)
+ # becomes
+ @type a :: (integer, integer -> integer) or ((integer, integer) -> integer) or (fun(integer, integer) -> integer)
+
+Another change is that Mix now echoes the output of external tools
+such as git and rebar, and handles exit status correctly. This have previously
+led to some less-than-perfect workflows.
+
+We've also added a more compact and visual form of the `function` helper. Now, instead of `function(Enum, :all?, 2)` you can use `function(Enum.all?/2)`.
+
+We've also figured out how to achieve an up to 6x [performance increase](https://github.com/elixir-lang/elixir/blob/v0.7.2/lib/elixir/lib/kernel.ex#L1386-L1417) when using records.
+
+...and [many other fixes & improvements](https://github.com/elixir-lang/elixir/blob/v0.7.2/CHANGELOG.md).
+
+Lastly, but not least importantly, I'd like to mention that we're very excited about how the community around Elixir is building up. Thank you all for being around and supporting us!
+
+[Learn more about Elixir](/getting_started/1.html)!
Something went wrong with that request. Please try again.