diff --git a/CHANGELOG.md b/CHANGELOG.md index 973a6e8..52ec7c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Change Log +## 0.15.0 (2024-12-27) + +No new functionality in this release but an update to the supported versions. + +Thanks to [Moosieus](https://github.com/Moosieus) Patch now compiles cleanly on Elixir 1.9+ with the removal of some outdated language constructs in favor of more modern constructs. + +0.15.0 removes support for Elixir 1.7 (released in July of 2018) and 1.8 (released in January of 2019). This version also adds 1.17 and 1.18 to the support matrix. + +If you are still running on 1.7 or 1.8 you should continue to use the 0.14.0 release, if you require ongoing support you should open an issue to discuss. + +### Improvements + +- ⬆️ - \[Versions\] Elixir 1.17 and 1.18 are now supported and part of CI. + +### Breaking Changes + +- 💔 - Elixir 1.7 and Elixir 1.8 are no longer supported. + ## 0.14.0 (2024-10-15) Changes where mocks are evaluated to prevent misuse and allow for common patterns that were not previously supported. @@ -128,6 +146,7 @@ Minor fix to `.formatter.exs`. Exported format options were not being honored b ### Improvements - ⬆️ - \[Change Log\] Removed sections that have no content, except for `Breaking Changes`. Sections will only be included in the Change Log if some change has actually occurred. To aid developers upgrading where between versions where breaking changes are allowed, `Breaking Changes` will be included when there are no breaking changes with the description `None` to clearly indicate that no breaking changes have occurred. + ### Bugfixes - 🐞 - Fixed the `.formatter.exs` so assertion functions won't be parenthesized by projects using `import_deps` diff --git a/README.md b/README.md index 797e481..b3394d8 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Add patch to your mix.exs ```elixir def deps do [ - {:patch, "~> 0.14.0", only: [:test]} + {:patch, "~> 0.15.0", only: [:test]} ] end ``` diff --git a/config/test.exs b/config/test.exs index 23fd9f1..becde76 100644 --- a/config/test.exs +++ b/config/test.exs @@ -1 +1 @@ -import Mix.Config +import Config diff --git a/mix.exs b/mix.exs index b3774cc..dd1feb7 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Patch.MixProject do def project do [ app: :patch, - version: "0.14.0", + version: "0.15.0", elixir: "~> 1.9", erlc_paths: erlc_paths(Mix.env()), elixirc_paths: elixirc_paths(Mix.env()), diff --git a/pages/cheatsheet.cheatmd b/pages/cheatsheet.cheatmd index 59f3e7a..0fd1723 100644 --- a/pages/cheatsheet.cheatmd +++ b/pages/cheatsheet.cheatmd @@ -13,7 +13,7 @@ In the `deps/0` function in the mix.exs file add a line for Patch. ```elixir def deps do [ - {:patch, "~> 0.14.0", only: [:test]} + {:patch, "~> 0.15.0", only: [:test]} ] end ```