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

Upgrade erlang/elixir runtimes and application dependencies #67

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

joaodubas
Copy link

@joaodubas joaodubas commented Nov 20, 2023

Keep the application updated by upgrading the following:

  1. Runtimes:
    • erlang 26.2.5
    • elixir 1.16.3
  2. Dependencies:
    • castore from 0.1.22 to 1.0.7
    • ecto_network from 1.3.0 to 1.5.0
    • ecto_sql from 3.11.1 to 3.11.3
    • esbuild from 0.5.0 to 0.8.1
    • flame from 0.1.12 to 0.2.0
    • gettext from 0.20.0 to 0.24.0
    • heroicons from 0.2.4 to 0.5.5
    • libcluster from 3.3.1 to 3.3.3
    • mint from 1.5.2 to 1.16.1
    • phoenix from 1.7.12 to 1.7.14
    • phoenix_ecto from 4.4.0 to 4.6.1
    • phoenix_html from 3.3.4 to 4.1.1
    • phoenix_live_reload from 1.4.0 to 1.5.3
    • postgrex from 0.17.5 to 0.18.0
    • req from 0.4.14 to 0.5.0
    • swoosh from 1.8.2 to 1.16.9
    • telemetry_metrics from 0.6.1 to 1.0.0
    • telemetry_poller from 1.0.0 to 1.1.0

Also, apply the following changes:

  1. update the naming for some icons, due to the upgrade to heroicons v2.
  2. fixes warnings due to failures in link and form
  3. set runtime version using asdf

@joaodubas joaodubas marked this pull request as ready for review November 22, 2023 01:54
Bump runtimes:

* `erlang` from 24.0.1 to 26.2.5
* `elixir` from 1.14.0 to 1.16.3

Also, use the current stable `debian` release (`bookworm`).

Finally, set local version for `erlang`/`elixir`, with `.tool-versions`.
The following [dependencies were updated][0]:

* `castore` from 0.1.22 to 1.0.7
* `ecto_network` from 1.3.0 to 1.5.0
* `ecto_sql` from 3.11.1 to 3.11.3
* `esbuild` from 0.5.0 to 0.8.1
* `flame` from 0.1.12 to 0.2.0
* `gettext` from 0.20.0 to 0.24.0
* `heroicons` from 0.2.4 to 0.5.5
* `libcluster` from 3.3.1 to 3.3.3
* `mint` from 1.5.2 to 1.16.1
* `phoenix` from 1.7.12 to 1.7.14
* `phoenix_ecto` from 4.4.0 to 4.6.1
* `phoenix_html` from 3.3.4 to 4.1.1
* `phoenix_live_reload` from 1.4.0 to 1.5.3
* `postgrex` from 0.17.5 to 0.18.0
* `req` from 0.4.14 to 0.5.0
* `swoosh` from 1.8.2 to 1.16.9
* `telemetry_metrics` from 0.6.1 to 1.0.0
* `telemetry_poller` from 1.0.0 to 1.1.0

Also, set dependencies to accept patch updates.

[0]: https://diff.hex.pm/diffs?diffs%5B%5D=castore:0.1.22:1.0.7&diffs%5B%5D=ecto_network:1.3.0:1.5.0&diffs%5B%5D=ecto_sql:3.11.1:3.11.3&diffs%5B%5D=esbuild:0.5.0:0.8.1&diffs%5B%5D=flame:0.1.12:0.2.0&diffs%5B%5D=gettext:0.20.0:0.24.0&diffs%5B%5D=heroicons:0.2.4:0.5.5&diffs%5B%5D=libcluster:3.3.1:3.3.3&diffs%5B%5D=mint:1.5.2:1.16.1&diffs%5B%5D=phoenix:1.7.12:1.7.14&diffs%5B%5D=phoenix_ecto:4.4.0:4.6.1&diffs%5B%5D=phoenix_html:3.3.4:4.1.1&diffs%5B%5D=phoenix_live_reload:1.4.0:1.5.3&diffs%5B%5D=postgrex:0.17.5:0.18.0&diffs%5B%5D=req:0.4.14:0.5.0&diffs%5B%5D=swoosh:1.8.2:1.16.9&diffs%5B%5D=telemetry_metrics:0.6.1:1.0.0&diffs%5B%5D=telemetry_poller:1.0.0:1.1.0
On [`phoenix_html` version 4.0.0][0], deprecated functionality was
removed and all `HTML` helpers were moved to `phoenix_html_helpers`.

To keep everything the same, we add the `phoenix_html_helpers` package,
and update the `html_helpers/0` method.

[0]: https://hexdocs.pm/phoenix_html/changelog.html#v4-0-0-2023-12-19
On version 0.5.0, each outline style (`outline`, `solid`, `mini`,
`micro`) is defined by individual attributes.

So, the `icon` component uses these new attributes in the
place of `Heroicons.Solid` and `Heroicons.Outline`.
[Heroicons v2][0] represents a new set of icons. So, to keep everything
working, some names needed to be changed to match the new pattern.

[0]: https://github.com/tailwindlabs/heroicons/releases/tag/v2.0.0
@joaodubas joaodubas force-pushed the jpd/feat/upgrade-runtime-and-deps branch from a0fa433 to ffe444d Compare June 20, 2024 21:32
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.

1 participant