Amsterdam-schema-tools

Latest version: v6.1.1

Safety actively analyzes 669201 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 19

6.1.1

* Fixed crash in `schema permissions apply` for tables that don't have a sequence in the database.

6.1

* Added SQL SEQUENCE permissions in `schema permissions apply` to make `pg_dump` access easier.
* Added `has_field_filter_access()` and `filter_auth` (`filterAuth` in schema) to add permissions for list filtering.
* Added `DatasetFieldSchema.is_relation` for convenience.
* Fixed `schema permissions apply` to set the correct database grants for nested/through tables (only affects `brk.kadastraleobjecten.soortCultuurBebouwd` for now).
* Fixed accessing `DatasetFieldSchema.unit` if the unit is missing.
* Fixed typo in unused property `discription_with_unit` -> `description_with_unit`.
* Fixed clearing cached properties when `auth` or `filterAuth` are updated.

6.0.1

* Fix Django<4.2 pinning.

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 deprecated API's (`schematools.utils` and `is_relation_temporal`).
* Removed wirerope dependency.
* Removed Python 3.8 style annotations.

5.27.0

* Add `unit` and `description_with_unit` properties to fields.

5.26.1

* Change `id_field` to snake_case. It is directly used in sql queries.

Page 1 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.