Skip to content
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

relax deps to allow phoenix 1.6 #97

Merged
merged 3 commits into from
May 11, 2022

Conversation

jaimeiniesta
Copy link
Contributor

No description provided.

@jrissler
Copy link

jrissler commented May 9, 2020

Love to see this merged in!

@sushant12
Copy link

is this project abandoned? Why is this not merged yet?

mix.exs Outdated
@@ -49,7 +49,7 @@ defmodule ScrivenerHtml.Mixfile do
[
{:scrivener, "~> 1.2 or ~> 2.0"},
{:phoenix_html, "~> 2.2"},
{:phoenix, "~> 1.0 and < 1.5.0", optional: true},
{:phoenix, "~> 1.0 and < 1.6.0", optional: true},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{:phoenix, "~> 1.0 and < 1.6.0", optional: true},
{:phoenix, "~> 1.0", optional: true},

I don't think it's necessary to keep this constraint

@blaza1
Copy link

blaza1 commented Jul 13, 2020

@mgwidmann scrivener pagination is really useful for our application but it's blocking us upgrading our application to phoenix 1.5. Can we get this merged in ?

@btbinhtran
Copy link

Just sent @mgwidmann an email. Hopefully he responds and maybe we can get this merged in.

@williamweckl
Copy link

Any updates on this?

@yellow5
Copy link

yellow5 commented Nov 23, 2020

Noting that #98 is also trying to add support for Phoenix v1.5.x

@benedikt7
Copy link

Are there any updates on this? Still the blocker in upgrading to 1.5.x.....

@thbar
Copy link

thbar commented Jan 11, 2021

@jaimeiniesta did you have good success just relaxing the dependencies, or is there more to be done?

The PR at https://github.com/mgwidmann/scrivener_html/pull/98/files shows that some tests had to be adapted, but nothing critical.

@thbar thbar mentioned this pull request Jan 11, 2021
@jaimeiniesta
Copy link
Contributor Author

jaimeiniesta commented Jan 11, 2021

@thbar yes, I'm using my branch on a Phoenix 1.5.4 app and it works just fine:

{:phoenix, "~> 1.5.4"},
{:scrivener_ecto, "~> 2.5.0"},
{:scrivener_list, "~> 2.0.1"},
{:scrivener_html, github: "jaimeiniesta/scrivener_html", branch: "relax_phoenix_dep"}

@thiagomajesk
Copy link

@mgwidmann Anything preventing this from being merged?

PS.: For people upgrading to phoenix 1.5, just add override: true in the meanwhile.

@thbar
Copy link

thbar commented Sep 21, 2021

FYI, I am trying to spread the word in order to find a way to reach Matt, and maybe find a new team of maintainers (even just for simple stuff):

#103 (comment)

@jaimeiniesta jaimeiniesta changed the title relax deps to allow phoenix 1.5 relax deps to allow phoenix 1.6 Sep 29, 2021
@thbar
Copy link

thbar commented Nov 23, 2021

Hello @jaimeiniesta! Can you confirm you are using this PR in production? Thanks!

@williamweckl you have approved the changes, but do you have merge rights on the repo?

@jaimeiniesta
Copy link
Contributor Author

@thbar yes, I'm using this PR in production with Phoenix 1.6.2, Elixir 1.12.3 and it works fine!

thbar added a commit to etalab/transport-site that referenced this pull request Nov 23, 2021
mgwidmann/scrivener_html#97 is not merged at the moment, but required to allow us to upgrade.
thbar added a commit to etalab/transport-site that referenced this pull request Dec 1, 2021
* Bump Phoenix & mime

* Follow changelog recommendation

* Upgrade inter-connected dependencies

mgwidmann/scrivener_html#97 is not merged at the moment, but required to allow us to upgrade.

* Bump up Phoenix

* Follow Phoenix changelog for faster compilation times

Source: https://github.com/phoenixframework/phoenix/blob/v1.6/CHANGELOG.md

* Fix deprecation in liveview :layout management

* Upgrade yarn.lock for phoenix-related dependencies

* Fix deprecation error

* Fix session management

* Proceed with "easy updates" (theoretically)

* Invalidate the cache to see if it will fix the MIME compilation error

* Fix view_module deprecation in Phoenix 1.6

* Replace ~E by ~H (comes from LiveView, requires `assigns` variable)

* Bump up sweet_xml

* Bump finch (minor) and oban
@mgwidmann mgwidmann merged commit 9224d1f into mgwidmann:master May 11, 2022
@jaimeiniesta
Copy link
Contributor Author

🎉 thanks!

thbar added a commit to etalab/transport-site that referenced this pull request May 24, 2022
thbar added a commit to etalab/transport-site that referenced this pull request Jun 1, 2022
* Bump castore

* Go back to upstream for scrivener_html

See mgwidmann/scrivener_html#97

* Bump plug

* Bump yaml_elixir

* Bump typed_ecto_schema

* Bump timex

* Bump sweet_xml

* Bump quantum, telemetry

* Bump protobuf

* Bump postgrex

* Bump phoenix

* Bump finch

* Bump excoveralls

* Bump ex_cldr and co

* Bump ex_aws

* Bump ecto, ecto_sql

* Bump earmark

* Bump kino

* Run "yarn upgrade phoenix"

* Update generate_deps_changelogs.exs

* Regenerate protobuf bindings

* Bump up unzip

* Bump mox

* Bump live view

* Run "mix format"

* Fix link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.