Skip to content

Commit a022f5c

Browse files
committed
release v1.1.3
1 parent 2e3f05b commit a022f5c

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v1.1.3 2022-05-01
2+
3+
- fix: Find globalns for the unwrapped func
4+
- [#19](https://github.com/luolingchun/flask-openapi3/issues/19) fix: Trailing slash in APIBlueprint. Thinks @ev-agelos
5+
- add description for UnprocessableEntity
6+
- remove printouts in `__init__.py`
7+
18
## v1.1.2 2022-04-01
29

310
- [#16](https://github.com/luolingchun/flask-openapi3/issues/16) Fix fileStorage list is not supported. Thanks @tekrei

flask_openapi3/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# @Author : llc
33
# @Time : 2022/4/30 9:20
44

5-
__version__ = '1.1.2'
5+
__version__ = '1.1.3'

setup.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
# -*- coding: utf-8 -*-
22
# @Author : llc
33
# @Time : 2021/4/28 11:03
4+
import os
5+
import re
46

57
from setuptools import setup, find_packages
68

7-
from flask_openapi3 import __version__
8-
99
long_description = open('README.md', 'r', encoding='utf-8').read()
1010

11+
version_file = os.path.join(os.path.dirname(__file__), 'flask_openapi3', '__version__.py')
12+
with open(version_file, 'r', encoding='utf-8') as f:
13+
version = re.findall(r"__version__ = '(.*?)'", f.read())[0]
14+
1115
setup(
1216
name="flask-openapi3",
13-
version=__version__,
17+
version=version,
1418
url='https://github.com/luolingchun/flask-openapi3',
1519
description='Generate REST API and OpenAPI documentation for your Flask project.',
1620
long_description=long_description,

0 commit comments

Comments
 (0)