From 1f6d2be62c3fa79d4c4c97cfeedb0a75f399996e Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Tue, 9 Jul 2024 08:32:10 +0200 Subject: [PATCH] Bump to v6.0 --- CHANGES.md | 11 +++++++++++ setup.cfg | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 3ddb2990..f9bfa368 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,14 @@ +# 2024-07-09 (6.0) + +* Improved performance of auth checks (especially `has_field_access()`). +* Changed method signature of `UserScopes.has_all_scopes()` and `UserScopes.has_any_scopes()` + (most callers should use `has_field_access()` anyway.) +* Block `deepcopy()` of schema fields, as it's very slow. +* Removed `DatasetType` base class. +* Removed `schema import events` code, as its no longer used. +* Removed wirerope dependency. +* Removed Python 3.8 style annotations. + # 2024-03-04 (5.27.0) * Add `unit` and `description_with_unit` properties to fields. diff --git a/setup.cfg b/setup.cfg index 0eaf6935..8dce9a95 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = amsterdam-schema-tools -version = 5.27.0 +version = 6.0 url = https://github.com/amsterdam/schema-tools license = Mozilla Public 2.0 author = Team Data Diensten, van het Dataplatform onder de Directie Digitale Voorzieningen (Gemeente Amsterdam) @@ -20,6 +20,8 @@ classifiers = License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) Programming Language :: Python Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 [options] package_dir = = src