You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make Merge public again and rename it to Merger (#243)
We need to make `Merge` public again, because the `Merge` receiver has
more methods than a plain `Receiver`, in particular `stop()`, which
users need to use for guaranteed cleanup.
But in this case it is better to introduce a breaking change to make
sure users update to using the new `merge()` function, so we rename it
to `Merger`. Also using a noun for the name is more in line with the
other classes.
This also means now the `merge()` function returns the `Merger` instance
instead of an abstract `Receiver`.
Additionally there are a couple of small unrelated cleanups:
* Remove `darglint`-related stuff, it was replaced by `pydoclint` a
while ago.
* Remove cookiecutter template TODO comment.
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,8 @@
71
71
72
72
Replaced by the new `merge()` function. When replacing `Merge` with `merge()` please keep in mind that this new function will raise a `ValueError` if no receivers are passed to it.
73
73
74
+
Please note that the old `Merge` class is still also available but it was renamed to `Merger` to avoid confusion with the new `merge()` function, but it is only present for typing reasons and should not be used directly.
75
+
74
76
*`MergeNamed`
75
77
76
78
This class was redundant, use either the new `merge()` function or `select()` instead.
0 commit comments