mina-sshd
mina-sshd copied to clipboard
Bump org.apache.mina:mina-core from 2.0.23 to 2.2.3
Bumps org.apache.mina:mina-core from 2.0.23 to 2.2.3.
Commits
906884d[maven-release-plugin] prepare release 2.2.3abeddb9Downgraded the maven source plugin version because 3.3.0 fails677e729o Bumped up dependencies and maven polugins48de5d2Ignore the test, otherwise it will loop forever1a7c450Renamed the DIRMINA1172 test3e638d1Merge remote-tracking branch 'origin/2.2.X' into 2.2.Xc723045Fix for DIRMINA-117226f6f99Use the diamond notation0145d1aUse stock JRE Charset instead of magic string269aef1Use stock JRE Charset instead of magic string- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@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)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Uh... are we ready to abandon the 2.0.x stream of Apache MINA? I know for certain that Gerrit uses the MINA transport back-end with MINA 2.0.25. Jumping to 2.2.3 might incur a lot of testing work.
Given that a MINA 2.2.4 is forthcoming, I think the correct way forward here would be
- Leave our POM at 2.0.25.
- Change https://github.com/apache/mina/blob/14d876107c60a169f11ec2c3ce3cd9aadcd9b43c/mina-core/src/main/java/org/apache/mina/core/service/IoHandler.java#L124 to a default method (empty). That would re-instate binary compatibility, right?
- Leave our code unchanged. (I.e., don't add the new override.)
- Mention in the documentation of sshd-mina that it works with MINA >= 2.0.25 or MINA >= 2.2.4.
We can't add the method as it has a FilterEvent parameter, which is a new class introduced in Mina 2.1.0.
I don't think there's a way to support both 2.0.x and 2.1.x at the same time.
@elecharny any thoughts ?
@gnodet: yes, I know. But if Apache MINA makes it a default method, then we don't have to declare it at all, and thus we can at least support 2.0.x and >= 2.2.4 with the same code. Yes, we cannot support 2.0.x and (2.1.x or <=2.2.3) at the same time.
A newer version of org.apache.mina:mina-core exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
if Apache MINA makes it a default method, then we don't have to declare it at all, and thus we can at least support 2.0.x and >= 2.2.4 with the same code.
See https://github.com/apache/mina/pull/48.
Superseded by #681. Keep the dependency at 2.0.X but also test using 2.2.X. In mina-core 2.2.5, that method will be a default method.
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.