Skip to content

Sort the 0.14 breaking changes by how commonly they come up - #193

Merged
mtfishman merged 9 commits into
mainfrom
mf/edges-docstring
Aug 31, 2026
Merged

mtfishman merged 9 commits into
mainfrom
mf/edges-docstring

Conversation

@mtfishman

@mtfishman mtfishman commented Aug 30, 2026 •

Copy link
Copy Markdown
Member

Summary

Sorts the 0.14 breaking changes by how commonly they come up rather than by merge order, and adds the three that fail silently rather than erroring.

Also says what the edge iterator guarantees, since Graphs.AbstractEdgeIter has no contract of its own.

Adds iteration and `length` examples to the `edges` docstring, the two things a caller most often does with an edge iterator and the two the examples left out. Also names the return type as `Graphs.AbstractEdgeIter` and says which concrete type it currently is, so neither reads as a promise the other way.
The changelog now leads with what upgrading actually runs into and the
errors to look for, including the cases that give a wrong result instead
of an error. It was a flat list in merge order, which put the changes that
cost nothing next to the ones that cost the most.

The `edges` docstring says what the iterator supports rather than pointing
at `Graphs.AbstractEdgeIter`, which is a bare abstract type with no
contract of its own.
@mtfishman mtfishman changed the title Show iteration and length in the edges docstring Reorganize the 0.14 changelog and say what the edge iterator guarantees Aug 31, 2026
Merge order put the changes that cost nothing next to the ones that cost the
most. Also adds the three that fail silently rather than erroring, and folds
the entries that moved names around the removed submodule into one describing
where they ended up.
@mtfishman mtfishman changed the title Reorganize the 0.14 changelog and say what the edge iterator guarantees Sort the 0.14 breaking changes by how commonly they come up Aug 31, 2026
Lumping them together pointed readers at names that no longer exist.
Each removed submodule is now described where its replacement is, so the
`edges` and `vertices` output types and the encode and decode interface come
first and the rest follows.
The `eltype` and `length` problems it described were introduced during 0.14
rather than inherited from 0.13, so what changed since 0.13 is the narrowing to
`AbstractNamedGraph` and the lazy output. The `eccentricity` and
`induced_subgraph` entries are instances of the wrapper signature change, so
they move into it.
@mtfishman
mtfishman merged commit c5941a6 into main Aug 31, 2026
19 checks passed
@mtfishman
mtfishman deleted the mf/edges-docstring branch August 31, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant