From e93d4ec4c72dee3073042511ef3a48d29c80f2d0 Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Wed, 10 Jul 2019 10:25:59 +0200 Subject: [PATCH] Bump to version 1.2.0 and update CHANGELOG.md --- CHANGELOG.md | 9 +++++++++ django_migration_linter/constants.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9251c4c..f160b463 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## 1.2.0 + +* Add `--unapplied-migrations` and `--applied-migrations` mutually exclusive options +in order to respectively lint only unapplied or applied migrations. +* When loading migration starting from a git ref, cross the found migrations +with the currently loaded migrations in the project. +* Add `--project-root-path` which allows to specify the root path +which is used for finding the `.git` folder. (thanks to @linuxmaniac) + ## 1.1.0 * Improve speed of ignored migration through the `IgnoreMigration` operation. diff --git a/django_migration_linter/constants.py b/django_migration_linter/constants.py index dd43d62d..2c4aa039 100644 --- a/django_migration_linter/constants.py +++ b/django_migration_linter/constants.py @@ -14,6 +14,6 @@ from appdirs import user_cache_dir -__version__ = "1.1.0" +__version__ = "1.2.0" DEFAULT_CACHE_PATH = user_cache_dir("django-migration-linter", version=__version__)