Edgy

Latest version: v0.27.0

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

Scan your dependencies

Page 2 of 9

0.24.1

Fixed

- Comparation of a model with non-models.

0.24.0

Added

- True multi-database migrations.
You may need to rework your migrations in case you want to use it.
- Generalized `hash_to_identifier` function.
- `get_name` function on `metadata_by_url` dict.
- Differing databases can be passed via `database` attribute on models.
- `create` method on relations (reverse side of ForeignKeys and both sides of ManyToMany).

Changed

- Breaking: empty names are not allowed anymore for extra. This includes names consisting of spaces.

Fixed

- ForeignKey remote check failed for objects with different database but same registry.

0.23.3

Fixed

- Version number mismatch.

0.23.2

Fixed

- Docs were broken.
- Autodetection of the instance was broken when a directory containing dots is in the folder.
- Fix compatibility with pydantic 2.10.


Note: there is a version number mismatch.

0.23.0

Added

- Extension support via Monkay.

Changed

- Rework edgy to use Monkay.
- Imports are now lazy.
- Rework the migrate and shell system to simply use Monkay instance.
- Replace `get_registry_copy` by `get_migration_prepared_registry`.
- Breaking: migration configuration takes place in settings.
- Breaking: EdgyExtra and Migrate are replaced by `edgy.Instance` but are still available.
- Breaking: EdgyExtra is provided by the also obsolete Migrate.
- Breaking: `model_apps` is replaced by `preloads` but still available during the migration time.
- Breaking:
An automatic registration is assumed. See [Connection](connection.md) for examples.
- Breaking: `--app` or `EDGY_DEFAULT_APP` must point to a module which does the self-registration not an app instance anymore.
- Deprecate `edgy.conf.enums.EnvironmentType`. Esmeralds `EnvironmentType` or an own definition should be used instead.
- Deprecate `edgy.conf.module_import.import_string`. Use `monkay.load` instead.

Fixed

- Migrations with ManyToMany fields are broken.
- `get_engine_url_and_metadata` was broken for some operations (thanks kokoserver).
- IPAddressField was not exposed as edgy.IPAddressField.

Removed

- `edgy.conf.functional`. It was only used for configuration and is now superseeded by Monkay.

Contributors

Thanks a lot to kokoserver. He provided a *lot* of valuable bug reports and PRs.

0.22.0

Added

- Global constraints via meta.
- Allow functional indexes.
- Expose further parameters for UniqueConstraints.
- `no_copy` attribute for fields.

Changes

- Breaking: Factories pass now the kwargs as dict to get_pydantic_type, get_column_type, get_constraints.
This allows now modifying the arguments passed down to the field.
- Breaking: init_fields_mapping doesn't initializes the field stats anymore.
- Breaking: model rebuilds are executed lazily when calling init_fields_mapping not when assigning fields manually anymore.

Fixed

- Indexes and unique_together worked only for fields with columns of the same name.
- MigrateConfig has no get_registry_copy.
- Migrations have duplicate fks and crash.
- ContentTypes were not copyable.
- VirtualCascade was not automatically enabled.
- Improve lazyness by splitting in two variable sets.

Page 2 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.