diff --git a/.bumpversion.cfg b/.bumpversion.cfg index f8bcb9cda428..18bedba411d6 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2024.6.4 +current_version = 2024.8.0 tag = True commit = True parse = (?P\d+)\.(?P\d+)\.(?P\d+)(?:-(?P[a-zA-Z-]+)(?P[1-9]\\d*))? diff --git a/authentik/__init__.py b/authentik/__init__.py index fb1233ae4edb..655f2dfdb66b 100644 --- a/authentik/__init__.py +++ b/authentik/__init__.py @@ -2,7 +2,7 @@ from os import environ -__version__ = "2024.6.4" +__version__ = "2024.8.0" ENV_GIT_HASH_KEY = "GIT_BUILD_HASH" diff --git a/authentik/providers/saml/tests/test_metadata.py b/authentik/providers/saml/tests/test_metadata.py index e61e50bad01d..e309cde23edf 100644 --- a/authentik/providers/saml/tests/test_metadata.py +++ b/authentik/providers/saml/tests/test_metadata.py @@ -54,7 +54,11 @@ def test_schema(self): request = self.factory.get("/") metadata = lxml_from_string(MetadataProcessor(provider, request).build_entity_descriptor()) - schema = etree.XMLSchema(etree.parse("schemas/saml-schema-metadata-2.0.xsd")) # nosec + schema = etree.XMLSchema( + etree.parse( + source="schemas/saml-schema-metadata-2.0.xsd", parser=etree.XMLParser() + ) # nosec + ) self.assertTrue(schema.validate(metadata)) def test_schema_want_authn_requests_signed(self): diff --git a/authentik/providers/saml/tests/test_schema.py b/authentik/providers/saml/tests/test_schema.py index 34e33cf8aced..4f70541b335c 100644 --- a/authentik/providers/saml/tests/test_schema.py +++ b/authentik/providers/saml/tests/test_schema.py @@ -47,7 +47,9 @@ def test_request_schema(self): metadata = lxml_from_string(request) - schema = etree.XMLSchema(etree.parse("schemas/saml-schema-protocol-2.0.xsd")) # nosec + schema = etree.XMLSchema( + etree.parse("schemas/saml-schema-protocol-2.0.xsd", parser=etree.XMLParser()) # nosec + ) self.assertTrue(schema.validate(metadata)) def test_response_schema(self): @@ -68,5 +70,7 @@ def test_response_schema(self): metadata = lxml_from_string(response) - schema = etree.XMLSchema(etree.parse("schemas/saml-schema-protocol-2.0.xsd")) # nosec + schema = etree.XMLSchema( + etree.parse("schemas/saml-schema-protocol-2.0.xsd", parser=etree.XMLParser()) # nosec + ) self.assertTrue(schema.validate(metadata)) diff --git a/authentik/sources/saml/tests/test_metadata.py b/authentik/sources/saml/tests/test_metadata.py index 64bc7147452d..e267d383eec3 100644 --- a/authentik/sources/saml/tests/test_metadata.py +++ b/authentik/sources/saml/tests/test_metadata.py @@ -30,7 +30,9 @@ def test_metadata_schema(self): xml = MetadataProcessor(self.source, request).build_entity_descriptor() metadata = lxml_from_string(xml) - schema = etree.XMLSchema(etree.parse("schemas/saml-schema-metadata-2.0.xsd")) # nosec + schema = etree.XMLSchema( + etree.parse("schemas/saml-schema-metadata-2.0.xsd", parser=etree.XMLParser()) # nosec + ) self.assertTrue(schema.validate(metadata)) def test_metadata_consistent(self): diff --git a/blueprints/schema.json b/blueprints/schema.json index 890022991ca8..0dd3381e22f1 100644 --- a/blueprints/schema.json +++ b/blueprints/schema.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema", "$id": "https://goauthentik.io/blueprints/schema.json", "type": "object", - "title": "authentik 2024.6.4 Blueprint schema", + "title": "authentik 2024.8.0 Blueprint schema", "required": [ "version", "entries" diff --git a/docker-compose.yml b/docker-compose.yml index ed6d96c1f321..2117aef1c31d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ services: volumes: - redis:/data server: - image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.6.4} + image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.8.0} restart: unless-stopped command: server environment: @@ -52,7 +52,7 @@ services: - postgresql - redis worker: - image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.6.4} + image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.8.0} restart: unless-stopped command: worker environment: diff --git a/internal/constants/constants.go b/internal/constants/constants.go index 309e277e0432..64f33daf8ed9 100644 --- a/internal/constants/constants.go +++ b/internal/constants/constants.go @@ -29,4 +29,4 @@ func UserAgent() string { return fmt.Sprintf("authentik@%s", FullVersion()) } -const VERSION = "2024.6.4" +const VERSION = "2024.8.0" diff --git a/package.json b/package.json index 69b8cd30a0d6..6e4e80021ea1 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "name": "@goauthentik/authentik", - "version": "2024.6.4", + "version": "2024.8.0", "private": true } diff --git a/pyproject.toml b/pyproject.toml index 82b0306f3d76..2778dfa6b458 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "authentik" -version = "2024.6.4" +version = "2024.8.0" description = "" authors = ["authentik Team "] diff --git a/schema.yml b/schema.yml index 6c21371d7b52..1fd561745bb9 100644 --- a/schema.yml +++ b/schema.yml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: authentik - version: 2024.6.4 + version: 2024.8.0 description: Making authentication simple. contact: email: hello@goauthentik.io diff --git a/web/src/common/constants.ts b/web/src/common/constants.ts index 9ecf0e39684f..e6b71a666bf4 100644 --- a/web/src/common/constants.ts +++ b/web/src/common/constants.ts @@ -3,7 +3,7 @@ export const SUCCESS_CLASS = "pf-m-success"; export const ERROR_CLASS = "pf-m-danger"; export const PROGRESS_CLASS = "pf-m-in-progress"; export const CURRENT_CLASS = "pf-m-current"; -export const VERSION = "2024.6.4"; +export const VERSION = "2024.8.0"; export const TITLE_DEFAULT = "authentik"; export const ROUTE_SEPARATOR = ";";