Skip to content

v0.12.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@josevalim josevalim released this 12 Feb 08:28

Enhancements

  • [Mix] mix deps.get and mix deps.update no longer compile dependencies afterwards. Instead, they mark the dependencies which are going to be automatically compiled next time deps.check is invoked (which is done automatically by most mix tasks). This means users should have a better workflow when migrating in between environments

Deprecations

  • [Kernel] // for default arguments is deprecated in favor of \\
  • [Kernel] Using % for sigils is deprecated in favor of ~. This is a soft deprecation, no warnings will be emitted for it in this release
  • [Kernel] Using ^ inside function clause heads is deprecated, please use a guard instead

Backwards incompatible changes

  • [ExUnit] CaptureIO returns an empty string instead of nil when there is no capture
  • [Version] The Version module now only works with SemVer. The functions Version.parse/1 and Version.parse_requirement/1 now return {:ok,res} | :error for the cases you want to handle non SemVer cases manually. All other functions will trigger errors on non semantics versions