Skip to content

doc: mention the second major update - #7782

Merged
dschult merged 2 commits into
networkx:mainfrom
createyourpersonalaccount:fix-release-index-doc
Jan 23, 2025
Merged

dschult merged 2 commits into
networkx:mainfrom
createyourpersonalaccount:fix-release-index-doc

Conversation

@createyourpersonalaccount

Copy link
Copy Markdown
Contributor

No description provided.

@createyourpersonalaccount

Copy link
Copy Markdown
Contributor Author

1.x -> 2.x and 2.x -> 3.x are both major API breaks right?

@MridulS

MridulS commented Jan 1, 2025

Copy link
Copy Markdown
Member

1.x -> 2.x and 2.x -> 3.x are both major API breaks right?

We removed a lot of deprecated functionality in 3.X, but it was a lot less disruptive than the 1.x to 2.x change. So I would say: No, 3.X didn't have major API breaking changes.

I'm not sure about the language here as we will probably do a 4.x release in the future too which wouldn't necessarily break lot of old code written for 3.x.

@createyourpersonalaccount

Copy link
Copy Markdown
Contributor Author

Okay, should the fact that the 3.x release was not a major API break be mentioned there? As it is, the page leaves the reader wonderful if it is correct or not, because it mentions the 1.x to 2.x changes as a breaking API change, and mentions the major numbers as breaking API changes, and yet you say the 3.x release was not one of them...

@createyourpersonalaccount

Copy link
Copy Markdown
Contributor Author

@MridulS ping

Comment thread doc/release/index.rst Outdated
Comment on lines 5 to 6
We don't use semantic versioning. The first number indicates that we have
made a major API break (e.g., 1.x to 2.x), which has happened once and probably
made a major API break (e.g., 1.x to 2.x), which has happened twice and probably
won't happen again for some time. The point releases are new versions and may

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about changing it to:

We don't use semantic versioning.  The first number (e.g., 1.x to 2.x) indicates a
major API break which happens rarely. The point releases are new versions and may

@rossbar rossbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to go ahead and close this - I agree with @MridulS @dschult and @jarrodmillman that the change from 2.X -> 3.X did not involve nearly as significant API changes as 1.X -> 2.X, so it doesn't make sense to categorize them the same.

@rossbar rossbar closed this Jan 19, 2025
@createyourpersonalaccount

Copy link
Copy Markdown
Contributor Author

@rossbar I think you misread what @dschult said. He suggested that it is explained that semantic versioning is not used, and that major number change indicates a major API break.

@Schefflera-Arboricola

Copy link
Copy Markdown
Member

@createyourpersonalaccount please update the PR title and the docs accordingly. Thanks!

Remove count of major releases. Also note that deprecation
cycle is usually 2 minor releases (already specified elsewhere in
developer documentation).

Co-authored-by: Dan Schult <[email protected]>

@rossbar rossbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took the liberty of applying @dschult 's suggestion. Thanks all!

@dschult
dschult merged commit f2c43bc into networkx:main Jan 23, 2025
@jarrodmillman jarrodmillman added this to the 3.5 milestone May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

6 participants