From d6c8941676205e4436c5458289be3cdcd1854eda Mon Sep 17 00:00:00 2001 From: long2ice Date: Fri, 7 Aug 2020 18:12:40 +0800 Subject: [PATCH] update CHANGELOG.rst --- CHANGELOG.rst => CHANGELOG.md | 70 +++++++++++++++++------------------ Makefile | 3 -- poetry.lock | 23 +++++++----- pyproject.toml | 4 +- 4 files changed, 49 insertions(+), 51 deletions(-) rename CHANGELOG.rst => CHANGELOG.md (75%) diff --git a/CHANGELOG.rst b/CHANGELOG.md similarity index 75% rename from CHANGELOG.rst rename to CHANGELOG.md index a6614d6..b25b56f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.md @@ -1,76 +1,74 @@ -========= -ChangeLog -========= -0.2 -=== +# ChangeLog + +## 0.2 + +### 0.2.3 -0.2.3 ------ - Fix tortoise ssl config. - PostgreSQL add/drop index/unique. -0.2.2 ------ +### 0.2.2 + - Fix postgres drop fk. - Fix version sort. -0.2.1 ------ +### 0.2.1 + - Fix bug in windows. - Enhance PostgreSQL support. -0.2.0 ------ -- Update model file find method. -- Set ``--safe`` bool. +### 0.2.0 + +- Update model file find method. +- Set `--safe` bool. + +## 0.1 + +### 0.1.9 -0.1 -=== -0.1.9 ------ - Fix default_connection when upgrade - Find default app instead of default. - Diff MySQL ddl. - Check tortoise config. -0.1.8 ------ +### 0.1.8 + - Fix upgrade error when migrate. - Fix init db sql error. - Support change column. -0.1.7 ------ +### 0.1.7 + - Exclude models.Aerich. - Add init record when init-db. - Fix version num str. -0.1.6 ------ +### 0.1.6 + - update dependency_links -0.1.5 ------ +### 0.1.5 + - Add sqlite and postgres support. - Fix dependency import. - Store versions in db. -0.1.4 ------ +### 0.1.4 + - Fix transaction and fields import. - Make unique index worked. - Add cli --version. -0.1.3 ------ +### 0.1.3 + - Support indexes and unique_together. -0.1.2 ------ +### 0.1.2 + - Now aerich support m2m. - Add cli cmd init-db. - Change cli options. -0.1.1 ------ -- Now aerich is basic worked. \ No newline at end of file +### 0.1.1 + +- Now aerich is basic worked. diff --git a/Makefile b/Makefile index ac687b2..17a783c 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,4 @@ testall: deps test_sqlite test_postgres test_mysql build: deps @poetry build -publish: deps - @poetry publish --build - ci: check testall \ No newline at end of file diff --git a/poetry.lock b/poetry.lock index b4d4570..a19eaeb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -283,7 +283,7 @@ description = "iniconfig: brain-dead simple config-ini parsing" name = "iniconfig" optional = false python-versions = "*" -version = "1.0.0" +version = "1.0.1" [[package]] category = "main" @@ -299,9 +299,10 @@ description = "A Python utility / library to sort Python imports." name = "isort" optional = false python-versions = ">=3.6,<4.0" -version = "5.2.0" +version = "5.3.2" [package.extras] +colors = ["colorama (>=0.4.3,<0.5.0)"] pipfile_deprecated_finder = ["pipreqs", "requirementslib", "tomlkit (>=0.5.3)"] requirements_deprecated_finder = ["pipreqs", "pip-api"] @@ -435,7 +436,7 @@ description = "A SQL query builder API for Python" name = "pypika" optional = false python-versions = "*" -version = "0.37.16" +version = "0.38.0" [[package]] category = "dev" @@ -443,7 +444,7 @@ description = "pytest: simple powerful testing with Python" name = "pytest" optional = false python-versions = ">=3.5" -version = "6.0.0" +version = "6.0.1" [package.dependencies] atomicwrites = ">=1.0" @@ -635,6 +636,7 @@ dbdrivers = ["aiomysql", "asyncpg"] [metadata] content-hash = "06f00778f783c4ad5b174a9c9ee80f4f0e38db9da9ff1012f09c7d306eaa0975" +lock-version = "1.0" python-versions = "^3.7" [metadata.files] @@ -788,7 +790,8 @@ importlib-metadata = [ {file = "importlib_metadata-1.7.0.tar.gz", hash = "sha256:90bb658cdbbf6d1735b6341ce708fc7024a3e14e99ffdc5783edea9f9b077f83"}, ] iniconfig = [ - {file = "iniconfig-1.0.0.tar.gz", hash = "sha256:aa0b40f50a00e72323cb5d41302f9c6165728fd764ac8822aa3fff00a40d56b4"}, + {file = "iniconfig-1.0.1-py3-none-any.whl", hash = "sha256:80cf40c597eb564e86346103f609d74efce0f6b4d4f30ec8ce9e2c26411ba437"}, + {file = "iniconfig-1.0.1.tar.gz", hash = "sha256:e5f92f89355a67de0595932a6c6c02ab4afddc6fcdc0bfc5becd0d60884d3f69"}, ] iso8601 = [ {file = "iso8601-0.1.12-py2.py3-none-any.whl", hash = "sha256:210e0134677cc0d02f6028087fee1df1e1d76d372ee1db0bf30bf66c5c1c89a3"}, @@ -796,8 +799,8 @@ iso8601 = [ {file = "iso8601-0.1.12.tar.gz", hash = "sha256:49c4b20e1f38aa5cf109ddcd39647ac419f928512c869dc01d5c7098eddede82"}, ] isort = [ - {file = "isort-5.2.0-py3-none-any.whl", hash = "sha256:1b0265ff0639af0a6f0f95a44956a985a1256960905aaf57ecf9175356c54ced"}, - {file = "isort-5.2.0.tar.gz", hash = "sha256:27c7f27adc4b1a6afde1b66c8af46d42da03671d68648e2a8ab2166df03b668e"}, + {file = "isort-5.3.2-py3-none-any.whl", hash = "sha256:5196bd2f5b23dc91215734b1c96c6d28390061d69860a948094c12635d6d64e6"}, + {file = "isort-5.3.2.tar.gz", hash = "sha256:ba83762132a8661d3525f87a86549712fb7d8da79eeb452e01f327ada9e87920"}, ] mccabe = [ {file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"}, @@ -867,11 +870,11 @@ pyparsing = [ {file = "pyparsing-2.4.7.tar.gz", hash = "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1"}, ] pypika = [ - {file = "PyPika-0.37.16.tar.gz", hash = "sha256:42b86fc00d767fe8d4d3d82acb3b55f76b32c211cc5dff9337fc0fbfe3d121cb"}, + {file = "PyPika-0.38.0.tar.gz", hash = "sha256:abf85d7fc3da6c4213125b58ca989a1eabfcc1e9b1f5fc3f524eba5cd7a25107"}, ] pytest = [ - {file = "pytest-6.0.0-py3-none-any.whl", hash = "sha256:869ec27f9b89964ccfe4fbdd5ccb8d3f285aaa3e9aa16a8491b9c8829148c230"}, - {file = "pytest-6.0.0.tar.gz", hash = "sha256:a64d8fb4c15cdc70dae047352e980a197d855747cc885eb332cb73ddcc769168"}, + {file = "pytest-6.0.1-py3-none-any.whl", hash = "sha256:8b6007800c53fdacd5a5c192203f4e531eb2a1540ad9c752e052ec0f7143dbad"}, + {file = "pytest-6.0.1.tar.gz", hash = "sha256:85228d75db9f45e06e57ef9bf4429267f81ac7c0d742cc9ed63d09886a9fe6f4"}, ] pytest-asyncio = [ {file = "pytest-asyncio-0.14.0.tar.gz", hash = "sha256:9882c0c6b24429449f5f969a5158b528f39bde47dc32e85b9f0403965017e700"}, diff --git a/pyproject.toml b/pyproject.toml index 8367523..0809879 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aerich" -version = "0.2.2" +version = "0.2.3" description = "A database migrations tool for Tortoise ORM." authors = ["long2ice "] license = "Apache-2.0" @@ -12,7 +12,7 @@ keywords = ["migrate", "Tortoise-ORM", "mysql"] packages = [ { include = "aerich" } ] -include = ["CHANGELOG.rst", "LICENSE", "README.md"] +include = ["CHANGELOG.md", "LICENSE", "README.md"] [tool.poetry.dependencies] python = "^3.7"