Edgy

Latest version: v0.28.1

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

Scan your dependencies

Page 6 of 10

0.16.0

Added

- ASGI, async context manager support to connect/disconnect multiple dbs at once.
- `create_all`/`drop_all`, `create_schema`/`drop_schema` are now capable of initializing dbs in extra.
- Add `transaction` helper to Model and QuerySet.
- Allow copying models properly.
- Allow None as default.

Changed

- Unify `using` to allow setting schema and database via keyword arguments and deprecate both former calls.

Fixed

- Esmerald typing issues.
- Migration metadata was not completely initialized which caused problems.
- Foreign keys None/null handling was inconsistent. Now we have a None for unset foreign keys.

0.15.0

Added

- FileField and File handling.
- ImageField stub (more is comming soon)
- `stage` method in relations.
- ModelRefs passed as normal positional arguments are automatically staged.
- ContentType was added.
- Proper callback support was added.
- `remove_referenced` parameter for ForeignKeys was added.
- Virtual `CASCADE` deletion is now used for ForeignKeys without constraint.

Changed

- Breaking: ModelReferences use now the related name instead of the model name.
- Breaking: Field Factories pass now keyword arguments as positional dictionary. This way keyword arguments manipulations in validate are possible.
This way it can be distinguished between multiple foreign keys to the same model and self-references are possible.
- `model_references` are superseeded by `post_save_fields` in meta.
- ModelParser mixin is gone. Use the classmethod `extract_column_values` instead.
- edgy_settr is not used internally anymore (circular imports).
- `modify_input` receives now an argument phase.
- `foreign_key_fields` is now a frozenset.
- Switch away from nest_asyncio.
- All sqlalchemy operators are now accessable. The setting for them is gone.

Fixed

- Factory overwrites can now access owner.
- Foreign keys to reflected models.
- Handling to string references not in registry loaded yet.
- Timezone aware Datetime saved in timezone unaware database columns.

0.14.1

Changed

- Bump dependency of databasez.

Fixed

- Fix load_recursive.

0.14.0

Added

- Cache per queryset.
- Expose raw_query for getting a raw sqlalchemy query.
- Expose control for used batch size.
- Add load_recursive for initializing a nested model structure.

Changed

- Server defaults don't trigger load after saving.
- Less nested run_sync calls.
- Alter queryset methods to contain useful arguments, instead of ignoring kwargs.
- Replace QuerysetProtocol by abstract base type.

Fixed

- `get_or_none` was not abidding embed_parent.
- Correctly apply filters on relations.
- `last` and `first` don't fail without id column anymore.

0.13.1

Added

- Testclient can be configured via environment variables.

Fixed

- Compatibility with newer databasez releases (>0.9).

0.13.0

Added

- `default_timezone`, `force_timezone`, `remove_timezone` for DateTimeField.
- `default_timezone`, `force_timezone` for DateField.
- Add attribute `inject_default_on_partial_update`.
- Allow factories overwriting field methods.
- Deep embedding via embed_parent possible.
- Support for nearly all async sqlalchemy drivers plus more from databasez.

Changed

- `get_default_values` has now an extra keyword argument `is_update`
- `meta.fields_mapping` was renamed to `meta.fields`.-
- Factories have now different named configuration variables.
- Refactoring of fields and models:
- BaseModelType and BaseFieldType are now added and should be used for typings.
- `get_column` works now via extractor.
- Renamed internals.
- Splitted model_references and column values extraction.
- Comparisons of models use now only primary keys.
- Deprecate on model forwards signals, fields. Use now meta.signals, meta.fields.

Removed

- execsync (nearly no uses).
- DateParser mixin (superseeded by sqlalchemy's logic).

Fixed

- `auto_now` and `auto_now_add` now also work for date fields.
- `BinaryField` had a wrong type.
- Metaclasses with keyword arguments are now possible.
- Relaxed Prefetching, tables can now appear multiple times.
- `select_related` now correctly filters columns.

Page 6 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.