Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ plugins {

intellij {
//Bundled plugin dependencies
plugins.set(listOf("yaml", "com.intellij.java", "org.jetbrains.plugins.yaml"))
// "com.intellij.modules.json" to be added when minimum required version is at least 2024.3
plugins.set(listOf("com.intellij.java", "org.jetbrains.plugins.yaml"))
pluginName.set("intellij-swagger")
version.set("2022.3") // Recommended to use the lowest supported version to compile against
}
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
<name>Zalando OpenAPI Editor</name>
<vendor email="sebastian.monte@zalando.de" url="https://tech.zalando.com/">Zalando SE</vendor>

<!-- Module dependencies -->
<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.lang</depends>
<depends>com.intellij.modules.json</depends> <!-- Bundled plugin starting from 2024.3 -->
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.

So if the previous versions of IntellIj don't have this, will it still work with older versions?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

As far as I understand, it has been a module and in 2024.3 it was migrated to a (bundled) plugin. So, older versions have it and the declaration for the dependency was just missing.
However, it's not clear if this will be enough, or if we need to also add a plugin dependency. The challenge there is that the json plugin is only available for 2024.3.

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.

Thanks for explanation. But how would we then find out? Just merging this PR and see what happens?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Generally yes. We can do a release to the beta channel.

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.

So what is then preventing us to move this PR from draft to ready for review?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @cberg-zalando I am wondering the same, what is preventing your team since 3 months to review this PR and release an update to this (certainly for us critical) IntelliJ plugin?

FYI @asaarilahti

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There is a new version of Jetbrains developer agreement, which requires a legal review. @cberg-zalando Have you got any updates on that?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Any update on this one guys? We really need and would like to use the plugin again.
Keep in mind, Jetbrains just released another major version, so you should update the plugin metadata one more time and release the plugin to the Jetbrains marketplace.


<!-- Bundled plugin dependencies -->
<depends>com.intellij.java</depends>
<depends>org.jetbrains.plugins.yaml</depends>

<description><![CDATA[
Expand Down