v0.12.4
Pre-release
Pre-release
Enhancements
- [Mix]
mix deps.get
andmix deps.update
no longer compile dependencies afterwards. Instead, they mark the dependencies which are going to be automatically compiled next timedeps.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 functionsVersion.parse/1
andVersion.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