Skip to content

v0.12.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@josevalim josevalim released this 04 Jan 09:43

Enhancements

  • [ExUnit] Support :include and :exclude configuration options to filter which tests should run based on their tags. Those options are also supported via mix test as --include and --exclude
  • [ExUnit] Allow doctests to match against #MyModule<>

Bug fixes

  • [CLI] Abort when a pattern given to elixirc does not match any file
  • [Float] Fix Float.parse/1 to handle numbers of the form "-0.x"
  • [IEx] Improve error message for IEx.Helpers.r when module does not exist
  • [Mix] Ensure deps.get updates origin if lock origin and dep origin do not match
  • [Mix] Use relative symlinks in _build
  • [Typespec] Fix conversion of unary ops from typespec format to ast
  • [Typespec] Fix handling of tuple() and {}

Deprecations

  • [Kernel] Do not leak clause heads. Previously, a variable defined in a case/receive head clauses would leak to the outer scope. This behaviour is deprecated and will be removed in the next release.
  • [Kernel] Deprecate __FILE__ in favor of __DIR__ or __ENV__.file

Backwards incompatible changes

  • [GenFSM] GenServer now stops on unknown event/sync_event requests
  • [GenServer] GenServer now stops on unknown call/cast requests
  • [Kernel] Change how -> is represented in AST. Now each clause is represented by its own AST node which makes composition easier. See commit 51aef55 for more information.