From b7c934fcd6fcc01c4520337b506fba362ff81936 Mon Sep 17 00:00:00 2001 From: canonical-iam <138670518+canonical-iam@users.noreply.github.com> Date: Fri, 7 Mar 2025 16:41:22 +0000 Subject: [PATCH] ci: release 0.21.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 78 +++++++++++++++++++++++++++++++++++ internal/version/const.go | 2 +- rockcraft.yaml | 24 ++++++----- 4 files changed, 93 insertions(+), 13 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 86b0e83d7..6c7bc2ea7 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.21.0" + ".": "0.21.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index dfbf5caf0..c67aa9da9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,83 @@ # Changelog +## [0.21.1](https://github.com/canonical/identity-platform-login-ui/compare/v0.21.0...v0.21.1) (2025-03-07) + + +### Bug Fixes + +* add kratos to csp if needed ([1730db1](https://github.com/canonical/identity-platform-login-ui/commit/1730db1ccfd05ce3ddd40c987f83d20e8edb1faf)) +* add required value for config ([ad3188a](https://github.com/canonical/identity-platform-login-ui/commit/ad3188a2e5b66806e1782d33a61041f8c48bfa2d)) +* allow frontend to set return_to ([81eff57](https://github.com/canonical/identity-platform-login-ui/commit/81eff57ec5cb412bfd8be57d9a943e1678183ed7)) +* check required session aal in consent ([0759c40](https://github.com/canonical/identity-platform-login-ui/commit/0759c40da15b1d426ca75c873aedc2856e250df7)) +* **deps:** update dependency @canonical/react-components to v1.10.0 ([0d25000](https://github.com/canonical/identity-platform-login-ui/commit/0d25000bbc36072916cf9ad638bbe39c590110b7)) +* **deps:** update dependency @canonical/react-components to v1.10.0 ([fa40304](https://github.com/canonical/identity-platform-login-ui/commit/fa403044d434505113ada5fb23995ec7132f3610)) +* **deps:** update dependency @canonical/react-components to v1.9.1 ([5d382ea](https://github.com/canonical/identity-platform-login-ui/commit/5d382eae02d4b33afde21e19f44f8a1cdd9fd434)) +* **deps:** update dependency @canonical/react-components to v1.9.1 ([ecaa1d9](https://github.com/canonical/identity-platform-login-ui/commit/ecaa1d9d667cdb2a8f746d6aa49ef04e584b18d0)) +* **deps:** update dependency @ory/client to v1.16.7 ([3a150ca](https://github.com/canonical/identity-platform-login-ui/commit/3a150ca897b7a20a0e074bdaa4742b5cce57fdf7)) +* **deps:** update dependency @ory/client to v1.16.7 ([868acc8](https://github.com/canonical/identity-platform-login-ui/commit/868acc8abefd3c397e4d0303080f854682cdae88)) +* **deps:** update dependency @ory/client to v1.17.2 ([ce86ffd](https://github.com/canonical/identity-platform-login-ui/commit/ce86ffd32ef6cd0aefc21ff04430c3b0a4e7881f)) +* **deps:** update dependency @ory/client to v1.17.2 ([7cab38e](https://github.com/canonical/identity-platform-login-ui/commit/7cab38ed7aaf885246c2660f2dd47d599b16d5c7)) +* **deps:** update dependency sass to v1.85.0 ([8288db0](https://github.com/canonical/identity-platform-login-ui/commit/8288db024798c530ddc8557f4524399b5561e1f2)) +* **deps:** update dependency sass to v1.85.0 ([61060b4](https://github.com/canonical/identity-platform-login-ui/commit/61060b492ab9c633cb07d2153d5ce84b515d065a)) +* **deps:** update dependency vanilla-framework to v4.21.0 ([9529b7f](https://github.com/canonical/identity-platform-login-ui/commit/9529b7fd7bc53f9d61a33375851f8eb669956585)) +* **deps:** update dependency vanilla-framework to v4.21.0 ([cf277a8](https://github.com/canonical/identity-platform-login-ui/commit/cf277a838d7228880f5da93624637352e2b64597)) +* **deps:** update go deps ([d9793b0](https://github.com/canonical/identity-platform-login-ui/commit/d9793b0ac1e46a7c35c119fed729e3d1225c74a7)) +* **deps:** update go deps ([1724e00](https://github.com/canonical/identity-platform-login-ui/commit/1724e00d583d7c95478dea1fd60aab2f1ea4942a)) +* **deps:** update go deps ([e7db62c](https://github.com/canonical/identity-platform-login-ui/commit/e7db62c446c17aa8ff245ff4051577084a0d5b54)) +* **deps:** update go deps (minor) ([73938ab](https://github.com/canonical/identity-platform-login-ui/commit/73938abb8dda589431d8b0eb5f3097d599466286)) +* **deps:** update go deps to v1.35.0 ([61e573e](https://github.com/canonical/identity-platform-login-ui/commit/61e573e28dfb066c514a2b64c1fa3655f89e3481)) +* **deps:** update go deps to v1.35.0 (minor) ([e38aa9e](https://github.com/canonical/identity-platform-login-ui/commit/e38aa9e83d998955bc7ce708fa0b32d5b8cfe946)) +* **deps:** update module github.com/ory/kratos-client-go to v1.3.5 ([f057485](https://github.com/canonical/identity-platform-login-ui/commit/f057485d2333c396af56d9867638c2fb8c807922)) +* **deps:** update module github.com/ory/kratos-client-go to v1.3.5 ([7ea4c06](https://github.com/canonical/identity-platform-login-ui/commit/7ea4c06819747db8356824e8f6ccf42e700e4869)) +* **deps:** update module github.com/ory/kratos-client-go to v1.3.6 ([d68830a](https://github.com/canonical/identity-platform-login-ui/commit/d68830af989e7be91003d823c006592932c3285f)) +* **deps:** update module github.com/ory/kratos-client-go to v1.3.6 ([6fec4d5](https://github.com/canonical/identity-platform-login-ui/commit/6fec4d56d19401a3948e608c305df8bf2cd9b033)) +* **deps:** update module github.com/ory/kratos-client-go to v1.3.8 ([12da2e9](https://github.com/canonical/identity-platform-login-ui/commit/12da2e9d86068a579404fc57bdc04dbb2376ca80)) +* **deps:** update module github.com/ory/kratos-client-go to v1.3.8 ([4cd9e47](https://github.com/canonical/identity-platform-login-ui/commit/4cd9e47708f7df62407da182b189fdbc4602c7fc)) +* **deps:** update module github.com/prometheus/client_golang to v1.21.0 ([ed04e8f](https://github.com/canonical/identity-platform-login-ui/commit/ed04e8f007e0f21e1a2d404ddf7d398626cde6da)) +* **deps:** update module github.com/prometheus/client_golang to v1.21.0 ([c1fc0c9](https://github.com/canonical/identity-platform-login-ui/commit/c1fc0c9108544704ab7fbe67a8ddce900d05c792)) +* **deps:** update module github.com/prometheus/client_golang to v1.21.1 ([eaadf04](https://github.com/canonical/identity-platform-login-ui/commit/eaadf04969f27b492824ece8587880f4715dee03)) +* **deps:** update module github.com/prometheus/client_golang to v1.21.1 ([ea5fe2e](https://github.com/canonical/identity-platform-login-ui/commit/ea5fe2e6f1aefa7f725b7c1fbe6e681626a1adb6)) +* **deps:** update module github.com/spf13/cobra to v1.9.0 ([bbae1d2](https://github.com/canonical/identity-platform-login-ui/commit/bbae1d23c07c8d1d6b367f063fbd9dbd6d715aaa)) +* **deps:** update module github.com/spf13/cobra to v1.9.0 ([c4297d0](https://github.com/canonical/identity-platform-login-ui/commit/c4297d01537cdddf49f9541d39a67e719dcc305f)) +* **deps:** update module github.com/spf13/cobra to v1.9.1 ([5f1df12](https://github.com/canonical/identity-platform-login-ui/commit/5f1df12b0a4001d2caa7696c1d090253de2d3ac3)) +* **deps:** update module github.com/spf13/cobra to v1.9.1 ([3f47047](https://github.com/canonical/identity-platform-login-ui/commit/3f470477f786655e8ef55ae31c32b11ea044cf99)) +* **deps:** update ui deps ([e8727f5](https://github.com/canonical/identity-platform-login-ui/commit/e8727f5bbbee21bb2e6a710167a3560002caea4b)) +* **deps:** update ui deps ([f55713f](https://github.com/canonical/identity-platform-login-ui/commit/f55713fbf291d8e15022866ee5ca57f8b470a7af)) +* **deps:** update ui deps ([05ce886](https://github.com/canonical/identity-platform-login-ui/commit/05ce886a2a6aab4a9df9b56c3fc84c86e2b370e6)) +* **deps:** update ui deps ([9081ab1](https://github.com/canonical/identity-platform-login-ui/commit/9081ab10d3b54604a3cc5986f6ff3b6caeffc1ce)) +* **deps:** update ui deps ([949bb16](https://github.com/canonical/identity-platform-login-ui/commit/949bb16d8872f1dff1f5f2cad7f0b965c893583c)) +* **deps:** update ui deps ([e6484f5](https://github.com/canonical/identity-platform-login-ui/commit/e6484f50a396f59be512e0350a224b255aed5d18)) +* **deps:** update ui deps ([fff28d3](https://github.com/canonical/identity-platform-login-ui/commit/fff28d3d7b923baf813205839971aee517f05ce5)) +* **deps:** update ui deps ([ec0ee96](https://github.com/canonical/identity-platform-login-ui/commit/ec0ee96b97792e0f5df82784d50350795f820ebe)) +* **deps:** update ui deps ([129f71d](https://github.com/canonical/identity-platform-login-ui/commit/129f71d47b4b672dd6b616be3b4010c4737f64e7)) +* **deps:** update ui deps (minor) ([fa8532e](https://github.com/canonical/identity-platform-login-ui/commit/fa8532eb5a009b257732090359cf309dc586da69)) +* **deps:** update ui deps (minor) ([8b34256](https://github.com/canonical/identity-platform-login-ui/commit/8b342568cf7b2a67bdbfd2e2371e303c6ccb73b6)) +* **deps:** update ui deps (minor) ([326fcff](https://github.com/canonical/identity-platform-login-ui/commit/326fcffe01cc5b8f677081bf9b83e07b5a4b219b)) +* **deps:** update ui deps (minor) ([8935ec5](https://github.com/canonical/identity-platform-login-ui/commit/8935ec5405a2298d5cff1f0203c588f1447845dd)) +* **deps:** update ui deps (minor) ([cc27ea9](https://github.com/canonical/identity-platform-login-ui/commit/cc27ea95b11d51d0bdca659f1e39802cbe2c9574)) +* **deps:** update ui deps (patch) ([9ea0db0](https://github.com/canonical/identity-platform-login-ui/commit/9ea0db0862d6bc03b67d3112cd02b7874a5a6dc1)) +* **deps:** update ui deps (patch) ([955e47f](https://github.com/canonical/identity-platform-login-ui/commit/955e47f3b6269de9170aba91c65c8fdf28c99eb1)) +* **deps:** update ui deps (patch) ([e3c9705](https://github.com/canonical/identity-platform-login-ui/commit/e3c9705dd2dbc0e7467bd9f7182cf9a8aa10bfdd)) +* **deps:** update ui deps (patch) ([021c1a9](https://github.com/canonical/identity-platform-login-ui/commit/021c1a9f38875a3e46569c10f4f3c8517cd4e113)) +* **deps:** update ui deps to v15.1.7 ([3c0a6cc](https://github.com/canonical/identity-platform-login-ui/commit/3c0a6cc6f329ee074c6c8e6a034ce76e8935dd75)) +* **deps:** update ui deps to v15.1.7 (patch) ([ef7b924](https://github.com/canonical/identity-platform-login-ui/commit/ef7b924a8af1dc2ab34c2c0bd641ce419ceaab44)) +* **deps:** update ui deps to v15.2.0 ([afb26ba](https://github.com/canonical/identity-platform-login-ui/commit/afb26bac3bb4b90242ea8255b9fa06127cb7b33a)) +* **deps:** update ui deps to v15.2.0 (minor) ([278b155](https://github.com/canonical/identity-platform-login-ui/commit/278b1556538c358ad2f4ca58285a22f0d0d0a41a)) +* handle redirect_to in error ([e315de8](https://github.com/canonical/identity-platform-login-ui/commit/e315de80a5278f239fec66c7432419d69f833aef)) +* hydrate flow with hydra req ([da06826](https://github.com/canonical/identity-platform-login-ui/commit/da06826b900636589bc9238d3eeefb850cb967de)) +* implement handling webauthn submission requests ([63cea2e](https://github.com/canonical/identity-platform-login-ui/commit/63cea2e29366fa8e073ef0b3623aed00b40fdbf4)) +* introduce `DEV` flag ([e69ece1](https://github.com/canonical/identity-platform-login-ui/commit/e69ece153f0f19b31ed0cee6aa7448954b0c2ddd)) +* remove redundant 'to' ([0bf51ca](https://github.com/canonical/identity-platform-login-ui/commit/0bf51ca0dc16e3662f38e15a83eb0cde42a2f097)) +* remove unused frontend code ([1278b68](https://github.com/canonical/identity-platform-login-ui/commit/1278b68b935bcc7e9b7081b6a43d431dd51dd04f)) +* return 200 if browser needs to redirect ([7a3ee3b](https://github.com/canonical/identity-platform-login-ui/commit/7a3ee3b0637decf44a6c790c243a94c1cbdbb471)) +* uniformly handle redirect responses ([26b0085](https://github.com/canonical/identity-platform-login-ui/commit/26b0085f2c298943e1b1a2141237f49f41eaed1e)) +* update go version in rockcraft ([f49f31d](https://github.com/canonical/identity-platform-login-ui/commit/f49f31d72efbc72ee5c4792103420b1d5826de72)) +* update hydra sdk ([cb27e82](https://github.com/canonical/identity-platform-login-ui/commit/cb27e8232af3db06de4aaa03c71033ed62d7d5a4)) +* update hydra sdk ([a7462e5](https://github.com/canonical/identity-platform-login-ui/commit/a7462e582c4a62e8083de3a70401b18dce5db915)) +* update openfga sdk ([bf34591](https://github.com/canonical/identity-platform-login-ui/commit/bf34591157118b6f16ada9ba71b43a816adbf624)) +* update openfga sdk ([bc04bb6](https://github.com/canonical/identity-platform-login-ui/commit/bc04bb61b38f4c1794cf9f609d4737d9c515603d)) +* use the backend to accept webauthn authn ([73afb6f](https://github.com/canonical/identity-platform-login-ui/commit/73afb6fad3d0d5bc68f54a78c8b4da2aeee64c90)) + ## [0.21.0](https://github.com/canonical/identity-platform-login-ui/compare/v0.20.0...v0.21.0) (2025-01-28) diff --git a/internal/version/const.go b/internal/version/const.go index 0927ca55e..4f73c934b 100644 --- a/internal/version/const.go +++ b/internal/version/const.go @@ -1,3 +1,3 @@ package version -const Version = "0.20.0" // x-release-please-version +const Version = "0.21.1" // x-release-please-version diff --git a/rockcraft.yaml b/rockcraft.yaml index 929d25d82..d0323c92d 100644 --- a/rockcraft.yaml +++ b/rockcraft.yaml @@ -1,23 +1,19 @@ name: identity-platform-login-ui - base: bare build-base: ubuntu@22.04 -version: '0.20.0' # x-release-please-version +version: 0.21.1 summary: Canonical Identity platform login UI description: | This is the Canonical Identity platform login UI used for connecting Ory Kratos with Ory Hydra. license: Apache-2.0 - platforms: - amd64: - + amd64: null services: login-ui: override: replace command: /usr/bin/identity-platform-login-ui serve startup: enabled - parts: go-build: plugin: go @@ -29,17 +25,23 @@ parts: build-packages: - make - git - override-build: | + override-build: > make npm-build build - install -D -m755 app ${CRAFT_PART_INSTALL}/opt/identity-platform-login-ui/bin/app + + install -D -m755 app + ${CRAFT_PART_INSTALL}/opt/identity-platform-login-ui/bin/app organize: opt/identity-platform-login-ui/bin/app: usr/bin/identity-platform-login-ui stage-packages: - base-files_var - deb-security-manifest: plugin: nil - override-prime: | + override-prime: > set -x + mkdir -p $CRAFT_PRIME/usr/share/rocks/ - (echo "# os-release" && cat /etc/os-release && echo "# dpkg-query" && dpkg-query --admindir=$CRAFT_PRIME/var/lib/dpkg/ -f '${db:Status-Abbrev},${binary:Package},${Version},${source:Package},${Source:Version}\n' -W) > $CRAFT_PRIME/usr/share/rocks/dpkg.query + + (echo "# os-release" && cat /etc/os-release && echo "# dpkg-query" && + dpkg-query --admindir=$CRAFT_PRIME/var/lib/dpkg/ -f + '${db:Status-Abbrev},${binary:Package},${Version},${source:Package},${Source:Version}\n' + -W) > $CRAFT_PRIME/usr/share/rocks/dpkg.query