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 13 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
* `erlang` from 26.2.5 to 27.1.2
* `elixir` from 1.16.3 to 1.17.3
* `castore` from 1.0.7 to 1.0.9
* `ecto` from 3.11.2 to 3.12.4
* `ecto_sql` from 3.11.3 to 3.12.1
* `esbuild` from 0.8.1 to 0.8.2
* `finch` from 0.18.0 to 0.19.0
* `flame` from 0.2.0 to 0.5.1
* `floki` from 0.36.2 to 0.36.3
* `gettext` from 0.24.0 to 0.26.1
* `heroicons` from 0.5.5 to 0.5.6
* `jason` from 1.4.1 to 1.4.4
* `libcluster` from 3.3.3 to 3.4.1
* `mint` from 1.6.1 to 1.6.2
* `phoenix_ecto` from 4.6.1 to 4.6.3
* `phoenix_live_dashboard` from 0.8.3 to 0.8.4
* `plug_cowboy` from 2.7.1 to 2.7.2
* `postgrex` from 0.18.0 to 0.19.2
* `req` from 0.5.0 to 0.5.1
* `swoosh` from 1.16.9 to 1.17.2
* `tailwind` from 0.2.3 to 0.2.4
* `telemetry` from 1.2.1 to 1.3.0
* `axon` from commit 8cee5a98a1c4129ec6edb199319ea7a652a84690 to 0.7.0
* `bumblebee` from commit 6cf6839c651d75c2d5520a152dd599e400f70b16 to 94fa47a868fb9d7b43334c5de72abb359ddd9606
* `exla` from 0.7.2 to 0.9.1
* `nx` from 0.7.2 to 0.9.1
* `unzip` from 0.10.0 to 0.12.0
* `xla` from 0.6.0 to 0.8.0
The function `Bumblebee.Audio.speech_to_text/5` was deprecated on
release [0.4.0][1], and removed on release [0.5.0][2].

[1]: https://github.com/elixir-nx/bumblebee/releases/tag/v0.4.0
[2]: https://github.com/elixir-nx/bumblebee/releases/tag/v0.5.0
* `phoenix_live_view` from commit df23d47455c9c873ce946ed3ad68cff447db8e89 to dc52a5aa77051b96c76f4f3a204def45f7403c4a
* `db_connection` from 2.6.0 to 2.7.0
* `expo` from 0.5.2 to 1.1.0
* `file_system` from 1.0.0 to 1.0.1
* `hpax` from 0.2.0 to 1.0.0
* `mime` from 2.0.5 to 2.0.6
* `plug` from 1.16.0 to 1.16.1
* `req` from 0.5.1 to 0.5.7
* `rustler_precompiled` from 0.7.1 to 0.8.2
* `tokenizers` from 0.5.0 to 0.5.1
* `websock_adapter` from 0.5.6 to 0.5.7

Removed dependency:

* `nimble_ownership`
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