From 37959e5c4c75492dd628fe8644c1f1cdb5790384 Mon Sep 17 00:00:00 2001 From: Matt Nowack Date: Tue, 3 Jun 2025 17:20:03 -0400 Subject: [PATCH] Prepare for release v0.16.0 --- CHANGELOG.md | 16 ++++++++++++++++ README.md | 12 +++++++++++- mix.exs | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52ec7c9..bf18a15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Change Log +## 0.16.0 (2025-06-03) + +No new functionality in this release but an update to the CI/CD versions and bugfix. + +Patch should continue to work on older versions of Elixir but CI/CD runner versions have been updated to re-enable CI/CD. + +Thanks to [Steve Cohen](https://github.com/scohen) who reported a bug where patch would incorrectly handle multiple export attributes. This bug has been fixed and a test added. + +### Bugfixes + +- 🐞 - Fixed a bug in handling multiple exports for the same function with different arities. + +### Breaking Changes + +- 💔 - Elixir 1.9 and Elixir 1.10 are no longer part of the CI/CD matrix. + ## 0.15.0 (2024-12-27) No new functionality in this release but an update to the supported versions. diff --git a/README.md b/README.md index 6246a8b..98bcd86 100644 --- a/README.md +++ b/README.md @@ -54,11 +54,19 @@ Add patch to your mix.exs ```elixir def deps do [ - {:patch, "~> 0.15.0", only: [:test]} + {:patch, "~> 0.16.0", only: [:dev, :test]} ] end ``` +Patch also provides formatter rules for `mix format` if you would like to use these rules add + +```elixir +import_deps: [:patch] +``` + +to your `.formatter.exs` file. + ## Quickstart After adding the dependency just add the following line to any test module after using your test case @@ -201,6 +209,8 @@ Patch is made better everyday by developers requesting new features. - Reported erratum in the Patch Cheatsheet - [Luca Corti](https://github.com/lucacorti) - Reported an issue with warning being emitted by the library on Elixir 1.16 which served as the basis for a bugfix in v0.13.1 +- [Steve Cohen](https://github.com/scohen) + - Reported an issue with incorrect export handling which served as the basis for a bugfix in v0.16.0 If you have a suggestion for improvements to this library, please open an issue. diff --git a/mix.exs b/mix.exs index dd1feb7..e219bd6 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Patch.MixProject do def project do [ app: :patch, - version: "0.15.0", + version: "0.16.0", elixir: "~> 1.9", erlc_paths: erlc_paths(Mix.env()), elixirc_paths: elixirc_paths(Mix.env()),