Skip to content

Commit

Permalink
Update mix.exs to allow scrivener_ecto ~> 3.0 (#9)
Browse files Browse the repository at this point in the history
***PR Description:***

Recently, `ecto` made some breaking changes with `3.12.0` and `scrivener_ecto` was updated accordingly (see [here](mojotech/scrivener_ecto#105)). The `scrivener_ecto` package was also bumped up to a new major version `3.0`, though it's a backwards-compatible change with respect to `scrivener_list` (see the diff [here](https://diff.hex.pm/diff/scrivener_ecto/2.7.1..3.0.0)). In other words, it is safe for this package to now support `scrivener_ecto` at `~> 1.0 or ~> 2.0 or ~> 3.0`, which is what this PR does.

This change is required to allow using `scrivener_ecto ~> 3.0` and `scrivener_list` in the same project, otherwise a dependency conflict is raised.
  • Loading branch information
superhawk610 authored Dec 18, 2024
1 parent 367fe15 commit 33b44ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defmodule Scrivener.List.Mixfile do

defp deps() do
[
{:scrivener_ecto, "~> 1.0 or ~> 2.0"},
{:scrivener_ecto, "~> 1.0 or ~> 2.0 or ~> 3.0"},

# dev/test
{:earmark, "~> 1.3", only: :dev, runtime: false},
Expand Down

0 comments on commit 33b44ac

Please sign in to comment.