|
2 | 2 | History
|
3 | 3 | =======
|
4 | 4 |
|
| 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 | + |
5 | 59 | GINO 0.8
|
6 | 60 | --------
|
7 | 61 |
|
|
0 commit comments