From b5fffea154e255099bb0558e0cd8a25151ca17aa Mon Sep 17 00:00:00 2001 From: Mark Walker Date: Mon, 27 Feb 2023 16:35:13 +0000 Subject: [PATCH] chore: Release 3.1.1 (#529) * ci: Add makemigrations check to pre-commit * build: Bump to 3.1.1 * chore: Update ref to PR --- .editorconfig | 6 ++++++ .pre-commit-config.yaml | 7 +++++++ HISTORY.rst | 14 +++++++++----- explorer/__init__.py | 2 +- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/.editorconfig b/.editorconfig index ce420e5a..0ceae494 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,3 +12,9 @@ indent_size = 4 [*.py] max_line_length = 120 + +[*.yaml] +indent_size = 2 + +[*.yml] +indent_size = 2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1a233b20..03fc1bad 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,3 +40,10 @@ repos: rev: 5.12.0 hooks: - id: isort + + - repo: https://github.com/remastr/pre-commit-django-check-migrations + rev: v0.1.0 + hooks: + - id: check-migrations-created + args: [--manage-path=manage.py] + additional_dependencies: [django==4.1] diff --git a/HISTORY.rst b/HISTORY.rst index f583f53a..0998877b 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -9,9 +9,13 @@ This project adheres to `Semantic Versioning `_. --------------------- -`3.1.0`_ (2023-02-25) +`3.1.1`_ (2023-02-27) --------------------- +* `#529`_: Added ``makemigrations --check`` pre-commit hook +* `#528`_: Add missing migration +`3.1.0`_ (2023-02-25) +--------------------- * `#520`_: Favorite queries * `#519`_: Add labels to params like ``$$paramName|label:defaultValue$$`` * `#517`_: Pivot export @@ -21,8 +25,6 @@ This project adheres to `Semantic Versioning `_. * `#522`_: ci: coverage update * `#521`_: ci: Adding django 4.2 to the test suite - - `3.0.1`_ (2022-12-16) --------------------- * `#515`_: Fix for running without optional packages @@ -396,7 +398,8 @@ Initial Release .. _3.0: https://github.com/groveco/django-sql-explorer/compare/2.5.0...3.0 .. _3.0.1: https://github.com/groveco/django-sql-explorer/compare/3.0...3.0.1 .. _3.1.0: https://github.com/groveco/django-sql-explorer/compare/3.0.1...3.1.0 -.. _unreleased: https://github.com/groveco/django-sql-explorer/compare/3.1.0...master +.. _3.1.1: https://github.com/groveco/django-sql-explorer/compare/3.1.0...3.1.1 +.. _unreleased: https://github.com/groveco/django-sql-explorer/compare/3.1.1...master .. _#254: https://github.com/groveco/django-sql-explorer/pull/254 .. _#334: https://github.com/groveco/django-sql-explorer/pull/334 @@ -463,6 +466,8 @@ Initial Release .. _#522: https://github.com/groveco/django-sql-explorer/pull/522 .. _#523: https://github.com/groveco/django-sql-explorer/pull/523 .. _#524: https://github.com/groveco/django-sql-explorer/pull/524 +.. _#528: https://github.com/groveco/django-sql-explorer/pull/528 +.. _#529: https://github.com/groveco/django-sql-explorer/pull/529 .. _#269: https://github.com/groveco/django-sql-explorer/issues/269 .. _#288: https://github.com/groveco/django-sql-explorer/issues/288 @@ -480,5 +485,4 @@ Initial Release .. _#490: https://github.com/groveco/django-sql-explorer/issues/490 .. _#492: https://github.com/groveco/django-sql-explorer/issues/492 - .. _furo: https://github.com/pradyunsg/furo diff --git a/explorer/__init__.py b/explorer/__init__.py index 866304dd..deeddd3b 100644 --- a/explorer/__init__.py +++ b/explorer/__init__.py @@ -1,7 +1,7 @@ __version_info__ = { 'major': 3, 'minor': 1, - 'patch': 0, + 'patch': 1, 'releaselevel': 'final', 'serial': 0 }