|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## [Unreleased](https://github.com/schireson/pytest-alembic/compare/v0.7.0...HEAD) (2022-02-08) |
| 3 | +## [Unreleased](https://github.com/schireson/pytest-alembic/compare/v0.8.3...HEAD) (2022-10-31) |
4 | 4 |
|
5 | 5 | ### Fixes
|
6 | 6 |
|
7 |
| -* (Huge speed optimization) Avoid the use of the high-level alembic command interface in most cases. 1ae311f |
| 7 | +* Refresh alembic history to enable tests generate new revisions to be aware of |
| 8 | +those revisions. |
| 9 | + ([a81b5f8](https://github.com/schireson/pytest-alembic/commit/a81b5f82cbf0243f045cc41263a56bb788fc260d)) |
| 10 | +* Compatibility with newer versions of pytest and pytest-asyncio. |
| 11 | + ([4ed809b](https://github.com/schireson/pytest-alembic/commit/4ed809b8b059091cbd55aa68d57d398c129a7d3f)) |
| 12 | +* Correctly insert the root package during metaadata detection. |
| 13 | + ([d719608](https://github.com/schireson/pytest-alembic/commit/d71960884a6e47176d21e64e14d987bdc09715f0)) |
8 | 14 |
|
| 15 | +### [v0.8.3](https://github.com/schireson/pytest-alembic/compare/v0.8.2...v0.8.3) (2022-07-20) |
| 16 | + |
| 17 | +### [v0.8.2](https://github.com/schireson/pytest-alembic/compare/v0.8.1...v0.8.2) (2022-04-10) |
| 18 | + |
| 19 | +#### Fixes |
| 20 | + |
| 21 | +* Add missing connection param to table_at_revision. |
| 22 | + ([a20d16e](https://github.com/schireson/pytest-alembic/commit/a20d16e42c9cec5f1062e2b7d3072eae42ef5534)) |
| 23 | +* Improve test options for all_models_register_on_metadata. |
| 24 | + ([28b7f59](https://github.com/schireson/pytest-alembic/commit/28b7f5950e5239f81c6b46a0b4265b0ed73fcb10)) |
| 25 | + |
| 26 | +### [v0.8.1](https://github.com/schireson/pytest-alembic/compare/v0.8.0...v0.8.1) (2022-03-12) |
| 27 | + |
| 28 | +#### Fixes |
| 29 | + |
| 30 | +* Add missing explicit reexports. |
| 31 | + ([d5375ad](https://github.com/schireson/pytest-alembic/commit/d5375ad3cba6066826c2ac4df3220d20433d381e)) |
| 32 | + |
| 33 | +## [v0.8.0](https://github.com/schireson/pytest-alembic/compare/v0.7.0...v0.8.0) (2022-02-08) |
| 34 | + |
| 35 | +### Fixes |
| 36 | + |
| 37 | +* (Huge speed optimization) Avoid the use of the high-level alembic command |
| 38 | +interface in most cases. |
| 39 | + ([d616ffa](https://github.com/schireson/pytest-alembic/commit/d616ffaacc83acdd48b6ace0b517ceb35aaf0172)) |
9 | 40 |
|
10 | 41 | ## [v0.7.0](https://github.com/schireson/pytest-alembic/compare/v0.6.1...v0.7.0) (2021-12-21)
|
11 | 42 |
|
12 | 43 | ### ⚠ BREAKING CHANGE
|
13 | 44 |
|
14 |
| -* Starting with this release, python 3.6 will no longer be tested or officially supported. In this specific release, only the new official support for asyncio-based engine with alembic and pytest-alembic is incompatible with 3.6. Any existing usage should remain at least provisionally compatible until later releases which may or may not further break compatibility. |
| 45 | +* Starting with this release, python 3.6 will no longer be tested or officiallysupported. In this specific release, only the new official support forasyncio-based engine with alembic and pytest-alembic is incompatible with 3.6.Any existing usage should remain at least provisionally compatible until laterreleases which may or may not further break compatibility. |
15 | 46 |
|
16 | 47 | ### Features
|
17 | 48 |
|
18 |
| -* Enable in-test insertion of data in async contexts. e9f8d97 |
| 49 | +* Enable in-test insertion of data in async contexts. |
| 50 | + ([e9f8d97](https://github.com/schireson/pytest-alembic/commit/e9f8d9726e1a6a9032aa773db8dc1b69cc81cc5a)) |
19 | 51 |
|
20 | 52 | ### Fixes
|
21 | 53 |
|
22 |
| -* asynchronous engine tests which perform transaction manipulation. 245f9ef |
23 |
| - |
| 54 | +* asynchronous engine tests which perform transaction manipulation. |
| 55 | + ([245f9ef](https://github.com/schireson/pytest-alembic/commit/245f9ef4e94f82d5d7742407451bcd0ad12762ac)) |
24 | 56 |
|
25 | 57 | ### [v0.6.1](https://github.com/schireson/pytest-alembic/compare/v0.6.0...v0.6.1) (2021-12-02)
|
26 | 58 |
|
27 | 59 | #### Fixes
|
28 | 60 |
|
29 |
| -* Add missing alembic Config options. c3cab87 |
30 |
| - |
| 61 | +* Add missing alembic Config options. |
| 62 | + ([c3cab87](https://github.com/schireson/pytest-alembic/commit/c3cab870677ebe690fb2e82170f2af3981e2ebeb)) |
31 | 63 |
|
32 | 64 | ## [v0.6.0](https://github.com/schireson/pytest-alembic/compare/v0.5.1...v0.6.0) (2021-11-30)
|
33 | 65 |
|
34 | 66 | ### Features
|
35 | 67 |
|
36 |
| -* Add ability to set a minimum bound downgrade migration cda6937 |
37 |
| -* Add new test which asserts parity between upgrade and downgrade detectable effects. ab9b645 |
38 |
| -* Add new test for roundtrip downgrade isolation. 2fb20d0 |
| 68 | +* Add ability to set a minimum bound downgrade migration |
| 69 | + ([cda6937](https://github.com/schireson/pytest-alembic/commit/cda69378272a70efc40535e13546f50b5fdc7d74)) |
| 70 | +* Add new test which asserts parity between upgrade and downgrade detectable |
| 71 | +effects. |
| 72 | + ([ab9b645](https://github.com/schireson/pytest-alembic/commit/ab9b6450988ff000899ff8ee193a309a3ff6c9a3)) |
| 73 | +* Add new test for roundtrip downgrade isolation. |
| 74 | + ([2fb20d0](https://github.com/schireson/pytest-alembic/commit/2fb20d0b8d17a70d84252832ee36fad020b06a68)) |
39 | 75 |
|
40 | 76 | ### Fixes
|
41 | 77 |
|
42 |
| -* Run pytest tests inline (faster and easier coverage). ea9b59d |
43 |
| - |
| 78 | +* Run pytest tests inline (faster and easier coverage). |
| 79 | + ([ea9b59d](https://github.com/schireson/pytest-alembic/commit/ea9b59dc61ac537fa5648273878c628094dbae71)) |
44 | 80 |
|
45 | 81 | ### [v0.5.1](https://github.com/schireson/pytest-alembic/compare/v0.5.0...v0.5.1) (2021-11-23)
|
46 | 82 |
|
47 | 83 | #### Fixes
|
48 | 84 |
|
49 |
| -* Increase minimum python version to 3.6+ (this was already true!). e6bdfe6 |
50 |
| -* Incompatibility of branched history downgrade strategy with alembic 1.6+. 192686b |
51 |
| -* ensure the up-down consistency test actually verifies migrations a2e9d13 |
52 |
| - |
| 85 | +* Increase minimum python version to 3.6+ (this was already true!). |
| 86 | + ([e6bdfe6](https://github.com/schireson/pytest-alembic/commit/e6bdfe67f7d0bf8e675eeefa38cd44a06847799f)) |
| 87 | +* Incompatibility of branched history downgrade strategy with alembic 1.6+. |
| 88 | + ([192686b](https://github.com/schireson/pytest-alembic/commit/192686b9f3eaf43e8109c9376b9a806352f3a8c7)) |
| 89 | +* ensure the up-down consistency test actually verifies migrations |
| 90 | + ([a2e9d13](https://github.com/schireson/pytest-alembic/commit/a2e9d1321b378036e19af8e9525d78eddac09a37)) |
53 | 91 |
|
54 | 92 | ## [v0.5.0](https://github.com/schireson/pytest-alembic/compare/v0.4.0...v0.5.0) (2021-09-03)
|
55 | 93 |
|
56 | 94 | ### Features
|
57 | 95 |
|
58 |
| -* Add experimental test to identify tables which alembic will not recognize. d12e342 |
| 96 | +* Add experimental test to identify tables which alembic will not recognize. |
| 97 | + ([d12e342](https://github.com/schireson/pytest-alembic/commit/d12e3422f2123eb0395e3b4a4535fdf9d2676f4a)) |
59 | 98 |
|
60 | 99 | ### Fixes
|
61 | 100 |
|
62 |
| -* Add back missing lint job. 80242f3 |
63 |
| - |
| 101 | +* Add back missing lint job. |
| 102 | + ([80242f3](https://github.com/schireson/pytest-alembic/commit/80242f3e4c4fc7e0120b44a4a03a4eecead2c51e)) |
64 | 103 |
|
65 | 104 | ## [v0.4.0](https://github.com/schireson/pytest-alembic/compare/v0.3.3...v0.4.0) (2021-08-16)
|
66 | 105 |
|
67 | 106 | ### Features
|
68 | 107 |
|
69 |
| -* Create a mechanism in which to create multiple alembic runner fixtures. ef1d5da |
70 |
| -* Allow alembic Config to be used directly in alembic_config fixture. 3b00103 |
| 108 | +* Create a mechanism in which to create multiple alembic runner fixtures. |
| 109 | + ([ef1d5da](https://github.com/schireson/pytest-alembic/commit/ef1d5daec9d66e256a4b1b8a742d6889fbbbc44d)) |
| 110 | +* Allow alembic Config to be used directly in alembic_config fixture. |
| 111 | + ([3b00103](https://github.com/schireson/pytest-alembic/commit/3b0010398fd245a44e6ce16f9765a2e4c0c45c66)) |
71 | 112 |
|
72 | 113 | ### Fixes
|
73 | 114 |
|
74 |
| -* Run covtest on all branches. f1bd6ac |
75 |
| - |
| 115 | +* Run covtest on all branches. |
| 116 | + ([f1bd6ac](https://github.com/schireson/pytest-alembic/commit/f1bd6aca6196cbea4674f4b6d1c1eee204cee387)) |
76 | 117 |
|
77 | 118 | ### [v0.3.3](https://github.com/schireson/pytest-alembic/compare/v0.3.2...v0.3.3) (2021-08-04)
|
78 | 119 |
|
79 | 120 | #### Fixes
|
80 | 121 |
|
81 |
| -* Conditionally set script_location. a26f59b |
82 |
| - |
| 122 | +* Conditionally set script_location. |
| 123 | + ([a26f59b](https://github.com/schireson/pytest-alembic/commit/a26f59b8b737eff8e77e663f23623024377e5371)) |
83 | 124 |
|
84 | 125 | ### [v0.3.2](https://github.com/schireson/pytest-alembic/compare/v0.3.1...v0.3.2) (2021-08-04)
|
85 | 126 |
|
86 |
| - |
87 | 127 | ### [v0.3.1](https://github.com/schireson/pytest-alembic/compare/v0.3.0...v0.3.1) (2021-05-10)
|
88 | 128 |
|
89 |
| - |
90 | 129 | ## [v0.3.0](https://github.com/schireson/pytest-alembic/compare/v0.2.6...v0.3.0) (2021-05-10)
|
91 | 130 |
|
92 |
| - |
93 | 131 | ### [v0.2.6](https://github.com/schireson/pytest-alembic/compare/v0.2.5...v0.2.6) (2021-04-26)
|
94 | 132 |
|
95 |
| - |
96 | 133 | ### [v0.2.5](https://github.com/schireson/pytest-alembic/compare/v0.2.4...v0.2.5) (2020-07-13)
|
97 | 134 |
|
98 | 135 | #### Features
|
99 | 136 |
|
100 |
| -* Allow the customization of the location at which the built in tests are executed. 255c95c |
101 |
| - |
| 137 | +* Allow the customization of the location at which the built in tests are |
| 138 | +executed. |
| 139 | + ([255c95c](https://github.com/schireson/pytest-alembic/commit/255c95c8edf0055f9d97aa671590449600b3e2a4)) |
102 | 140 |
|
103 | 141 | ### [v0.2.4](https://github.com/schireson/pytest-alembic/compare/v0.2.3...v0.2.4) (2020-07-01)
|
104 | 142 |
|
105 | 143 | #### Fixes
|
106 | 144 |
|
107 |
| -* Require dataclasses only below 3.7, as it is included in stdlib 3.7 onward. 0b30fb4 |
108 |
| - |
| 145 | +* Require dataclasses only below 3.7, as it is included in stdlib 3.7 onward. |
| 146 | + ([0b30fb4](https://github.com/schireson/pytest-alembic/commit/0b30fb41bebf702102b09c55bba18931158d94ef)) |
109 | 147 |
|
110 | 148 | ### [v0.2.3](https://github.com/schireson/pytest-alembic/compare/v0.2.2...v0.2.3) (2020-06-26)
|
111 | 149 |
|
112 | 150 | #### Features
|
113 | 151 |
|
114 |
| -* Reduce the multiple pages of traceback output to a few lines of context that are actually meaningful to a failed test. d9bcfcc |
115 |
| - |
| 152 | +* Reduce the multiple pages of traceback output to a few lines of context that are |
| 153 | +actually meaningful to a failed test. |
| 154 | + ([d9bcfcc](https://github.com/schireson/pytest-alembic/commit/d9bcfcc709421734e14f3d034bfa77f74c15729e)) |
116 | 155 |
|
117 | 156 | ### [v0.2.2](https://github.com/schireson/pytest-alembic/compare/v0.2.1...v0.2.2) (2020-06-25)
|
118 | 157 |
|
119 | 158 | #### Features
|
120 | 159 |
|
121 |
| -* Add rendered migration body to failed model-sync test. 108db31 |
122 |
| - |
| 160 | +* Add rendered migration body to failed model-sync test. |
| 161 | + ([108db31](https://github.com/schireson/pytest-alembic/commit/108db31b874cc199418a012f314daa47d87b310a)) |
123 | 162 |
|
124 | 163 | ### [v0.2.1](https://github.com/schireson/pytest-alembic/compare/v0.1.1...v0.2.1) (2020-03-23)
|
125 | 164 |
|
126 | 165 | #### Fixes
|
127 | 166 |
|
128 |
| -* Fix deprecation pytest warning in 3.4. f15a86b |
129 |
| - |
| 167 | +* Fix deprecation pytest warning in 3.4. |
| 168 | + ([f15a86b](https://github.com/schireson/pytest-alembic/commit/f15a86bd0620606203732a3f13d454b786d21a50)) |
130 | 169 |
|
131 | 170 | ### [v0.1.1](https://github.com/schireson/pytest-alembic/compare/v0.1.0...v0.1.1) (2020-03-09)
|
132 | 171 |
|
133 |
| - |
134 | 172 | ## v0.1.0 (2020-03-09)
|
135 |
| - |
136 |
| - |
|
0 commit comments