Skip to content

Commit 0b2c049

Browse files
committed
add HISTORY for 1.0
1 parent 6297ae5 commit 0b2c049

File tree

2 files changed

+55
-1
lines changed

2 files changed

+55
-1
lines changed

HISTORY.rst

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,60 @@
22
History
33
=======
44

5+
GINO 1.0
6+
--------
7+
8+
Migrating to GINO 1.0
9+
^^^^^^^^^^^^^^^^^^^^^
10+
11+
GINO 1.0 moved the built-in Web framework extensions into separate PyPI
12+
packages. If you're using one of them, you should install GINO 1.0 with extras:
13+
14+
+------------------------+---------------------------------+
15+
| Extension Module | Installation in GINO 1.0 |
16+
+========================+=================================+
17+
| ``gino.ext.starlette`` | ``pip install gino[starlette]`` |
18+
+------------------------+---------------------------------+
19+
| ``gino.ext.aiohttp`` | ``pip install gino[aiohttp]`` |
20+
+------------------------+---------------------------------+
21+
| ``gino.ext.sanic`` | ``pip install gino[sanic]`` |
22+
+------------------------+---------------------------------+
23+
| ``gino.ext.tornado`` | ``pip install gino[tornado]`` |
24+
+------------------------+---------------------------------+
25+
| ``gino.ext.quart`` | ``pip install gino[quart]`` |
26+
+------------------------+---------------------------------+
27+
28+
The new extension packages are backward-compatible, so there's no need to
29+
update the import statements. For example, this will still work in GINO 1.0 if
30+
you installed ``gino[starlette]``::
31+
32+
from gino.ext.starlette import Gino
33+
34+
GINO 1.0 switched to `Poetry <https://python-poetry.org/>`__ for package and
35+
dependency management and started to use the
36+
`src layout <https://hynek.me/articles/testing-packaging/>`__. This shouldn't
37+
cause any problem using GINO as a dependency, but it does introduce some
38+
changes to the GINO development process:
39+
40+
* Source files are now located under ``src`` directory.
41+
* The src dist on PyPI does not include tests, docs and some other files due to
42+
a limitation of Poetry.
43+
44+
45+
1.0.0 (2020-04-26)
46+
^^^^^^^^^^^^^^^^^^
47+
48+
* Switched to Poetry for package and dependency management.
49+
* [Breaking] Moved built-in extension modules to separate PyPI packages.
50+
* Switched to src layout.
51+
* Switched to black code style.
52+
* Better documentation.
53+
* [Breaking] ``none_as_none()`` is now always enabled.
54+
* Added representation method for engine.
55+
* Protected the URL instance fed to ``set_bind()`` from manipulation.
56+
* Replaced some ``assert`` with ``AssertionError`` (#258 #655)
57+
58+
559
GINO 0.8
660
--------
761

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/python-gino/gino"
1111
documentation = "https://python-gino.org/docs/"
1212
keywords = ["orm", "asyncio", "sqlalchemy", "asyncpg", "python3"]
1313
classifiers = [
14-
"Development Status :: 4 - Beta",
14+
"Development Status :: 5 - Production/Stable",
1515
"Intended Audience :: Developers",
1616
"License :: OSI Approved :: BSD License",
1717
"Natural Language :: English",

0 commit comments

Comments
 (0)