phoenixframework / phoenix_live_dashboard

Realtime dashboard with metrics, request logging, plus storage, OS and VM insights

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning API deprecation ecto_psql_extras 0.6.2

happysalada opened this issue · comments

commented

Environment

Clicking on the Total table size tab of the Repo stats tab, I'm getting this warning

warning: This API is deprecated. Please pass format value as a keyword list: format: :raw
(ecto_psql_extras 0.6.2) deps/ecto_psql_extras/lib/ecto_psql_extras.ex:318: EctoPSQLExtras.prepare_opts/2"}

dependencies

  "ecto_psql_extras": {:hex, :ecto_psql_extras, "0.6.2", "ff964dcfd80ee285797025734484742faa04b56c2674380014e7233851c5f8b2", [:mix], [{:ecto_sql, "~> 3.4", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:postgrex, ">= 0.15.7", [hex: :postgrex, repo: "hexpm", optional: false]}, {:table_rex, "~> 3.0.0", [hex: :table_rex, repo: "hexpm", optional: false]}], "hexpm", "7e7f88140f14a8aed4b82269aece28498086edd032cd94fac7d05059f9b09c7e"},
  "phoenix": {:hex, :phoenix, "1.5.7", "2923bb3af924f184459fe4fa4b100bd25fa6468e69b2803dfae82698269aa5e0", [:mix], [{:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:phoenix_html, "~> 2.13", [hex: :phoenix_html, repo: "hexpm", optional: true]}, {:phoenix_pubsub, "~> 2.0", [hex: :phoenix_pubsub, repo: "hexpm", optional: false]}, {:plug, "~> 1.10", [hex: :plug, repo: "hexpm", optional: false]}, {:plug_cowboy, "~> 1.0 or ~> 2.2", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:plug_crypto, "~> 1.1.2 or ~> 1.2", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "774cd64417c5a3788414fdbb2be2eb9bcd0c048d9e6ad11a0c1fd67b7c0d0978"},
  "phoenix_live_dashboard": {:hex, :phoenix_live_dashboard, "0.4.0", "87990e68b60213d7487e65814046f9a2bed4a67886c943270125913499b3e5c3", [:mix], [{:ecto_psql_extras, "~> 0.4.1 or ~> 0.5", [hex: :ecto_psql_extras, repo: "hexpm", optional: true]}, {:phoenix_html, "~> 2.14.1 or ~> 2.15", [hex: :phoenix_html, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.15.0", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}, {:telemetry_metrics, "~> 0.4.0 or ~> 0.5.0 or ~> 0.6.0", [hex: :telemetry_metrics, repo: "hexpm", optional: false]}], "hexpm", "8d52149e58188e9e4497cc0d8900ab94d9b66f96998ec38c47c7a4f8f4f50e57"},
  • Browsers you attempted to reproduce this bug on (the more the merrier):
    Firefox

Actual behavior

Getting a warning

Expected behavior

No warning.

I don't think this is a big deal, just putting it here for reference.

Thanks always for amazing software.

It is fixed in master, we will do a release later on. :)

Note: This still is happening for me in 0.6.5 (/tmp/build/deps/ecto_psql_extras/lib/ecto_psql_extras.ex:334: EctoPSQLExtras.prepare_opts/2 )

Note: This still is happening for me in 0.6.5 (/tmp/build/deps/ecto_psql_extras/lib/ecto_psql_extras.ex:334: EctoPSQLExtras.prepare_opts/2 )

I confirm - it's still happening.