From c4e6251b5375277c1084145d03cfc6dfa6c768cd Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Sun, 5 May 2019 12:24:46 +0200 Subject: [PATCH] Update CHANGELOG.md * add fixed bugs for coming 1.0.0* * fix some typo and 'styling' --- CHANGELOG.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7b711b..3370324 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,18 @@ ## 1.0.0 -*Breaking changes* of the linter usage. The linter now is a Django management command. -It shoud be used with a `python manage.py lintmigrations` followed by the usual options. +**Breaking changes** of the linter usage. The linter now is a Django management command. +It should be used with a `python manage.py lintmigrations` followed by the usual options. Additionally, the linter now needs to be added the to the `INSTALLED_APPS` in your Django settings. * The linter is now much faster: we don't setup django once for each migration * The linter is now more robust: we rely on Django internals to discover migrations * Clean up of the testing setup: it is cleaner, less brittle and we have more confidence that it works +Fixed bugs: + +* Made the cache database-dependent. Between multiple databases, some migrations would be considered correct while they are not on the used DB. +* Adding an erroneous migration to the ignore list on the second run would get the migration content from the cache and not ignore it. + ## 0.1.5 * Bug fix: handle migration files with spaces in their name by quoting the migration name