Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+semver:major Changed to target .Net Framework 4.6.2 instead of 4.6.1 #1351

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

tombogle
Copy link
Contributor

@tombogle tombogle commented Oct 10, 2024

This change is Reviewable

@tombogle tombogle added the dependencies Pull requests that update a dependency file label Oct 10, 2024
@tombogle tombogle self-assigned this Oct 10, 2024
Copy link

github-actions bot commented Oct 10, 2024

LibPalaso Tests

    37 files  ±0      37 suites  ±0   9m 47s ⏱️ +14s
 4 828 tests ±0   4 597 ✅ ±0  231 💤 ±0  0 ❌ ±0 
11 193 runs  ±0  10 662 ✅ ±0  531 💤 ±0  0 ❌ ±0 

Results for commit 3cbc821. ± Comparison against base commit 17401d1.

♻️ This comment has been updated with latest results.

@tombogle tombogle changed the title +semver:major WIP: Changed to target .Net Framework 4.6.2 instead of 4.6.1 +semver:major Changed to target .Net Framework 4.6.2 instead of 4.6.1 Oct 10, 2024
@tombogle tombogle marked this pull request as ready for review October 10, 2024 17:38
Copy link
Contributor

@andrew-polk andrew-polk left a comment

Choose a reason for hiding this comment

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

Reviewed 9 of 9 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @hahn-kev, @josephmyers, and @tombogle)


CHANGELOG.md line 47 at r1 (raw file):

### Changed

- Changed to target .Net Framework 4.6.2 instead of 4.6.1

Should there be something here to make it more obvious that this is a breaking change?

@tombogle
Copy link
Contributor Author

CHANGELOG.md line 47 at r1 (raw file):

Previously, andrew-polk wrote…

Should there be something here to make it more obvious that this is a breaking change?

I looked down through the changelog file to see if/how we had handled other similar things (specifically to know whether something should go in square brackets at the start of the line). I'm not quite sure there has been anything entirely analogous since we first started creating nuget packages. Of course, the semver: major itself makes it clear in the git history and that will trigger a new major version number. On nuget.org, it's very clear which frameworks are targeted by any package, and I'm pretty sure the package manager in VS will holler loudly if someone tries to upgrade a package to a version that is incompatible with their project's target framework. So I believe we're covered. That said, if you think it's warranted, I could make it something like:

Code snippet:

- **WARNING** **WARNING** **WARNING!!!**
- **BREAKING CHANGE:** Changed to target .Net Framework 4.6.2 instead of 4.6.1
- **YOU HAVE BEEN WARNED!!!**

Copy link
Contributor

@andrew-polk andrew-polk left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @hahn-kev, @josephmyers, and @tombogle)


CHANGELOG.md line 47 at r1 (raw file):
: )

Probably

BREAKING CHANGE: Changed to target .Net Framework 4.6.2 instead of 4.6.1

is sufficient.

Or maybe better would be to have a

Breaking Changes

section before the

Added

section

Copy link
Contributor

@imnasnainaec imnasnainaec left a comment

Choose a reason for hiding this comment

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

net461 still appears in TestApps/SIL.Windows.Forms.TestApp/environ and TestApps/SIL.Windows.Forms.TestApp/README.md.

There's also sku=".NETFramework,Version=v4.6.1" in 16 files.

@tombogle tombogle marked this pull request as draft October 10, 2024 18:43
@tombogle
Copy link
Contributor Author

net461 still appears in TestApps/SIL.Windows.Forms.TestApp/environ and TestApps/SIL.Windows.Forms.TestApp/README.md.

There's also sku=".NETFramework,Version=v4.6.1" in 16 files.

Thanks for catching those things. I knew there had to be more to it! If I understand correctly, with this change we are officially abandoning support for mono (specifically mono-sil). If so, then I believe the correct thing is to delete the environ file altogether.

Removed file with info about sil-mono
@tombogle tombogle marked this pull request as ready for review October 10, 2024 20:42
@tombogle
Copy link
Contributor Author

CHANGELOG.md line 47 at r1 (raw file):

Previously, andrew-polk wrote…

: )

Probably

BREAKING CHANGE: Changed to target .Net Framework 4.6.2 instead of 4.6.1

is sufficient.

Or maybe better would be to have a

Breaking Changes

section before the

Added

section

The sections follow the https://keepachangelog.com/ guidelines. The vast majority of the things listed in the Changed section are breaking changes. After some reflection, I think it probably makes sense to include this in the Removed section as well.

Copy link
Contributor

@andrew-polk andrew-polk left a comment

Choose a reason for hiding this comment

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

Reviewed 18 of 18 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @hahn-kev and @josephmyers)

@tombogle tombogle merged commit ad4c21f into master Oct 11, 2024
4 checks passed
@tombogle tombogle deleted the target-net462 branch October 11, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants