Skip to content

Upgrade to Phoenix 1.6.16#166

Open
Emina-M wants to merge 3 commits intoastarte-platform:masterfrom
Emina-M:phx-1.6-upgrade
Open

Upgrade to Phoenix 1.6.16#166
Emina-M wants to merge 3 commits intoastarte-platform:masterfrom
Emina-M:phx-1.6-upgrade

Conversation

@Emina-M
Copy link
Contributor

@Emina-M Emina-M commented Feb 4, 2025

  • Upgrade Phoenix scaffolding from version 1.5.3 to 1.6.16 using generator:
mix phx.new astarte_flow --app astarte_flow --module Astarte.Flow \
--no-assets --no-ecto --no-html --no-live --no-mailer --no-dashboard
  • Fix package tarball prefix in .gitignore
  • Update dependencies

Copy link
Collaborator

Choose a reason for hiding this comment

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

No need for this file

Comment on lines -57 to +59
import Astarte.FlowWeb.ErrorHelpers
import Astarte.FlowWeb.Gettext
alias Astarte.FlowWeb.Router.Helpers, as: Routes
# Include shared imports and aliases for views
unquote(view_helpers())
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why the need for quoting/unquoting imports and aliases here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Most of the changes in this PR follow scaffolding generated with phoenix 1.6.16 generator. The goal is to be consistent with generated code, so future upgrades are easier. If it's not something we adhere to, I can remove this change.

app: :astarte_flow,
version: "0.1.0",
elixir: "~> 1.7",
elixir: "~> 1.12",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this be 1.17 now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Similar answer to previous comment. You can take a look at the versions diff here

@Emina-M Emina-M requested a review from Annopaolo February 5, 2025 11:42
Upgrade Phoenix scaffolding from version 1.5.3 to 1.6.16 using
generator:

mix phx.new astarte_flow --app astarte_flow --module Astarte.Flow \
--no-assets --no-ecto --no-html --no-live --no-mailer --no-dashboard

Signed-off-by: Emina Muminovic <emina.muminovic@secomind.com>
Replace `astarte_streams` with `astarte_flow`.

Signed-off-by: Emina Muminovic <emina.muminovic@secomind.com>
Autogenerated with `mix deps.update --all`

Major changes:
telemetry_metrics 0.6 => 1.1.0
telemetry_metrics_prometheus_core 0.4 => 1.2.1

Signed-off-by: Emina Muminovic <emina.muminovic@secomind.com>
@Emina-M Emina-M marked this pull request as ready for review February 7, 2025 08:35
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.

2 participants