|
2 | 2 | History |
3 | 3 | ======= |
4 | 4 |
|
| 5 | +GINO 1.1 |
| 6 | +-------- |
| 7 | + |
| 8 | +1.1.0 (pending) |
| 9 | +^^^^^^^^^^^^^^^ |
| 10 | + |
| 11 | +* Added baked query feature (#478 #659 #667) |
| 12 | +* Added ``Query.gino.execution_options`` shortcut (#659) |
| 13 | +* Added ``@db.declared_attr(with_table=True)`` (#659) |
| 14 | + |
| 15 | + |
| 16 | +GINO 1.0 |
| 17 | +-------- |
| 18 | + |
| 19 | +Migrating to GINO 1.0 |
| 20 | +^^^^^^^^^^^^^^^^^^^^^ |
| 21 | + |
| 22 | +GINO 1.0 moved the built-in Web framework extensions into separate PyPI |
| 23 | +packages. If you're using one of them, you should install GINO 1.0 with extras: |
| 24 | + |
| 25 | ++------------------------+---------------------------------+ |
| 26 | +| Extension Module | Installation in GINO 1.0 | |
| 27 | ++========================+=================================+ |
| 28 | +| ``gino.ext.starlette`` | ``pip install gino[starlette]`` | |
| 29 | ++------------------------+---------------------------------+ |
| 30 | +| ``gino.ext.aiohttp`` | ``pip install gino[aiohttp]`` | |
| 31 | ++------------------------+---------------------------------+ |
| 32 | +| ``gino.ext.sanic`` | ``pip install gino[sanic]`` | |
| 33 | ++------------------------+---------------------------------+ |
| 34 | +| ``gino.ext.tornado`` | ``pip install gino[tornado]`` | |
| 35 | ++------------------------+---------------------------------+ |
| 36 | +| ``gino.ext.quart`` | ``pip install gino[quart]`` | |
| 37 | ++------------------------+---------------------------------+ |
| 38 | + |
| 39 | +The new extension packages are backward-compatible, so there's no need to |
| 40 | +update the import statements. For example, this will still work in GINO 1.0 if |
| 41 | +you installed ``gino[starlette]``:: |
| 42 | + |
| 43 | + from gino.ext.starlette import Gino |
| 44 | + |
| 45 | +GINO 1.0 switched to `Poetry <https://python-poetry.org/>`__ for package and |
| 46 | +dependency management and started to use the |
| 47 | +`src layout <https://hynek.me/articles/testing-packaging/>`__. This shouldn't |
| 48 | +cause any problem using GINO as a dependency, but it does introduce some |
| 49 | +changes to the GINO development process: |
| 50 | + |
| 51 | +* Source files are now located under ``src`` directory. |
| 52 | +* The src dist on PyPI does not include tests, docs and some other files due to |
| 53 | + a limitation of Poetry. |
| 54 | + |
| 55 | +1.0.1 (2020-06-08) |
| 56 | +^^^^^^^^^^^^^^^^^^ |
| 57 | + |
| 58 | +* Fixed dependency version range (SQLAlchemy >=1.2.16, <1.4) |
| 59 | +* Updated docs (Including contribution by Galden in #660, and Iuliia Volkova in #672) |
| 60 | +* Multiple JSON property fixes (#661 #662 #695) |
| 61 | +* Fixed extension typing issue (#673 #674) |
| 62 | +* Fixed model override behavior (#694) |
| 63 | +* Fixed multiple JSON profiles issue (Contributed by Roman Averchenkov in #693 #696) |
| 64 | + |
| 65 | +1.0.0 (2020-04-26) |
| 66 | +^^^^^^^^^^^^^^^^^^ |
| 67 | + |
| 68 | +* Switched to Poetry for package and dependency management. |
| 69 | +* [Breaking] Moved built-in extension modules to separate PyPI packages. |
| 70 | +* Switched to src layout. |
| 71 | +* Switched to black code style. |
| 72 | +* Better documentation. |
| 73 | +* [Breaking] ``none_as_none()`` is now always enabled. |
| 74 | +* Added representation method for engine. |
| 75 | +* Protected the URL instance fed to ``set_bind()`` from manipulation. |
| 76 | +* Replaced some ``assert`` with ``AssertionError`` (#258 #655) |
| 77 | + |
| 78 | + |
5 | 79 | GINO 0.8 |
6 | 80 | -------- |
7 | 81 |
|
@@ -45,6 +119,12 @@ won't be called with any ``setattr(child, 'parent', ...)`` at all. (If you need |
45 | 119 | Please note, it is deprecated to disable ``none_as_none``, and disabling will |
46 | 120 | be removed in GINO 1.0. |
47 | 121 |
|
| 122 | +0.8.7 (2020-04-19) |
| 123 | +^^^^^^^^^^^^^^^^^^ |
| 124 | + |
| 125 | +* Improved error handling when attribute names collide (Contributed by Reskov in #637 #638) |
| 126 | +* Fixed ``with_bind`` usability in aiohttp extension (#518) |
| 127 | + |
48 | 128 | 0.8.6 (2020-02-10) |
49 | 129 | ^^^^^^^^^^^^^^^^^^ |
50 | 130 |
|
|
0 commit comments