Skip to content

Conversation

@joaodubas
Copy link

@joaodubas joaodubas commented Nov 20, 2023

Keep the application updated by upgrading the following:

  1. Runtimes:
    • erlang 27.3.4
    • elixir 1.18.4
  2. Dependencies:
    • axon: from 0.5.1 to 0.7.0
    • bumblebee: from commit fd9a8b1d149cdcebd5170e103b49e9f6f64ee482 to 710a645222948f80208c348d3a2589cbd3ab8e7d
    • castore: from 0.1.22 to 1.0.14
    • complex: from 0.6.0 to 0.5.0
    • cowboy_telemetry: from 0.4.0 to 0.4.0
    • cowboy: from 2.12.0 to 2.13.0
    • cowlib: from 2.13.0 to 2.15.0
    • db_connection: from 2.6.0 to 2.7.0
    • decimal: from 2.1.1 to 2.3.0
    • dns_cluster: from 0.1.3 to 0.2.0
    • ecto_network: from 1.3.0 to 1.5.0
    • ecto_sql: from 3.11.1 to 3.12.1
    • ecto: from 3.11.2 to 3.12.5
    • elixir_make: from 0.7.5 to 0.9.0
    • esbuild: from 0.9.0 to 0.5.0
    • exla: from 0.5.1 to 0.9.2
    • file_system: from 0.2.10 to 1.1.0
    • finch: from 0.18.0 to 0.19.0
    • flame: from 0.1.12 to 0.5.2
    • floki: from 0.36.2 to 0.37.1
    • gettext: from 0.20.0 to 0.26.2
    • heroicons: from 0.2.4 to 0.5.6
    • hpax: from 0.1.2 to 1.0.3
    • jason: from 1.4.1 to 1.4.4
    • libcluster: from 3.3.1 to 3.5.0
    • mime: from 2.0.5 to 2.0.7
    • mint: from 1.5.2 to 1.7.1
    • nimble_options: from 1.1.0 to 1.1.1
    • nimble_pool: from 1.1.0 to 1.1.0
    • nx_image: from 0.1.0 to 0.1.2
    • nx_signal: from 0.1.0 to 0.2.0
    • nx: from 0.5.1 to 0.9.2
    • phoenix_ecto: from 4.6.4 to 4.4.0
    • phoenix_html: from 4.2.1 to 3.3.4
    • phoenix_live_dashboard: from 0.8.3 to 0.8.7
    • phoenix_live_reload: from 1.4.0 to 1.6.0
    • phoenix_live_view: from commit 02bc543fc2602a1de3f53dbfe2bbdfef443806ac to version 1.0.12
    • phoenix_pubsub: from 2.1.3 to 2.1.3
    • phoenix_template: from 1.0.4 to 1.0.4
    • phoenix: from 1.7.21 to 1.7.12
    • plug_cowboy: from 2.7.1 to 2.7.3
    • plug_crypto: from 2.1.0 to 2.1.1
    • plug: from 1.16.0 to 1.17.0
    • postgrex: from 0.17.5 to 0.20.0
    • progress_bar: from 2.0.1 to 3.0.0
    • ranch: from 1.8.0 to 2.2.0
    • req: from 0.4.14 to 0.5.10
    • rustler_precompiled: from 0.6.1 to 0.8.2
    • swoosh: from 1.8.2 to 1.19.1
    • tailwind: from 0.2.0 to 0.3.1
    • telemetry_metrics: from 0.6.1 to 1.1.0
    • telemetry_poller: from 1.0.0 to 1.2.0
    • telemetry: from 1.2.1 to 1.3.0
    • tokenizers: from 0.3.0 to 0.5.1
    • unpickler: from 0.1.0 to 0.1.0
    • unzip: from 0.8.0 to 0.12.0
    • websock_adapter: from 0.5.6 to 0.5.8
    • websock: from 0.5.3 to 0.5.3
    • xla: from 0.4.4 to 0.8.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`
* `erlang` from 27.1.2 to 27.3.4
* `elixir` from 1.17.3 to 1.18.4
* `bumblebee`: from commit 94fa47a868 to commit 710a645222
* `castore`: from 1.0.9 to 1.0.14
* `dns_cluster`: from 0.1.3 to 0.2.0
* `esbuild`: from 0.8.2 to 0.9.0
* `exla`: from 0.9.1 to 0.9.2
* `flame`: from 0.5.1 to 0.5.2
* `floki`: from 0.36.3 to 0.37.1
* `gettext`: from 0.26.1 to 0.26.2
* `libcluster`: from 3.4.1 to 3.5.0
* `mint`: from 1.6.2 to 1.7.1
* `phoenix`: from 1.7.14 to 1.7.21
* `phoenix_ecto`: from 4.6.3 to 4.6.4
* `phoenix_html`: from 4.1.1 to 4.2.1
* `phoenix_live_dashboard`: from 0.8.4 to 0.8.7
* `phoenix_live_reload`: from 1.5.3 to 1.6.0
* `plug_cowboy`: from 2.7.2 to 2.7.3
* `postgrex`: from 0.19.2 to 0.20.0
* `req`: from 0.5.7 to 0.5.10
* `swoosh`: from 1.17.2 to 1.19.1
* `tailwind`: from 0.2.4 to 0.3.1
* `telemetry_metrics`: from 1.0.0 to 1.1.0
* `telemetry_poller`: from 1.1.0 to 1.2.0
* `complex`: from 0.5.0 to 0.6.0
* `cowboy`: from 2.12.0 to 2.13.0
* `cowlib`: from 2.13.0 to 2.15.0
* `decimal`: from 2.1.1 to 2.3.0
* `ecto`: from 3.12.4 to 3.12.5
* `elixir_make`: from 0.8.4 to 0.9.0
* `file_system`: from 1.0.1 to 1.1.0
* `hpax`: from 1.0.0 to 1.0.3
* `mime`: from 2.0.6 to 2.0.7
* `nx`: from 0.9.1 to 0.9.2
* `phoenix_live_view`: from commit dc52a5aa77051b96c76f4f3a204def45f7403c4a to commit e036b4c1ce4395ee7872be27b381313498d35ba9
* `plug`: from 1.16.1 to 1.17.0
* `plug_crypto`: from 2.1.0 to 2.1.1
* `ranch`: from 1.8.0 to 2.2.0
* `websock_adapter`: from 0.5.7 to 0.5.8
Move from git package to hex package.
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