Mises à jour techniques relatives à Ecto #4347
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Toujours extrait de ce que je fais sur:
J'isole ici 7 mises à jour, qui permettent par ricochet de supprimer une dépendance à la librairie
connection
.postgrex
dans sa version 0.16 (https://hex.pm/packages/postgrex/0.16.5) qu'on utilisait jusque là, dépendant deconnection
(https://hex.pm/packages/connection), qui n'est en fait plus souhaitable:Pour pouvoir upgrader, il faut débloquer les dépendances "interconnectées" sur cette contrainte, ce que je fais ici.
Points de vigilance
Potential incompatibilities
. Il faut donc suivre ce qui se passe au niveau tests et déploiement.L'écart de version Postgrex est important (0.16 -> 0.19). Il y a des changements du type
Respect precision for interval, time, timestamp, and timestamptz
.TODOs
prochainement
mix dialyzer --plt
)Changelogs
(initially generated with
elixir generate_deps_changelogs.exs
)