From 0fc805232dc49ca0045fcaf8b745a4b11d4839d7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 4 Nov 2022 07:35:05 +0000 Subject: [PATCH] chore(main): release 1.1.0 --- CHANGELOG.md | 13 ++++ api/pyproject.toml | 176 ++++++++++++++++++++++----------------------- 2 files changed, 101 insertions(+), 88 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09b2f69d..a8089481 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [1.1.0](https://github.com/equinor/template-fastapi-react/compare/v1.0.0...v1.1.0) (2022-11-04) + + +### Features + +* standardized ErrorResponse model ([c09e4dc](https://github.com/equinor/template-fastapi-react/commit/c09e4dccf5abd62fa05e9b1c0a577ea72d0129c4)) + + +### Bug Fixes + +* add types to fixtures ([0528e5b](https://github.com/equinor/template-fastapi-react/commit/0528e5beb9bec905cedee1db2af3b2a5248fe85d)) +* delete non existing item should return 404 ([4341416](https://github.com/equinor/template-fastapi-react/commit/43414160eef1bee7ff2ea44c7c9f99e041ccc977)) + ## 1.0.0 (2022-09-07) diff --git a/api/pyproject.toml b/api/pyproject.toml index a68661f1..2688a6f7 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -1,88 +1,88 @@ -[tool.poetry] -name = "api" -version = "0.1.0" # x-release-please-version -description = "API for Template Fastapi React" -authors = [] -license = "" - -[tool.poetry.dependencies] -cachetools = "^4.2.2" -python = "3.10.*" -python-jose = {extras = ["cryptography"], version = "^3.3.0"} -fastapi = "^0.78.0" -uvicorn = {extras = ["standard"], version = "^0.17.6"} -gunicorn = "^20.1.0" -pymongo = "4.1.1" -cryptography = "37.0.2" # Locked because of a bad 37.0.3 release. (https://cryptography.io/en/latest/changelog/#yanked) -# Not a direct dependecy, but needed to get certificates -certifi = "^2022.6.15" -requests = "^2.27.1" -toml = "^0.10.2" - -[tool.poetry.dev-dependencies] -pre-commit = "^2.19.0" -flake8 = "^4.0.1" -black = "^22.3.0" -isort = "^5.10.1" -interrogate = "^1.5.0" -bandit = "^1.7.4" -pytest = "^7.1.2" -mongomock = "^4.1.2" -mypy = "^0.961" -types-cachetools = "^5.2.0" -types-requests = "^2.27.30" -types-ujson = "^5.3.0" -types-toml = "^0.10.8" - -[tool.black] -line-length = 119 -target-version = ['py310'] -include = '\.pyi?$' -exclude = ''' -/( - \.eggs - | \.git - | \.hg - | \.mypy_cache - | \.tox - | \.venv -)/ -''' - -[tool.interrogate] -ignore-init-method = true -ignore-init-module = true -ignore-magic = false -ignore-semiprivate = false -ignore-private = false -ignore-property-decorators = false -ignore-module = false -ignore-nested-functions = false -ignore-nested-classes = true -ignore-setters = false -fail-under = 0 -exclude = ["setup.py", "docs", "build"] -ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"] -# possible values: 0 (minimal output), 1 (-v), 2 (-vv) -verbose = 0 -quiet = false -whitelist-regex = [] -color = true -omit-covered-files = false - -[tool.isort] -profile = "black" - -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" - -[tool.mypy] -ignore_missing_imports = true -warn_return_any = true -warn_unused_configs = true -namespace_packages = true -explicit_package_bases = true - -[tool.pycln] -all=true +[tool.poetry] +name = "api" +version = "1.1.0" # x-release-please-version +description = "API for Template Fastapi React" +authors = [] +license = "" + +[tool.poetry.dependencies] +cachetools = "^4.2.2" +python = "3.10.*" +python-jose = {extras = ["cryptography"], version = "^3.3.0"} +fastapi = "^0.78.0" +uvicorn = {extras = ["standard"], version = "^0.17.6"} +gunicorn = "^20.1.0" +pymongo = "4.1.1" +cryptography = "37.0.2" # Locked because of a bad 37.0.3 release. (https://cryptography.io/en/latest/changelog/#yanked) +# Not a direct dependecy, but needed to get certificates +certifi = "^2022.6.15" +requests = "^2.27.1" +toml = "^0.10.2" + +[tool.poetry.dev-dependencies] +pre-commit = "^2.19.0" +flake8 = "^4.0.1" +black = "^22.3.0" +isort = "^5.10.1" +interrogate = "^1.5.0" +bandit = "^1.7.4" +pytest = "^7.1.2" +mongomock = "^4.1.2" +mypy = "^0.961" +types-cachetools = "^5.2.0" +types-requests = "^2.27.30" +types-ujson = "^5.3.0" +types-toml = "^0.10.8" + +[tool.black] +line-length = 119 +target-version = ['py310'] +include = '\.pyi?$' +exclude = ''' +/( + \.eggs + | \.git + | \.hg + | \.mypy_cache + | \.tox + | \.venv +)/ +''' + +[tool.interrogate] +ignore-init-method = true +ignore-init-module = true +ignore-magic = false +ignore-semiprivate = false +ignore-private = false +ignore-property-decorators = false +ignore-module = false +ignore-nested-functions = false +ignore-nested-classes = true +ignore-setters = false +fail-under = 0 +exclude = ["setup.py", "docs", "build"] +ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"] +# possible values: 0 (minimal output), 1 (-v), 2 (-vv) +verbose = 0 +quiet = false +whitelist-regex = [] +color = true +omit-covered-files = false + +[tool.isort] +profile = "black" + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" + +[tool.mypy] +ignore_missing_imports = true +warn_return_any = true +warn_unused_configs = true +namespace_packages = true +explicit_package_bases = true + +[tool.pycln] +all=true