Skip to content

Commit 71c35c4

Browse files
committed
chore: forward-port from 1.2 (solve issue astarte-platform#1072)
Update astarte_core lib 1.3 to fix issue astarte-platform#1072 (insufficient validation for mismatching mapping options in interfaces with object aggregation) (Forward-port from 1.2) Signed-off-by: frossq <francesco.asquini@secomind.com>
2 parents d0bf33e + 07eecd0 commit 71c35c4

File tree

15 files changed

+56
-20
lines changed

15 files changed

+56
-20
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9797

9898
### Fixed
9999

100+
- [astarte_realm_management] Insufficient validation for conflicting options in interface aggregate mappings
101+
[#1072](https://github.com/astarte-platform/astarte/issues/1072)
102+
103+
## [1.2.1-rc.1] - 2026-02-13
104+
100105
- [astarte_realm_management] Bug where devices got stuck in the "in deletion" status: [#1493](https://github.com/astarte-platform/astarte/issues/1493).
106+
- [astarte_data_updater_plant] Correctly reconnect to AMQP after a connection loss
107+
- [astarte_data_updater_plant] Fix possible crash when sending data on interface-specific volatile triggers
101108

102109
## [1.2.1-rc.0] - 2025-08-26
103110

apps/astarte_appengine_api/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ defmodule Astarte.AppEngine.API.Mixfile do
6060
defp astarte_required_modules(_) do
6161
[
6262
{:astarte_core,
63-
github: "astarte-platform/astarte_core", tag: "v1.3.0-rc.1", override: true},
63+
github: "astarte-platform/astarte_core", branch: "release-1.3", override: true},
6464
{:astarte_generators, github: "astarte-platform/astarte_generators", only: [:dev, :test]},
6565
{:astarte_realm_management,
6666
path: "../astarte_realm_management", only: :test, runtime: false}

apps/astarte_appengine_api/mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%{
22
"amqp": {:hex, :amqp, "3.3.2", "6cad7469957b29c517a26a27474828f1db28278a13bcc2e7970db9854a3d3080", [:mix], [{:amqp_client, "~> 3.9", [hex: :amqp_client, repo: "hexpm", optional: false]}], "hexpm", "f977c41d81b65a21234a9158e6491b2296f8bd5bda48d5b611a64b6e0d2c3f31"},
33
"amqp_client": {:hex, :amqp_client, "3.12.14", "2b677bc3f2e2234ba7517042b25d72071a79735042e91f9116bd3c176854b622", [:make, :rebar3], [{:credentials_obfuscation, "3.4.0", [hex: :credentials_obfuscation, repo: "hexpm", optional: false]}, {:rabbit_common, "3.12.14", [hex: :rabbit_common, repo: "hexpm", optional: false]}], "hexpm", "5f70b6c3b1a739790080da4fddc94a867e99f033c4b1edc20d6ff8b8fb4bd160"},
4-
"astarte_core": {:git, "https://github.com/astarte-platform/astarte_core.git", "ed0f13174a94de5f6107aa327b61e7697ca4a224", [tag: "v1.3.0-rc.1"]},
4+
"astarte_core": {:git, "https://github.com/astarte-platform/astarte_core.git", "42b92a5c83aae0e5de23a4f611e87d703a5a24d5", [branch: "release-1.3"]},
55
"astarte_generators": {:git, "https://github.com/astarte-platform/astarte_generators.git", "673834e5a90c753c3cc22ad53be20b705c827d4a", []},
66
"astarte_rpc": {:hex, :astarte_rpc, "1.2.0", "dcef7434bf3f19ff30ff0bc245ef2d3b0f9abeb369405713cfd28916a5635926", [:mix], [{:amqp, "~> 3.3", [hex: :amqp, repo: "hexpm", optional: false]}, {:castore, "~> 1.0.0", [hex: :castore, repo: "hexpm", optional: false]}, {:protobuf, "~> 0.12", [hex: :protobuf, repo: "hexpm", optional: false]}, {:skogsra, "~> 2.2", [hex: :skogsra, repo: "hexpm", optional: false]}], "hexpm", "8470ed2f116fa8c9d70845f295f3738529aff123d9d3f98cbfa37107314763cb"},
77
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},

apps/astarte_data_updater_plant/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ defmodule Astarte.DataUpdaterPlant.Mixfile do
6060
defp astarte_required_modules(_) do
6161
[
6262
{:astarte_core,
63-
github: "astarte-platform/astarte_core", tag: "v1.3.0-rc.1", override: true},
63+
github: "astarte-platform/astarte_core", branch: "release-1.3", override: true},
6464
{:astarte_generators, github: "astarte-platform/astarte_generators", only: [:dev, :test]},
6565
{:astarte_realm_management,
6666
path: "../astarte_realm_management", only: :test, runtime: false},

apps/astarte_data_updater_plant/mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%{
22
"amqp": {:hex, :amqp, "3.3.2", "6cad7469957b29c517a26a27474828f1db28278a13bcc2e7970db9854a3d3080", [:mix], [{:amqp_client, "~> 3.9", [hex: :amqp_client, repo: "hexpm", optional: false]}], "hexpm", "f977c41d81b65a21234a9158e6491b2296f8bd5bda48d5b611a64b6e0d2c3f31"},
33
"amqp_client": {:hex, :amqp_client, "3.12.14", "2b677bc3f2e2234ba7517042b25d72071a79735042e91f9116bd3c176854b622", [:make, :rebar3], [{:credentials_obfuscation, "3.4.0", [hex: :credentials_obfuscation, repo: "hexpm", optional: false]}, {:rabbit_common, "3.12.14", [hex: :rabbit_common, repo: "hexpm", optional: false]}], "hexpm", "5f70b6c3b1a739790080da4fddc94a867e99f033c4b1edc20d6ff8b8fb4bd160"},
4-
"astarte_core": {:git, "https://github.com/astarte-platform/astarte_core.git", "ed0f13174a94de5f6107aa327b61e7697ca4a224", [tag: "v1.3.0-rc.1"]},
4+
"astarte_core": {:git, "https://github.com/astarte-platform/astarte_core.git", "42b92a5c83aae0e5de23a4f611e87d703a5a24d5", [branch: "release-1.3"]},
55
"astarte_generators": {:git, "https://github.com/astarte-platform/astarte_generators.git", "772d56ac25ac9c3a05514bf20476e91a8de39c22", []},
66
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
77
"castore": {:hex, :castore, "1.0.17", "4f9770d2d45fbd91dcf6bd404cf64e7e58fed04fadda0923dc32acca0badffa2", [:mix], [], "hexpm", "12d24b9d80b910dd3953e165636d68f147a31db945d2dcb9365e441f8b5351e5"},

apps/astarte_housekeeping/mix.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ defmodule Astarte.Housekeeping.Mixfile do
6060

6161
defp astarte_required_modules(_) do
6262
[
63-
{:astarte_core, github: "astarte-platform/astarte_core", tag: "v1.3.0-rc.1", override: true}
63+
{:astarte_core,
64+
github: "astarte-platform/astarte_core", branch: "release-1.3", override: true}
6465
]
6566
end
6667

apps/astarte_housekeeping/mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%{
22
"amqp": {:hex, :amqp, "3.3.2", "6cad7469957b29c517a26a27474828f1db28278a13bcc2e7970db9854a3d3080", [:mix], [{:amqp_client, "~> 3.9", [hex: :amqp_client, repo: "hexpm", optional: false]}], "hexpm", "f977c41d81b65a21234a9158e6491b2296f8bd5bda48d5b611a64b6e0d2c3f31"},
33
"amqp_client": {:hex, :amqp_client, "3.12.14", "2b677bc3f2e2234ba7517042b25d72071a79735042e91f9116bd3c176854b622", [:make, :rebar3], [{:credentials_obfuscation, "3.4.0", [hex: :credentials_obfuscation, repo: "hexpm", optional: false]}, {:rabbit_common, "3.12.14", [hex: :rabbit_common, repo: "hexpm", optional: false]}], "hexpm", "5f70b6c3b1a739790080da4fddc94a867e99f033c4b1edc20d6ff8b8fb4bd160"},
4-
"astarte_core": {:git, "https://github.com/astarte-platform/astarte_core.git", "ed0f13174a94de5f6107aa327b61e7697ca4a224", [tag: "v1.3.0-rc.1"]},
4+
"astarte_core": {:git, "https://github.com/astarte-platform/astarte_core.git", "42b92a5c83aae0e5de23a4f611e87d703a5a24d5", [branch: "release-1.3"]},
55
"astarte_generators": {:git, "https://github.com/astarte-platform/astarte_generators.git", "fac08cf4152601d345b4f177a145ad888ad35f3b", []},
66
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
77
"castore": {:hex, :castore, "1.0.17", "4f9770d2d45fbd91dcf6bd404cf64e7e58fed04fadda0923dc32acca0badffa2", [:mix], [], "hexpm", "12d24b9d80b910dd3953e165636d68f147a31db945d2dcb9365e441f8b5351e5"},

apps/astarte_pairing/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ defmodule Astarte.Pairing.Mixfile do
6161
defp astarte_required_modules(_) do
6262
[
6363
{:astarte_core,
64-
github: "astarte-platform/astarte_core", tag: "v1.3.0-rc.1", override: true},
64+
github: "astarte-platform/astarte_core", branch: "release-1.3", override: true},
6565
{:astarte_generators, github: "astarte-platform/astarte_generators", only: [:dev, :test]},
6666
{:astarte_realm_management,
6767
path: "../astarte_realm_management", only: :test, runtime: false}

apps/astarte_pairing/mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%{
22
"amqp": {:hex, :amqp, "3.3.2", "6cad7469957b29c517a26a27474828f1db28278a13bcc2e7970db9854a3d3080", [:mix], [{:amqp_client, "~> 3.9", [hex: :amqp_client, repo: "hexpm", optional: false]}], "hexpm", "f977c41d81b65a21234a9158e6491b2296f8bd5bda48d5b611a64b6e0d2c3f31"},
33
"amqp_client": {:hex, :amqp_client, "3.12.14", "2b677bc3f2e2234ba7517042b25d72071a79735042e91f9116bd3c176854b622", [:make, :rebar3], [{:credentials_obfuscation, "3.4.0", [hex: :credentials_obfuscation, repo: "hexpm", optional: false]}, {:rabbit_common, "3.12.14", [hex: :rabbit_common, repo: "hexpm", optional: false]}], "hexpm", "5f70b6c3b1a739790080da4fddc94a867e99f033c4b1edc20d6ff8b8fb4bd160"},
4-
"astarte_core": {:git, "https://github.com/astarte-platform/astarte_core.git", "ed0f13174a94de5f6107aa327b61e7697ca4a224", [tag: "v1.3.0-rc.1"]},
4+
"astarte_core": {:git, "https://github.com/astarte-platform/astarte_core.git", "42b92a5c83aae0e5de23a4f611e87d703a5a24d5", [branch: "release-1.3"]},
55
"astarte_generators": {:git, "https://github.com/astarte-platform/astarte_generators.git", "200fd85e3f11e716c2aba0ce4d066d927c2f8754", []},
66
"astarte_rpc": {:hex, :astarte_rpc, "1.2.0", "dcef7434bf3f19ff30ff0bc245ef2d3b0f9abeb369405713cfd28916a5635926", [:mix], [{:amqp, "~> 3.3", [hex: :amqp, repo: "hexpm", optional: false]}, {:castore, "~> 1.0.0", [hex: :castore, repo: "hexpm", optional: false]}, {:protobuf, "~> 0.12", [hex: :protobuf, repo: "hexpm", optional: false]}, {:skogsra, "~> 2.2", [hex: :skogsra, repo: "hexpm", optional: false]}], "hexpm", "8470ed2f116fa8c9d70845f295f3738529aff123d9d3f98cbfa37107314763cb"},
77
"bcrypt_elixir": {:hex, :bcrypt_elixir, "2.3.1", "5114d780459a04f2b4aeef52307de23de961b69e13a5cd98a911e39fda13f420", [:make, :mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "42182d5f46764def15bf9af83739e3bf4ad22661b1c34fc3e88558efced07279"},

apps/astarte_realm_management/mix.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ defmodule Astarte.RealmManagement.Mixfile do
6464

6565
defp astarte_required_modules(_) do
6666
[
67-
{:astarte_core, github: "astarte-platform/astarte_core", tag: "v1.3.0-rc.1", override: true}
67+
{:astarte_core,
68+
github: "astarte-platform/astarte_core", branch: "release-1.3", override: true}
6869
]
6970
end
7071

0 commit comments

Comments
 (0)