Skip to content

Conversation

@fioan89
Copy link
Collaborator

@fioan89 fioan89 commented Feb 28, 2023

  • main branch will now support Gateway 2022.3 versions

fioan89 and others added 30 commits November 25, 2022 00:25
- major version changed because of Gateway API is incompatible with older versions
- eap is now the release channel.
- I think it's better for MAJOR.MINOR.PATCH to be synchronized with main branch.
- the first three versions will change when business will change while `eap-x` will be increased when support for new Gateway releases is added
- release channels other than default one have to be
  configured by users the Jetbrains products which is
  a bit inconvenient.
 - as long as the Gateway supported versions don't
   overlap with main branch then it's safe to release
   in the main channel.
- include all bugfixes and enhancements
  released with `2.1.3`
Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

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

Out of curiosity, what made the build break if no source-code changes needed to be made?

@fioan89 fioan89 merged commit 0444aea into main Feb 28, 2023
@fioan89
Copy link
Collaborator Author

fioan89 commented Feb 28, 2023

@kylecarbs there were a couple of explicit API calls that were not compatible with Gateway 2022.2, but I got rid of them two months ago with this rework: 0b5a256#diff-2181dc554d6743aadbfd2d3a9399b635536069a24e647fc82c98cdfa4fbf2bfa

There are however a couple of other things that make the SDK of Gateway 2022.2 and Gateway 2022.3 incompatible:

  • JDK 17. Gateway 2022.3 targets JDK 17 while 2022.2 is still on JDK 11.
  • linkage errors at runtime. One example, we implement a GatewayConnector interface, which in 2022.3 got a new method with a default implementation. Even though we don't explicitly use this new method in the plugin - Gateway does. If we don't compile against the new SDK to inherit this method then the plugin will fail to work with 2022.3. But if we do compile against the latest SDK, then we will have trouble running on 2022.2 because that can't run code targeting Java 17.

@code-asher code-asher deleted the eap-merge branch May 22, 2024 22:15
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.

4 participants