Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down