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
byget_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 bypreloads
but still available during the migration time. - Breaking:
An automatic registration is assumed. See Connection for examples. - Breaking:
--app
orEDGY_DEFAULT_APP
must point to a module which does the self-registration not an app instance anymore. - Deprecate
edgy.conf.enums.EnvironmentType
. EsmeraldsEnvironmentType
or an own definition should be used instead. - Deprecate
edgy.conf.module_import.import_string
. Usemonkay.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.