Skip to content

Commit b1f21a2

Browse files
authored
Upgrade dependencies (#5922)
* Bump deps * Update mjml * Update credo * Update dialyzer * Minor updates: cloak cloak_ecto ex_money fun_with_flags_ui heroicons joken locus mox phoenix_ecto phoenix_live_reload sweet_xml zstream * Format
1 parent 5b69061 commit b1f21a2

8 files changed

Lines changed: 120 additions & 108 deletions

File tree

.credo.exs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@
117117
{Credo.Check.Refactor.Apply, []},
118118
{Credo.Check.Refactor.CondStatements, []},
119119
{Credo.Check.Refactor.CyclomaticComplexity, false},
120+
{Credo.Check.Refactor.FilterCount, []},
121+
{Credo.Check.Refactor.FilterFilter, []},
122+
{Credo.Check.Refactor.MatchInCondition, []},
123+
{Credo.Check.Refactor.RedundantWithClauseResult, []},
124+
{Credo.Check.Refactor.RejectReject, []},
120125
{Credo.Check.Refactor.FunctionArity, []},
121126
{Credo.Check.Refactor.LongQuoteBlocks, []},
122127
{Credo.Check.Refactor.MatchInCondition, []},
@@ -133,6 +138,7 @@
133138
#
134139
## Warnings
135140
#
141+
{Credo.Check.Warning.Dbg, []},
136142
{Credo.Check.Warning.ApplicationConfigInModuleAttribute, []},
137143
{Credo.Check.Warning.BoolOperationOnSameValues, []},
138144
{Credo.Check.Warning.ExpensiveEmptyEnumCheck, []},

extra/lib/plausible_web/plugins/api/controllers/funnels.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule PlausibleWeb.Plugins.API.Controllers.Funnels do
55
use PlausibleWeb, :plugins_api_controller
66

77
operation(:create,
8-
id: "Funnel.GetOrCreate",
8+
operation_id: "Funnel.GetOrCreate",
99
summary: "Get or create Funnel",
1010
request_body: {"Funnel params", "application/json", Schemas.Funnel.CreateRequest},
1111
responses: %{

lib/plausible_web/plugins/api/controllers/custom_props.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule PlausibleWeb.Plugins.API.Controllers.CustomProps do
55
use PlausibleWeb, :plugins_api_controller
66

77
operation(:enable,
8-
id: "CustomProp.GetOrEnable",
8+
operation_id: "CustomProp.GetOrEnable",
99
summary: "Get or enable CustomProp(s)",
1010
request_body:
1111
{"CustomProp enable params", "application/json", Schemas.CustomProp.EnableRequest},
@@ -50,7 +50,7 @@ defmodule PlausibleWeb.Plugins.API.Controllers.CustomProps do
5050
end
5151

5252
operation(:disable,
53-
id: "CustomProp.DisableBulk",
53+
operation_id: "CustomProp.DisableBulk",
5454
summary: "Disable CustomProp(s)",
5555
request_body:
5656
{"CustomProp disable params", "application/json", Schemas.CustomProp.DisableRequest},

lib/plausible_web/plugins/api/controllers/goals.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule PlausibleWeb.Plugins.API.Controllers.Goals do
55
use PlausibleWeb, :plugins_api_controller
66

77
operation(:create,
8-
id: "Goal.GetOrCreate",
8+
operation_id: "Goal.GetOrCreate",
99
summary: "Get or create Goal",
1010
request_body: {"Goal params", "application/json", Schemas.Goal.CreateRequest},
1111
responses: %{
@@ -141,7 +141,7 @@ defmodule PlausibleWeb.Plugins.API.Controllers.Goals do
141141
end
142142

143143
operation(:delete_bulk,
144-
id: "Goal.DeleteBulk",
144+
operation_id: "Goal.DeleteBulk",
145145
summary: "Delete Goals in bulk",
146146
request_body: {"Goal params", "application/json", Schemas.Goal.DeleteBulkRequest},
147147
responses: %{

mix.exs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -70,24 +70,24 @@ defmodule Plausible.MixProject do
7070
{:bamboo_mua, "~> 0.2.0"},
7171
{:bcrypt_elixir, "~> 3.3"},
7272
{:bypass, "~> 2.1", only: [:dev, :test, :ce_test]},
73-
{:ecto_ch, "~> 0.7.1"},
73+
{:ecto_ch, "~> 0.8.2"},
7474
{:cloak, "~> 1.1"},
7575
{:cloak_ecto, "~> 1.2"},
7676
{:combination, "~> 0.0.3"},
7777
{:cors_plug, "~> 3.0"},
78-
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
79-
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
78+
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
79+
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
8080
{:double, "~> 0.8.0", only: [:dev, :test, :ce_test, :ce_dev]},
81-
{:ecto, "~> 3.13.2"},
81+
{:ecto, "~> 3.13.5"},
8282
{:ecto_sql, "~> 3.13.2"},
8383
{:envy, "~> 1.1.1"},
8484
{:eqrcode, "~> 0.2.1"},
8585
{:ex_machina, "~> 2.3", only: [:dev, :test, :ce_dev, :ce_test]},
8686
{:excoveralls, "~> 0.10", only: :test},
87-
{:finch, "~> 0.19.0"},
87+
{:finch, "~> 0.20.0"},
8888
{:floki, "~> 0.36"},
8989
{:lazy_html, "~> 0.1.8"},
90-
{:fun_with_flags, "~> 1.11.0"},
90+
{:fun_with_flags, "~> 1.13.0"},
9191
{:fun_with_flags_ui, "~> 1.0"},
9292
{:locus, "~> 2.3"},
9393
{:gen_cycle, "~> 1.0.4"},
@@ -97,33 +97,33 @@ defmodule Plausible.MixProject do
9797
{:mox, "~> 1.0", only: [:test, :ce_test]},
9898
{:nanoid, "~> 2.1.0"},
9999
{:nimble_totp, "~> 1.0"},
100-
{:oban, "~> 2.19.1"},
100+
{:oban, "~> 2.20.1"},
101101
{:observer_cli, "~> 1.7"},
102102
{:opentelemetry, "~> 1.1"},
103103
{:opentelemetry_api, "~> 1.1"},
104104
{:opentelemetry_ecto, "~> 1.1.0"},
105105
{:opentelemetry_exporter, "~> 1.6.0"},
106106
{:opentelemetry_phoenix, "~> 1.0"},
107107
{:opentelemetry_oban, "~> 1.1.1"},
108-
{:phoenix, "~> 1.8.0"},
108+
{:phoenix, "~> 1.8.2"},
109109
{:phoenix_view, "~> 2.0"},
110110
{:phoenix_ecto, "~> 4.5"},
111111
{:phoenix_html, "~> 4.1"},
112112
{:phoenix_live_reload, "~> 1.2", only: [:dev, :ce_dev]},
113113
{:phoenix_pubsub, "~> 2.0"},
114-
{:phoenix_live_view, "~> 1.1"},
114+
{:phoenix_live_view, "~> 1.1.17"},
115115
{:php_serializer, "~> 2.0"},
116116
{:plug, "~> 1.13", override: true},
117117
{:prima, "~> 0.2.1"},
118118
{:plug_cowboy, "~> 2.3"},
119119
{:polymorphic_embed, "~> 5.0"},
120-
{:postgrex, "~> 0.19.0"},
120+
{:postgrex, "~> 0.21.1"},
121121
{:prom_ex, "~> 1.8"},
122-
{:peep, "~> 3.4"},
122+
{:peep, "~> 3.0"},
123123
{:public_suffix, git: "https://github.com/axelson/publicsuffix-elixir"},
124124
{:ref_inspector, "~> 2.0"},
125125
{:referrer_blocklist, git: "https://github.com/plausible/referrer-blocklist.git"},
126-
{:sentry, "~> 10.8.1"},
126+
{:sentry, "~> 11.0.4"},
127127
{:simple_saml, "~> 1.2"},
128128
{:xml_builder, "~> 2.1"},
129129
{:siphash, "~> 3.2"},
@@ -132,28 +132,28 @@ defmodule Plausible.MixProject do
132132
git: "https://github.com/plausible/ua_inspector.git", branch: "sanitize-pre"},
133133
{:ex_doc, "~> 0.28", only: :dev, runtime: false},
134134
{:ex_money, "~> 5.12"},
135-
{:mjml_eex, "~> 0.11.0"},
136-
{:mjml, "~> 3.1.0"},
135+
{:mjml_eex, "~> 0.12.0"},
136+
{:mjml, "~> 4.0.0"},
137137
{:heroicons, "~> 0.5.0"},
138138
{:zxcvbn, git: "https://github.com/techgaun/zxcvbn-elixir.git"},
139-
{:open_api_spex, "~> 3.18"},
139+
{:open_api_spex, "~> 3.22.1"},
140140
{:joken, "~> 2.5"},
141141
{:paginator, git: "https://github.com/duffelhq/paginator.git"},
142-
{:scrivener_ecto, "~> 2.0"},
142+
{:scrivener_ecto, "~> 3.1"},
143143
{:esbuild, "~> 0.7", runtime: Mix.env() in [:dev, :ce_dev]},
144144
{:tailwind, "~> 0.4.0", runtime: Mix.env() in [:dev, :ce_dev]},
145145
{:ex_json_logger, "~> 1.4.0"},
146-
{:ecto_network, "~> 1.5.0"},
146+
{:ecto_network, "~> 1.6.0"},
147147
{:ex_aws, "~> 2.5"},
148148
{:ex_aws_s3, "~> 2.5"},
149149
{:sweet_xml, "~> 0.7.4"},
150150
{:zstream, "~> 0.6.4"},
151151
{:con_cache,
152152
git: "https://github.com/aerosol/con_cache", branch: "ensure-dirty-ops-emit-telemetry"},
153-
{:req, "~> 0.5.0"},
153+
{:req, "~> 0.5.16"},
154154
{:happy_tcp, github: "ruslandoga/happy_tcp", only: [:ce, :ce_dev, :ce_test]},
155-
{:ex_json_schema, "~> 0.10.2"},
156-
{:odgn_json_pointer, "~> 3.0.1"},
155+
{:ex_json_schema, "~> 0.11.1"},
156+
{:odgn_json_pointer, "~> 3.1.0"},
157157
{:phoenix_bakery, "~> 0.1.2", only: [:ce, :ce_dev, :ce_test]},
158158
{:site_encrypt, github: "sasa1977/site_encrypt", only: [:ce, :ce_dev, :ce_test]},
159159
{:phoenix_storybook, "~> 0.9"},

0 commit comments

Comments
 (0)