Skip to content

Commit

Permalink
Merge pull request #45 from asyncapi/release/2.4.0
Browse files Browse the repository at this point in the history
feat: 2.4.0
  • Loading branch information
Pakisan authored Dec 18, 2023
2 parents d1113bd + 0b59e9c commit 73c2df3
Show file tree
Hide file tree
Showing 179 changed files with 12,354 additions and 1,109 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 2.4.0+jre17
published to:
- [JetBrains marketplace](https://plugins.jetbrains.com/plugin/15673-asyncapi/versions/stable/454611)
- [GitHub](https://github.com/asyncapi/jasyncapi-idea-plugin/releases/tag/2.4.0%2Bjre17)

### Added
- AsyncAPI 3.0.0
- Compatibility with IDEA 2023.3

## 2.3.0+jre17
published to:
- [JetBrains marketplace](https://plugins.jetbrains.com/plugin/15673-asyncapi/versions/stable/386402)
Expand Down
20 changes: 14 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
plugins {
id("org.jetbrains.intellij") version "1.15.0"
id("org.jetbrains.intellij") version "1.16.1"
java
kotlin("jvm") version "1.8.10"
}

group = "com.asyncapi.plugin.idea"
version = "2.3.1+jre17"
version = "2.4.0+jre17"

repositories {
mavenCentral()
Expand All @@ -23,14 +23,15 @@ dependencies {

// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version.set("2023.1.5")
version.set("2023.3.1")
plugins.set(listOf("yaml"))
}
tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml") {
sinceBuild.set("223")
untilBuild.set("232.*")
untilBuild.set("233.*")
changeNotes.set("""
<p>Fixed issue with svg icon rendering, which was blocking showing of context menu with new files (right click, new)</p>
<p>AsyncAPI 3.0.0</p>
<p>IDEA 2023.3</p>
""".trimIndent())
}

Expand All @@ -47,8 +48,15 @@ tasks.getByName<org.jetbrains.intellij.tasks.RunPluginVerifierTask>("runPluginVe
"2023.1.4",
"2023.1.5",
"2023.2",
"2023.2.1",
"2023.2.2",
"2023.2.3",
"2023.2.4",
"2023.2.5",
"2023.3",
"2023.3.1",
))
verifierVersion.set("1.303")
verifierVersion.set("1.307")
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import com.jetbrains.jsonSchema.impl.JsonSchemaObject
@Service
class AsyncAPIJsonSchemaProvider {

private val asyncAPISchemaRecognizer = service<AsyncAPISchemaRecognizer>()
private val asyncAPISpecificationRecognizer = service<AsyncAPISpecificationRecognizer>()

fun provide(file: PsiFile, project: Project): JsonSchemaObject? {
val asyncApiVersion = asyncAPISchemaRecognizer.extractAsyncAPIKey(file)
val asyncApiVersion = asyncAPISpecificationRecognizer.extractAsyncAPIKey(file)
asyncApiVersion ?: return null

if (!asyncAPISchemaRecognizer.isSupported(asyncApiVersion)) {
if (!asyncAPISpecificationRecognizer.isSupported(asyncApiVersion)) {
return null
}

Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 73c2df3

Please sign in to comment.