Commit 0864eab
committed
Fix compile warnings and update CI matrix for latest Elixir/OTP
Two unrelated maintenance changes:
1. Fix redundant execute_ddl/1 clauses in connection.ex
The file had two duplicate sets of execute_ddl/1 clauses: a newer
set (with @impl true markers) and an older set of duplicates. The
newer Ecto type system flags the duplicates as redundant warnings
that fail the build with --warnings-as-errors.
Remove the older duplicate clauses, keeping the first (correct)
set intact. Also remove one redundant {:drop_if_exists,
%Index{concurrently: true}} clause that is fully covered by the
wildcard {:_, %Index{concurrently: true}} clause which raises the
same ArgumentError.
Preserves the original non-duplicate clauses for Constraint and
Index rename operations that only existed in the second set.
2. Update CI matrix to Elixir 1.18-1.20 / OTP 27-29
Per the official Elixir/OTP compatibility table (June 2026):
- Elixir 1.20: OTP 27-29 (latest)
- Elixir 1.19: OTP 26-28
- Elixir 1.18: OTP 25-27
Drops Elixir 1.17 and OTP 26 (both EOL), adds Elixir 1.20 and
OTP 29 (latest). Excludes 3 combinations that fall outside the
official support ranges. Lint job runs on the latest (1.20+29).
6 valid combinations remain, all within official support ranges.1 parent 7d21400 commit 0864eab
2 files changed
Lines changed: 9 additions & 107 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | 553 | | |
559 | 554 | | |
560 | 555 | | |
| |||
604 | 599 | | |
605 | 600 | | |
606 | 601 | | |
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 | 602 | | |
649 | 603 | | |
650 | 604 | | |
651 | 605 | | |
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 | 606 | | |
679 | 607 | | |
680 | 608 | | |
| |||
683 | 611 | | |
684 | 612 | | |
685 | 613 | | |
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 | 614 | | |
711 | 615 | | |
712 | 616 | | |
713 | 617 | | |
714 | 618 | | |
715 | 619 | | |
716 | 620 | | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | 621 | | |
724 | 622 | | |
725 | 623 | | |
| |||
0 commit comments