Bump IPNetwork2 from 3.5.3 to 4.3.0#42
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
--- updated-dependencies: - dependency-name: IPNetwork2 dependency-version: 4.3.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Updated IPNetwork2 from 3.5.3 to 4.3.0.
Release notes
Sourced from IPNetwork2's releases.
4.3.0
Highlights
netstandard2.0 is back
The library targets
netstandard2.0again — consumable from .NET Framework 4.6.1+, .NET Core 2.x, and other ns2.0-compatible runtimes. (ns2.0 was dropped in 4.0; this release restores it without breaking anything else.)Source changes that made ns2.0 viable:
NotNullWhenAttributepolyfill compiled only under#if NETSTANDARD2_0SHA256.ComputeHashfallback widened from#if NETSTANDARD2_1to#if NETSTANDARDnnin[^1]replaced withnnin[Length - 1](ns2.0 lacksSystem.Index)Contains(char)replaced withIndexOf('/') >= 0(char overload is .NET Core 2.1+)Windows / net48 quality gate in CI
TestProjectnow multi-targetsnet10.0;net48and a newwindows-latestjob runs the net48 build directly. This is the only CI path that actually loads the ns2.0 DLL at runtime, so ns2.0-specific regressions get caught before release.Test execution fixes since 4.2.0
MSTest.TestAdapterto 4.2.3 to matchMSTest.TestFramework, fixing the module-initializerInvalidOperationExceptionthat crashed the test hostConsoleApplicationlock file forMicrosoft.NET.ILLink.Tasks10.0.7TFM resolution for consumers
netstandard2.0(new)netstandard2.0(new)netstandard2.1net8.0net9.0net10.0Full changelog: lduchosal/ipnetwork@4.2.0...4.3.0
4.2.0
Full Changelog: lduchosal/ipnetwork@4.1.1...4.2.0
4.1.1
Fix
NullReferenceExceptionwhen displaying IPv6/128networks (Broadcast, FirstUsable, LastUsable can be null)macos-13runner, added--skip-duplicatefor NuGet pushDownloads
ipnetwork-win-x64.zipipnetwork-osx-arm64.tar.gzipnetwork-osx-x64.tar.gzipnetwork-linux-x64.tar.gzipnetwork-linux-arm64.tar.gzchoco install ipnetworkdotnet add package IPNetwork24.1.0
What's new
ipnetworkinstead ofConsoleApplicationdotnet-10.0-runtimedependencyDownloads
ipnetwork-win-x64.zipipnetwork-osx-arm64.tar.gzipnetwork-osx-x64.tar.gzipnetwork-linux-x64.tar.gzipnetwork-linux-arm64.tar.gzchoco install ipnetworkdotnet add package IPNetwork24.0.2
IPNetwork2 v4.0.2
Changes since 4.0.1
Contains,Overlap,Print,Subnet,TrySubnet,Supernet,TrySupernet,IsIANAReserved(IPNetwork2)FilterEnumenum andListIPAddress(FilterEnum)overload — useFilterandListIPAddress(Filter)instead/→/src).vscode/,qodana.yaml).DS_Storeand.vscode/to.gitignoreFull changelog since 3.x
See v4.0.1 release notes for the complete list of breaking changes and improvements in the 4.0 series.
❤️ Support the project
IPNetwork2 is free and open source. If it saves you time or you use it in production, consider supporting its development:
Thank you!
4.0.1
IPNetwork2 v4.0.1
Breaking Changes
Target Framework
netstandard2.0andSystem.Memorydependencynet8.0,net9.0,net10.0,netstandard2.1Nullable Reference Types
<Nullable>enable</Nullable>withTreatWarningsAsErrors?,[NotNullWhen(true)])Removed Obsolete Methods
Contains,Overlap,Subnet,TrySubnet,Supernet,TrySupernet,Print,IsIANAReserved(IPNetwork2)FilterEnumenum andListIPAddress(FilterEnum)overloadIANA Reserved Blocks (#376)
IsIANAReserved()now returnstruefor many more addresses — applications relying on the previous (incomplete) behavior may be affected0.0.0.0/8), Loopback (127.0.0.0/8), Link-local (169.254.0.0/16), IETF Protocol (192.0.0.0/24), TEST-NET-1/2/3, Benchmarking (198.18.0.0/15), Multicast (224.0.0.0/4), Reserved (240.0.0.0/4), Broadcast (255.255.255.255/32)::/128), Loopback (::1/128), IPv4-mapped (::ffff:0:0/96), IPv4/IPv6 translation (64:ff9b::/96), TEREDO (2001::/32), Documentation (2001:db8::/32), Unique local (fc00::/7), Link-local (fe80::/10), Multicast (ff00::/8)IsIANAReserved()now supports IPv6 addresses and networks nativelyImprovements
Code Quality
EnforceCodeStyleInBuildandWarningLevel 5ArgumentExceptioninstancesis nullinstead ofReferenceEquals[^1]string.Contains(char)instead ofstring.Contains(string)SHA256.HashDataon .NET 5+ targetsInternalToNetmaskandInternalSubnetfromvoidtoboolwith[NotNullWhen(true)]— eliminated null-forgiving operatorsTests
Assert.ThrowsExactlylambdas now contain single statements#pragma warning disable 0618pragmasMisc
sanitanize→sanitize.DS_Storeto.gitignore❤️ Support the project
... (truncated)
4.0.0
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)