-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Release Notes for Flyway Engine.html
9863 lines (8474 loc) · 415 KB
/
Release Notes for Flyway Engine.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!--
Copyright (C) Red Gate Software Ltd 2010-2022
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div class="col-md-9">
<div class="release">
<h2 id="9.10.1">Flyway 9.10.1 (2022-12-16)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Flyway includes a custom SQL Fluff plugin, containing extra rules for enterprise users. Previously, if this custom plugin failed to install it would fail the whole process citing an absence of the correct SQL Fluff installation. It now only gives a warning so core SQL Fluff rules can still be run.</li>
<li>Incorrectly errored when validating the configuration for the 'check -changes' command, when using a URL and a snapshot.</li>
<li>Config parameter `flyway.executeInTransaction` should now correctly set when doing so via an environment variable.</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3582">Issue 3582</a>
Fix missing `setBaselineVersion(MigrationVersion baselineVersion)` on ClassicConfiguration
</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Update RG Compare to 1.3.1.7159</li>
</ul>
<p>
Thanks to bmarcaur for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.10.0">Flyway 9.10.0 (2022-12-08)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fix NPE that results when configuring either 'workingDirectory' or 'jarDirs'</li>
</ul>
<h3>New features</h3>
<ul>
<li>Adds a new configuration parameter ('flyway.executeInTransaction') which determines whether SQL execution in a transaction is enabled.</li>
</ul>
</div>
<div class="release">
<h2 id="9.9.0">Flyway 9.9.0 (2022-12-07)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Removed the parsing of nested multiline comments from Oracle. This is in line with their <a href="https://docs.oracle.com/cd/B19306_01/appdev.102/b14261/fundamentals.htm#BEIJCJED">documentation</a> that states nested multiline comments are not supported.</li>
<li>Drift results now appear in the JSON and HTML reports when 'failOnDrift' is set and drift is present.</li>
</ul>
<h3>Changes</h3>
<ul>
<li>The bundled Regex Rules are now case insensitive</li>
<li>Update error message for invalid CLI argument to reflect possible fixes</li>
<li>The version of the Postgres driver included in the CLI has been increased to 42.4.3 to avoid CVE-2022-41946</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3578">Issue 3578</a>
Fix documentation to use correct method to configure url, user and password in API
</li>
</ul>
<h3>Database compatibility</h3>
<ul>
<li>Support for BigQuery is now out of beta and in GA</li>
</ul>
<p>
Thanks to gastaldi for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.8.3">Flyway 9.8.3 (2022-11-24)</h2>
<h3>Changes</h3>
<ul>
<li>The version of RG compare included with Flyway has been increased to 1.2.2.6628. This avoids a bug in which 'check' produced empty change/drift reports for certain SQL Server URLs.</li>
<li>Upgrade the version of the Apache Ignite core dependency to avoid a new vulnerability.</li>
</ul>
</div>
<div class="release">
<h2 id="9.8.2">Flyway 9.8.2 (2022-11-18)</h2>
<h3>Changes</h3>
<ul>
<li>Check reports are written when an exception occurs</li>
</ul>
</div>
<div class="release">
<h2 id="9.8.1">Flyway 9.8.1 (2022-11-11)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fix issue with Regex Rules looking in the wrong directory by default</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3563">Issue 3563</a>
Fixed parsing error with batch statements in GCP Spanner.
</li>
</ul>
<p>
Thanks to Glavis for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.8.0">Flyway 9.8.0 (2022-11-11)</h2>
<h3>Breaking changes</h3>
<ul>
<li>Logic for the undo command has been moved into the separate 'flyway-proprietary' module, which will need to be present on the classpath in order to use the undo command. This also means that undo migrations will now be resolved in Community edition, and migrations may be marked as undone in the info output, though running the undo migrations still requires a Teams or Enterprise license. Lastly, when implementing undo migrations as java migrations, they should extend 'UndoJavaMigration' instead of 'BaseJavaMigration'.</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Fix an issue where 'clean.mode' would not be detected in Enterprise</li>
</ul>
<h3>Changes</h3>
<ul>
<li>We now use 'jackson-dataformat-toml' to read TOML config files, instead of 'night-config'.</li>
<li>All 'check' results include the operation in the JSON result</li>
<li>Include the code analysis engine's name in the summary logs</li>
<li>Bump the version of Redgate Compare to 1.0.0.6319</li>
<li>Move documentation to main repo</li>
<li>Create a Dialect configuration to allow configuration of rules engine dialect via Flyway</li>
<li>Add descriptions to shipped Regex Rules in the check report</li>
<li>Bundled Regex Rules are now enabled by default</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3562">Issue 3562</a>
The version of 'jackson-dataformat' bundled in the CLI package has been bumped to 2.14.0 to avoid CVE-2022-42003
</li>
</ul>
<h3>Database compatibility</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/1317">Issue 1317</a>
Add SingleStoreDB support at the Teams level
</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3570">Issue 3570</a>
Cockroach DB is now supported up to the latest version of 22.1
</li>
</ul>
<h3>New features</h3>
<ul>
<li>The JSON result for the 'check' command now includes the paths to any generated report</li>
<li>SingleStoreDB JDBC driver is now shipped in the CLI</li>
<li>Allows a configuration ('flyway.check.failOnDrift') to trigger an error if drift is detected with `check -drift` allowing the build to be halted should drift exist.</li>
</ul>
<p>
Thanks to nycjay, engvalla and basweitjens for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.7.0">Flyway 9.7.0 (2022-11-02)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Help output for 'check' no longer returns 'null' when 'outputType=json'</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3552">Issue 3552</a>
Fix Snowflake parser to handle nested 'BEGIN...END' statements
</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Rule codes are now visible in Code Analysis HTML Reports</li>
<li>Update version of MSAL4J to fix CVE-2022-42004</li>
<li>Update AWS SecretsManager to fix CVE-2022-42004</li>
</ul>
<h3>New features</h3>
<ul>
<li>Add bundled Code Analasys RegEx rules for Enterprise tiers</li>
<li>A new rule has been added to the Flyway SQL Fluff plugin, which is applied when running code analysis. This rule checks that all tables created in TSQL have an 'MS_Description' extended property set in the same file.</li>
<li>Add REGEX rules engine to `-code` for Enterprise tier</li>
</ul>
<p>
Thanks to pachu for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.6.0">Flyway 9.6.0 (2022-10-26)</h2>
<h3>Changes</h3>
<ul>
<li>Move SQLFluff specific components into own module</li>
<li>Increase hsqldb version from 2.6.1 to 2.7.1 to resolve CVE-2022-41853</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3489">Issue 3489</a>
PostgreSQL history table indexes and constraints now use the configured tablespace
</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3516">Issue 3516</a>
Drop PostgreSQL DOMAINs with 'CASCADE'
</li>
</ul>
<h3>New features</h3>
<ul>
<li>Provide a Mac CLI for arm64 CPUs</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3535">Issue 3535</a>
Added error override behavior which excludes the full error/warning message and only shows the SQL state and error code.
</li>
</ul>
<p>
Thanks to dev257, Peter-Laws and oaowren for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.5.1">Flyway 9.5.1 (2022-10-20)</h2>
<h3>Database compatibility</h3>
<ul>
<li>Remove in-product warnings when using PostgreSQL 15</li>
</ul>
</div>
<div class="release">
<h2 id="9.5.0">Flyway 9.5.0 (2022-10-19)</h2>
<h3>Changes</h3>
<ul>
<li>Ensure correct version of SQL Fluff is installed</li>
<li>Update version of 'commons-text' to fix vulnerability CVE-2022-42889</li>
<li>Add edition to the version model</li>
<li>When urls are unsupported by check, ascertain which ones are unsupported, and include them as part of the exception.</li>
</ul>
<h3>Database compatibility</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3539">Issue 3539</a>
Add support for PostgreSQL 15
</li>
</ul>
<h3>New features</h3>
<ul>
<li>Add custom code analysis rule that requires tables to have a primary key</li>
<li>Add syntax highlighting to dry run reports</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3519">Issue 3519</a>
Replace SQLPlus placeholders that begin with a double '&'
</li>
</ul>
<p>
Thanks to cowwoc and ben-peacock-uk for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.4.0">Flyway 9.4.0 (2022-09-29)</h2>
<h3>Changes</h3>
<ul>
<li>Code analysis is now available in Community Edition</li>
</ul>
<h3>Database compatibility</h3>
<ul>
<li>Add support for SQL Server 2022</li>
</ul>
<h3>New features</h3>
<ul>
<li>Add configuration to allow flyway to fail when sqlfluff finds issues when running `check code`</li>
</ul>
</div>
<div class="release">
<h2 id="9.3.1">Flyway 9.3.1 (2022-09-20)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fix cases of 'cherryPick' causing issues with change and drift reports</li>
<li>Fix bug where 'installedBy' wasn't always populated during a baseline</li>
<li>Fixed bug when checking for changes or drift when multiple schemas are configured</li>
</ul>
</div>
<div class="release">
<h2 id="9.3.0">Flyway 9.3.0 (2022-09-08)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fix issues with Community Fallback</li>
<li>Fix Windows paths with spaces causing classpath issues</li>
</ul>
<h3>New features</h3>
<ul>
<li>Closed the Teams preview access to Change and Drift report. Please contact sales at sales@flywaydb.org for license information.</li>
</ul>
</div>
<div class="release">
<h2 id="9.2.3">Flyway 9.2.3 (2022-09-07)</h2>
<h3>
Skipped due to a regression.
</h3>
<h3>Changes</h3>
<ul>
<li>Add Community fallback warning to JSON output object</li>
<li>Show correct validation message when checking for license keys that have expired.</li>
</ul>
</div>
<div class="release">
<h2 id="9.2.2">Flyway 9.2.2 (2022-09-02)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fix issue with Flyway not running correctly on Macs with a path that has a space</li>
<li>Added null-check to avoid NPE when scanning inaccessible locations</li>
<li>Fix bug in 'check' when comparing non-Oracle databases with configured schemas</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3515" target="_blank">Issue 3515</a>
Drop MariaDB JDBC driver back to major version 2 to enable MySQL compatibility
</li>
</ul>
<h3>Changes</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3296" target="_blank">Issue 3296</a>
Schemas are now created if the user has edited flyway.schemas after an initial migration
</li>
</ul>
<p>
Thanks to juliahayward and hemberger for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.2.1">Flyway 9.2.1 (2022-08-31)</h2>
<h3>Changes</h3>
<ul>
<li>Check report UI improvements</li>
<li>change and drift reports now fail for incompatible database types</li>
</ul>
<h3>Database compatibility</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3386" target="_blank">Issue 3386</a>
Updated to support Snowflake 6 and Snowflake Scripting
</li>
</ul>
<h3>Java compatibility</h3>
<ul>
<li>Remove JNA dependency as no longer needed by MariaDB</li>
<li>Increase MariaDB driver version to 3.0.7</li>
<li>Move flyway-commandline runtime dependency to correct scope</li>
</ul>
<p>
Thanks to filiprichtarik for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.2.0">Flyway 9.2.0 (2022-08-25)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fix problems when appending to code analysis reports</li>
<li>Fix bug in 'check -code' where multiple SQL files were not being correctly linted</li>
<li>Configured suffixes are now case insensitive</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Improvements to the 'check' report</li>
<li>Remove the error information from 'CompareResult' so that the existing JSON error handling is used</li>
</ul>
<h3>Java compatibility</h3>
<ul>
<li>Remove unnecessary dependencies</li>
<li>Moved Undo command into flyway-proprietary</li>
<li>Remove unnecessary maven-model dependency</li>
<li>Make 'CompositeResult' generic</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3505" target="_blank">Issue 3505</a>
Include transitive GAX dependency in CLI
</li>
</ul>
<p>
Thanks to jward-premise for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.1.6">Flyway 9.1.6 (2022-08-18)</h2>
<h3>Bug fixes</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3499" target="_blank">Issue 3499</a>
connectRetriesInterval now defaults to 120 instead of 0 on the Maven plugin.
</li>
</ul>
<h3>Changes</h3>
<ul>
<li>code analysis now auto detects the dialect if a URL is provided, otherwise a '.sqlfluff' configuration file is needed</li>
</ul>
<p>
Thanks to mihalyr for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.1.5">Flyway 9.1.5 (2022-08-16)</h2>
<h3>New features</h3>
<ul>
<li>Add SQLFluff to redgate/flyway Docker image for use with new integrations</li>
</ul>
</div>
<div class="release">
<h2 id="9.1.4">Flyway 9.1.4 (2022-08-15)</h2>
<h3>Changes</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3498" target="_blank">Issue 3498</a>
Updated dependencies to fix vulnerabilities
</li>
</ul>
<h3>New features</h3>
<ul>
<li>Add 'dryrun' to check as a report that can be generated</li>
</ul>
<p>
Thanks to ggolawski for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.1.3">Flyway 9.1.3 (2022-08-10)</h2>
<h3>Changes</h3>
<ul>
<li>Add access to Community features for Teams and Enterprise artifacts when no license key is given</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3491" target="_blank">Issue 3491</a>
PostgreSQL session locks now use one connection
</li>
</ul>
<h3>Database compatibility</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3467" target="_blank">Issue 3467</a>
Added support for H2 2.1.214
</li>
</ul>
<p>
Thanks to henricook and hackyoMa for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.1.2">Flyway 9.1.2 (2022-08-03)</h2>
<h3>Bug fixes</h3>
<ul>
<li>check includes all transitive dependencies so it runs out of the box</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3479" target="_blank">Issue 3479</a>
BigQuery procedures containing `END AS` are not cut off early.
</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3487" target="_blank">Issue 3487</a>
Update ensured supported to latest documented versions for Oracle and Snowflake
</li>
</ul>
<h3>New features</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/2895" target="_blank">Issue 2895</a>
Use transactional locks in PostgreSQL by default, which enables support for PgBouncer (session locks can be enabled again by setting 'flyway.postgresql.transactional.lock=false')
</li>
</ul>
<h3>Java compatibility</h3>
<ul>
<li>Update bundled JRE to latest version of Java 11 to include security updates</li>
</ul>
<p>
Thanks to arshaknorsoyan, matmannion and odin568 for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.1.1">Flyway 9.1.1 (2022-08-03)</h2>
<h3>
Due to issues in the release process, this version is to be skipped as the artifacts are incomplete.
</h3>
</div>
<div class="release">
<h2 id="9.1.0">Flyway 9.1.0 (2022-08-02)</h2>
<h3>
Due to issues in the release process, this version is to be skipped as the artifacts are incomplete.
</h3>
</div>
<div class="release">
<h2 id="9.0.4">Flyway 9.0.4 (2022-07-29)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Change reports now html encode SQL.</li>
</ul>
</div>
<div class="release">
<h2 id="9.0.3">Flyway 9.0.3 (2022-07-28)</h2>
<h3>Bug fixes</h3>
<ul>
<li>JSON output for 'drift' now always shows the 'driftDetected' field</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Improved tab styling of check reports</li>
</ul>
</div>
<div class="release">
<h2 id="9.0.2">Flyway 9.0.2 (2022-07-26)</h2>
<h3>Changes</h3>
<ul>
<li>Multiple 'check' reports now appear as tabs</li>
<li>Serialize the LocalDateTime field in the check JSON result as a string</li>
<li>No longer include `.html` when generating the JSON result for a check report</li>
<li>bash entrypoint now adds 'native' folder to library path for use on Windows</li>
<li>Only print the version information in Flyway once per execution</li>
<li>No longer display the underlying 'DELETE' rows during 'info'</li>
<li>License check now occurs when a Flyway object is constructed</li>
</ul>
</div>
<div class="release">
<h2 id="9.0.1">Flyway 9.0.1 (2022-07-15)</h2>
<h3>Bug fixes</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3481" target="_blank">Issue 3481</a>
Fix cases where validation fails saying checksums of '0' are now 'null'
</li>
</ul>
<p>
Thanks to henricook for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="9.0.0">Flyway 9.0.0 (2022-07-13)</h2>
<h3>
Skipped due to a regression.
</h3>
<h3>Breaking changes</h3>
<ul>
<li>Migration patterns that are version numbers are treated as numbers rather than strings when matching to migrations</li>
<li>Script & Java migrations are no longer executed during a dry run.</li>
<li>'getResolvedMigration' method on Java Migrations interface now takes a StatementInterceptor</li>
<li>Don't clear the Url/Pass/Username when setting a data source</li>
<li>Change default of cleanDisabled to true.</li>
<li>Removed deprecated parameters for configuring secrets managers</li>
<li>Removed parameter 'oracleKerberosConfigFile' as it is replaced by 'kerberosConfigFile'</li>
<li>Removed parameters 'ignorePendingMigrations', 'ignoreMissingMigrations', 'ignoreIgnoredMigrations' and 'ignoreFutureMigrations' as they are replaced by 'ignoreMigrationPatterns'</li>
<li>'MigrationType' moved into 'extensibility' package as an enum and replaced with 'CoreMigrationType'</li>
<li>'SQL__BASELINE' and 'JDBC__BASELINE' migration types removed from 'flyway-core'</li>
<li>'CoreMigrationType' enum field 'baselineMigration' now called 'baseline', for which the type 'BASELINE' now returns true</li>
<li>'baselineMigrationPrefix' removed from Configuration - see the docs for this parameter for how to configure it via the API</li>
<li>use 'BaselineJavaMigration' from the 'flyway-proprietary' package to make Java-based Baseline Migrations now</li>
<li>Removed 'isUndo' and 'isBaselineMigration' from 'ResolvedMigration'</li>
<li>'Context' in 'resolveMigrations' on a 'MigrationResolver' is now a class which also has 'ResourceProvider', 'SqlScriptFactory' and 'SqlScriptExecutorFactory'</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Info filter 'infoOfState' now allows multiple states as a comma-separated list</li>
<li>Handle errors (with warning) when cleaning procs on snowflake</li>
<li>'flyway/flyway-azure' Docker images are deprecated and replaced with 'flyway/flyway:*-azure'</li>
</ul>
<h3>Database compatibility</h3>
<ul>
<li>H2 1.4 is now in Teams</li>
<li>Oracle 12.2 is now in Teams</li>
<li>MariaDB 10.2 is now in Teams</li>
<li>HSQLDB 2.4 is now in Teams</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3469" target="_blank">Issue 3469</a>
Flyway CLI now bundles version 2.6.1 of the HSQLDB driver.
</li>
</ul>
<h3>New features</h3>
<ul>
<li>Add '-migrationIds' flag to 'info' to get a comma-separated list of versions or descriptions for repeatables</li>
<li>Added the 'check' command to the Flyway CLI which lets you generate deployment reports. You can find more information <a href="/documentation/command/check">here</a></li>
</ul>
<p>
Thanks to pzygielo for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="8.5.13">Flyway 8.5.13 (2022-06-16)</h2>
<h3>Bug fixes</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3388" target="_blank">Issue 3388</a>
The Ascii table will not be logged if there are no columns
</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3428" target="_blank">Issue 3428</a>
Fix potential parsing bug during 'create package' statement in DB2
</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3440" target="_blank">Issue 3440</a>
Always close the underlying Java connection inside a Database object
</li>
</ul>
<p>
Thanks to CharmanderJieniJieni, AlexandruKetroy and medwards8 for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="8.5.12">Flyway 8.5.12 (2022-05-31)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fix relative locations not being relative to the working directory</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3444" target="_blank">Issue 3444</a>
When using the delimiter keyword the value can be placed on the next line without entering an infinite loop
</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3449" target="_blank">Issue 3449</a>
Update checker times out if it doesn't receive a response
</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3454" target="_blank">Issue 3454</a>
The filename placeholder no longer causes errors in repeatable SQL migrations
</li>
</ul>
<h3>Changes</h3>
<ul>
<li>'version' command now has JSON output</li>
</ul>
<p>
Thanks to sleepkever, csudhirr and alexandrugrigor for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="8.5.11">Flyway 8.5.11 (2022-05-16)</h2>
<h3>Changes</h3>
<ul>
<li>Optimize param tokenization</li>
<li>Update GCS dependency due to vulnerability</li>
</ul>
<h3>Java compatibility</h3>
<ul>
<li>Update AWS ASK , AWS_SECRETSMANAGER-JDBC, Maven Core and MSAL4J dependencies to fix vulnerabilities</li>
</ul>
</div>
<div class="release">
<h2 id="8.5.10">Flyway 8.5.10 (2022-04-29)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fix NPE in Oracle when 'echo' is set to 'on' during spool</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Manually register the Oracle driver so Flyway CLI works with AWS Secrets Manager</li>
</ul>
<h3>Java compatibility</h3>
<ul>
<li>Update recommended Spring JDBC version due to Spring vulnerability</li>
</ul>
</div>
<div class="release">
<h2 id="8.5.9">Flyway 8.5.9 (2022-04-21)</h2>
<h3>Bug fixes</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3427" target="_blank">Issue 3427</a>
PLSQL division on new line in package body is no longer classified as a delimiter
</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3433" target="_blank">Issue 3433</a>
Fix bug where connection details set in placeholders were overriding the main details
</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Handle errors (with warning) when cleaning procs on snowflake</li>
</ul>
<p>
Thanks to olavquorum and bennyr1003 for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="8.5.8">Flyway 8.5.8 (2022-04-14)</h2>
<h3>Bug fixes</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3418" target="_blank">Issue 3418</a>
Fix error where the 'version' command fails to be handled
</li>
</ul>
<p>
Thanks to cies for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="8.5.7">Flyway 8.5.7 (2022-04-07)</h2>
<h3>Changes</h3>
<ul>
<li>Update S3 dependency to fix vulnerability</li>
</ul>
</div>
<div class="release">
<h2 id="8.5.6">Flyway 8.5.6 (2022-04-06)</h2>
<h3>Changes</h3>
<ul>
<li>Add a failed state for Baseline Migrations</li>
<li>Update version of Jackson Databind due to GHSA-57j2-w4cx-62h2</li>
<li>Mask any parameter that ends with 'password' in the logs</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3414" target="_blank">Issue 3414</a>
Ensure we close the connection created during the update stage
</li>
</ul>
<h3>Database compatibility</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3399" target="_blank">Issue 3399</a>
Add support for STRICT and LEGACY modes in H2
</li>
</ul>
<p>
Thanks to medwards8 and MMaus for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="8.5.5">Flyway 8.5.5 (2022-03-28)</h2>
<h3>Bug fixes</h3>
<ul>
<li>SQL*Plus 'spool' now ignores value of 'feedback' for update statements</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3413" target="_blank">Issue 3413</a>
Script migrations applied previously using Teams Edition no longer cause an error in Community Edition
</li>
</ul>
<h3>Java compatibility</h3>
<ul>
<li>Upgrade jackson-databind to address CVE-2020-36518</li>
</ul>
<p>
Thanks to xmanemran for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="8.5.4">Flyway 8.5.4 (2022-03-15)</h2>
<h3>Changes</h3>
<ul>
<li>Update PostgreSQL driver to fix code injection vulnerability</li>
</ul>
<h3>New features</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3358" target="_blank">Issue 3358</a>
Add 'placeholderSeparator' parameter to allow an alternative to ':' in default placeholders
</li>
</ul>
<p>
Thanks to Phil-Factor for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="8.5.3">Flyway 8.5.3 (2022-03-14)</h2>
<h3>Breaking changes</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3405" target="_blank">Issue 3405</a>
Update shipped MSSQL JDBC driver to 10.2.0, which defaults 'encrypt' to 'true'
</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Fix issue where post schema clean didn't include correct schemas.</li>
<li>Clean mode now cleans more schemas for SQL Server integrated authentication logins.</li>
<li>
<a href="https://github.com/flyway/flyway/issues/3396" target="_blank">Issue 3396</a>
Maven and Gradle plugins load configuration files from current directory by default
</li>
</ul>
<p>
Thanks to caseyhall and lbreuss for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="8.5.2">Flyway 8.5.2 (2022-03-04)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Clean mode now cleans more schemas for SQL Server integrated authentication logins.</li>
</ul>
<h3>Changes</h3>
<ul>
<li>
<a href="https://github.com/flyway/flyway/issues/3403" target="_blank">Issue 3403</a>
Add info log saying number of SQL migrations skipped due to invalid naming, if any.
</li>
</ul>
<p>
Thanks to sesgoe for reporting these issues.
</p>
</div>
<div class="release">
<h2 id="8.5.1">Flyway 8.5.1 (2022-02-23)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Check if default 'jarDir' exists before using it</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Update Jackson Databind to 2.12.6</li>
</ul>
</div>
<div class="release">
<h2 id="8.5.0">Flyway 8.5.0 (2022-02-14)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fix exit code in Windows returning as 0 during error</li>
<li>Fix possible NPE when no default schema is specified</li>
<li>Ensure 'defaultSchema' is used over the first schema in 'schemas'</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Upgrade PostgreSQL driver to fix RCE vulnerability</li>
<li>Remove displaying "user 'null'" when using Windows Authentication with SQL Server</li>
</ul>
</div>
<div class="release">
<h2 id="8.4.4">Flyway 8.4.4 (2022-02-02)</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fix rare NPE when checking for updates</li>
</ul>