cadwyn 2.3.0__tar.gz → 2.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cadwyn might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cadwyn
3
- Version: 2.3.0
3
+ Version: 2.3.1
4
4
  Summary: Modern Stripe-like API versioning in FastAPI
5
5
  Home-page: https://github.com/zmievsa/cadwyn
6
6
  License: MIT
@@ -35,7 +35,7 @@ Requires-Dist: fastapi (>=0.96.1)
35
35
  Requires-Dist: pydantic (>=1.10.0,<2.0.0)
36
36
  Requires-Dist: typer (>=0.7.0); extra == "cli"
37
37
  Requires-Dist: typing-extensions
38
- Requires-Dist: verselect-zmievsa (>=0.0.5)
38
+ Requires-Dist: verselect (>=0.0.6)
39
39
  Project-URL: Repository, https://github.com/zmievsa/cadwyn
40
40
  Description-Content-Type: text/markdown
41
41
 
@@ -1,17 +1,4 @@
1
1
  from fastapi.routing import APIRoute
2
- from verselect.exceptions import AppCreationError
3
-
4
- __all__ = [
5
- "AppCreationError",
6
- "CadwynError",
7
- "LintingError",
8
- "CodeGenerationError",
9
- "InvalidGenerationInstructionError",
10
- "RouterGenerationError",
11
- "RouteAlreadyExistsError",
12
- "CadwynStructureError",
13
- "ModuleIsNotVersionedError",
14
- ]
15
2
 
16
3
 
17
4
  class CadwynError(Exception):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "cadwyn"
3
- version = "2.3.0"
3
+ version = "2.3.1"
4
4
  description = "Modern Stripe-like API versioning in FastAPI"
5
5
  authors = ["Stanislav Zmiev <zmievsa@gmail.com>"]
6
6
  license = "MIT"
@@ -36,7 +36,7 @@ typing-extensions = "*"
36
36
  fastapi = ">=0.96.1"
37
37
  pydantic = "^1.10.0"
38
38
  typer = {version = ">=0.7.0", optional = true}
39
- verselect-zmievsa = ">=0.0.5"
39
+ verselect = ">=0.0.6"
40
40
 
41
41
  [tool.poetry.extras]
42
42
  cli = ["typer"]
@@ -11,7 +11,7 @@ install_requires = \
11
11
  ['fastapi>=0.96.1',
12
12
  'pydantic>=1.10.0,<2.0.0',
13
13
  'typing-extensions',
14
- 'verselect-zmievsa>=0.0.5']
14
+ 'verselect>=0.0.6']
15
15
 
16
16
  extras_require = \
17
17
  {'cli': ['typer>=0.7.0']}
@@ -21,7 +21,7 @@ entry_points = \
21
21
 
22
22
  setup_kwargs = {
23
23
  'name': 'cadwyn',
24
- 'version': '2.3.0',
24
+ 'version': '2.3.1',
25
25
  'description': 'Modern Stripe-like API versioning in FastAPI',
26
26
  'long_description': '# Cadwyn\n\nModern [Stripe-like](https://stripe.com/blog/api-versioning) API versioning in FastAPI\n\n---\n\n<p align="center">\n<a href="https://github.com/zmievsa/cadwyn/actions?query=workflow%3ATests+event%3Apush+branch%3Amain" target="_blank">\n <img src="https://github.com/zmievsa/cadwyn/actions/workflows/test.yaml/badge.svg?branch=main&event=push" alt="Test">\n</a>\n<a href="https://codecov.io/gh/ovsyanka83/cadwyn" target="_blank">\n <img src="https://img.shields.io/codecov/c/github/ovsyanka83/cadwyn?color=%2334D058" alt="Coverage">\n</a>\n<a href="https://pypi.org/project/cadwyn/" target="_blank">\n <img alt="PyPI" src="https://img.shields.io/pypi/v/cadwyn?color=%2334D058&label=pypi%20package" alt="Package version">\n</a>\n<a href="https://pypi.org/project/cadwyn/" target="_blank">\n <img src="https://img.shields.io/pypi/pyversions/cadwyn?color=%2334D058" alt="Supported Python versions">\n</a>\n</p>\n\n## Who is this for?\n\nCadwyn allows you to support a single version of your code, auto-generating the code/routes for older versions. You keep versioning encapsulated in small and independent "version change" modules while your business logic knows nothing about versioning.\n\nIts [approach](./docs/theory.md#ii-migration-based-response-building) will be useful if you want to:\n\n1. Support many (>2) API versions for a long time\n2. Effortlessly backport features and bugfixes to older API versions\n\n## Get started\n\nThe [documentation](https://docs.cadwyn.dev) has everything you need to get started. It is recommended to read it in the following order:\n\n1. [Tutorial](./tutorial.md)\n2. [Recipes](./recipes.md)\n3. [Reference](./reference.md)\n4. [Theory](./theory.md) <!-- TODO: Move section about cadwyn\'s approach to the beginning and move other approaches and "how we got here" to another article -->\n\n## Similar projects\n\nThe following projects are trying to accomplish similar results with a lot more simplistic functionality.\n\n- <https://github.com/sjkaliski/pinned>\n- <https://github.com/phillbaker/gates>\n- <https://github.com/lukepolo/laravel-api-migrations>\n- <https://github.com/tomschlick/request-migrations>\n- <https://github.com/keygen-sh/request_migrations>\n',
27
27
  'author': 'Stanislav Zmiev',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes