-
Notifications
You must be signed in to change notification settings - Fork 44
fix: Mimic.Module compilation when no options are stored #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Thank you for finding it and fixing it so fast 🔥 |
jimsynz
pushed a commit
to jimsynz/wayfarer
that referenced
this pull request
Oct 13, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | prod | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zMi4wIiwidXBkYXRlZEluVmVyIjoiNDEuMTI0LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlIl19--> Reviewed-on: https://harton.dev/james/wayfarer/pulls/280 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/wafer
that referenced
this pull request
Oct 13, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | dev | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zMi4wIiwidXBkYXRlZEluVmVyIjoiNDEuMTI0LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlIl19--> Reviewed-on: https://harton.dev/james/wafer/pulls/148 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/pca9641
that referenced
this pull request
Oct 13, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | dev | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zOC4xIiwidXBkYXRlZEluVmVyIjoiNDEuMTI0LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlIl19--> Reviewed-on: https://harton.dev/james/pca9641/pulls/109 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/mpl311512
that referenced
this pull request
Oct 13, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | dev | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zMi4wIiwidXBkYXRlZEluVmVyIjoiNDEuMTI0LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlIl19--> Reviewed-on: https://harton.dev/james/mpl3115a2/pulls/104 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/max1704x
that referenced
this pull request
Oct 13, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | dev | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zMi4wIiwidXBkYXRlZEluVmVyIjoiNDEuMTI0LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlIl19--> Reviewed-on: https://harton.dev/james/max1704x/pulls/136 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/lamina
that referenced
this pull request
Oct 13, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | prod | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zMi4wIiwidXBkYXRlZEluVmVyIjoiNDEuMTI0LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlIl19--> Reviewed-on: https://harton.dev/james/lamina/pulls/108 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/ina219
that referenced
this pull request
Oct 13, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | dev | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zMi4wIiwidXBkYXRlZEluVmVyIjoiNDEuMTI0LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlIl19--> Reviewed-on: https://harton.dev/james/ina219/pulls/107 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/wayfarer
that referenced
this pull request
Oct 22, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | prod | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDYuNSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://harton.dev/james/wayfarer/pulls/286 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/wafer
that referenced
this pull request
Oct 24, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | dev | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMiIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://harton.dev/james/wafer/pulls/156 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/mpl311512
that referenced
this pull request
Oct 24, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | dev | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMiIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://harton.dev/james/mpl3115a2/pulls/112 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/max1704x
that referenced
this pull request
Oct 24, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | dev | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMiIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://harton.dev/james/max1704x/pulls/144 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/lamina
that referenced
this pull request
Oct 24, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | prod | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMiIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://harton.dev/james/lamina/pulls/117 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
jimsynz
pushed a commit
to jimsynz/ina219
that referenced
this pull request
Oct 24, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mimic](https://hex.pm/packages/mimic) ([source](https://github.com/edgurgel/mimic)) | dev | major | `~> 1.12` -> `~> 2.0` | --- ### Release Notes <details> <summary>edgurgel/mimic (mimic)</summary> ### [`v2.1.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#211-2025-09-20) [Compare Source](edgurgel/mimic@v2.1.0...v2.1.1) - Don't remove behaviour\_info/1 from behaviour modules by [@​escobera](https://github.com/escobera) in [#​105](edgurgel/mimic#105) ### [`v2.1.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#210-2025-08-31) [Compare Source](edgurgel/mimic@v2.0.2...v2.1.0) - feat: Usage rules by [@​pcharbon70](https://github.com/pcharbon70) in [#​102](edgurgel/mimic#102) - fix: define replaced Elixir module macros using defmacro by [@​yastanotheruser](https://github.com/yastanotheruser) in [#​104](edgurgel/mimic#104) ### [`v2.0.2`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#202-2025-08-12) [Compare Source](edgurgel/mimic@v2.0.1...v2.0.2) - fix: Mimic.Module compilation when no options are stored. [#​101](edgurgel/mimic#101) ### [`v2.0.1`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#201-2025-08-08) [Compare Source](edgurgel/mimic@v2.0.0...v2.0.1) - Bump `ham` requirement ### [`v2.0.0`](https://github.com/edgurgel/mimic/blob/HEAD/CHANGELOG.md#200-2025-07-13) [Compare Source](edgurgel/mimic@v1.12.0...v2.0.0) #### Breaking changes The code below would call the original `Calculator.add/2` when all expectations were fulfilled. ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 assert Calculator.add(1, 1) == 2 ``` Now with Mimic 2 this will raise: ```elixir Calculator |> expect(:add, fn _, _ -> :expected1 end) |> expect(:add, fn _, _ -> :expected2 end) assert Calculator.add(1, 1) == :expected1 assert Calculator.add(1, 1) == :expected2 Calculator.add(1, 1) ``` ### [`v1.12.0`](https://github.com/edgurgel/mimic/releases/tag/v1.12.0): Mimic 1.12.0 [Compare Source](edgurgel/mimic@v1.11.2...v1.12.0) #### What's Changed - Mimic.calls/3 to list args from each call by [@​brentjanderson](https://github.com/brentjanderson) in [#​94](edgurgel/mimic#94) #### New Contributors - [@​brentjanderson](https://github.com/brentjanderson) made their first contribution in [#​94](edgurgel/mimic#94) **Full Changelog**: <edgurgel/mimic@v1.11.2...v1.12.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland, Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone Pacific/Auckland. 🚦 **Automerge**: Disabled because a matching PR was automerged previously. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMiIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://harton.dev/james/ina219/pulls/115 Co-authored-by: Renovate Bot <[email protected]> Co-committed-by: Renovate Bot <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks @nelsonmestevao for helping finding this issue 🎉