Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 2.4.0 #45

Merged
merged 61 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
e9773f5
build: gradle-intellij-plugin 1.15.0 -> 1.16.1
Pakisan Dec 6, 2023
7062608
build: intellij-plugin-verifier 1.303 -> 1.307
Pakisan Dec 6, 2023
7a45c5f
build: intellij-plugin-verifier add new 2023.2 versions
Pakisan Dec 6, 2023
0c1c56b
feat: IDEA 2023.3
Pakisan Dec 6, 2023
6027c75
Merge branch 'master' into release/2.4.0
Pakisan Dec 6, 2023
b37e20d
feat: AsyncAPI 3.0.0 JsonSchema
Pakisan Dec 6, 2023
affd9e4
feat: create AsyncAPI 3.0.0 specification from template
Pakisan Dec 6, 2023
f1b6336
fix: validation tests - channels case
Pakisan Dec 8, 2023
fdcd14d
Merge branch 'master' into release/2.4.0
Pakisan Dec 8, 2023
477698a
Merge branch 'release/2.4.0' into feat/asyncapi-3.0.0
Pakisan Dec 8, 2023
b534033
refactor: rename AsyncAPISchemaHtmlRenderer to AsyncAPISpecificationH…
Pakisan Dec 9, 2023
1e48dff
refactor: rename AsyncAPISchemaCompletionContributor to AsyncAPISpeci…
Pakisan Dec 9, 2023
87eb11d
refactor: rename AsyncAPISchemaRecognizer to AsyncAPISpecificationRec…
Pakisan Dec 9, 2023
6960dae
refactor: rename AsyncAPISpecificationRecognizer isSchema to isSpecif…
Pakisan Dec 9, 2023
77f4916
feat: AsyncAPI 3.0.0 completion
Pakisan Dec 9, 2023
fcce095
test: 3.0.0 AsyncAPISpecificationRecognizerTest
Pakisan Dec 9, 2023
1f7a088
test: 3.0.0 AsyncAPIJsonSchemaProviderTest
Pakisan Dec 9, 2023
da89423
refactor: rename AsyncAPISpecificationRecognizerTest method names
Pakisan Dec 9, 2023
f1d06e0
refactor: rename AsyncAPISchemaReferenceContributor to AsyncAPISpecif…
Pakisan Dec 9, 2023
e51a8d6
refactor: rename AsyncAPISchemaReferencesCollector to AsyncAPISpecifi…
Pakisan Dec 10, 2023
46e1bb3
refactor: AsyncAPISpecificationReferencesCollector move from _core to…
Pakisan Dec 10, 2023
c5cd3c2
refactor: rename AsyncAPISchemaIndex to AsyncAPISpecificationIndex
Pakisan Dec 10, 2023
7c9625e
refactor: rename AsyncAPISchemaIndexer to AsyncAPISpecificationIndexer
Pakisan Dec 10, 2023
1f0d9b3
refactor: rename AsyncAPISchemaDetector to AsyncAPISpecificationDetector
Pakisan Dec 10, 2023
701f87a
refactor: move v2 index to v2 package
Pakisan Dec 11, 2023
8718b3d
refactor: rename AsyncAPISpecificationDetector isAsyncAPISchema to is…
Pakisan Dec 11, 2023
878611c
refactor: rename AsyncAPISpecificationDetector isReferencedAsyncAPISc…
Pakisan Dec 11, 2023
f384a87
refactor: rename and make private AsyncAPISpecificationDetector#isRef…
Pakisan Dec 11, 2023
7c9d2fb
refactor: rename and make private AsyncAPISpecificationDetector#isRef…
Pakisan Dec 11, 2023
547e3f3
refactor: rename AsyncAPISpecificationDetector#indexedAsyncAPISchemas…
Pakisan Dec 11, 2023
68ecac7
refactor: rename AsyncAPISpecificationDetector#indexedReferencedAsync…
Pakisan Dec 11, 2023
55b844f
feat: v3 index
Pakisan Dec 11, 2023
cb2b733
refactor: change schema in names to specification
Pakisan Dec 11, 2023
1216bc0
refactor: change schema in names to specification
Pakisan Dec 11, 2023
ae84430
refactor: change schema in names to specification
Pakisan Dec 11, 2023
9f70e0d
refactor: change schema in names to specification
Pakisan Dec 11, 2023
84a43a9
refactor: change schema in names to specification
Pakisan Dec 11, 2023
0286605
refactor: change schema in names to specification
Pakisan Dec 11, 2023
f6fa0ba
refactor: change schema in names to specification
Pakisan Dec 11, 2023
bc25013
refactor: change schema in names to specification
Pakisan Dec 11, 2023
cd1d1a3
refactor: rename AsyncAPI specification templates
Pakisan Dec 11, 2023
a894a7a
refactor: rename AsyncAPI*SchemaInspection to AsyncAPI*SpecificationI…
Pakisan Dec 11, 2023
acbb641
refactor: change schema in names to specification
Pakisan Dec 11, 2023
e849d3b
refactor: move xpath tests to correct package
Pakisan Dec 11, 2023
8511a13
text: PsiFileXPath v3
Pakisan Dec 11, 2023
3b50e1f
refactor: change schema in names to specification
Pakisan Dec 11, 2023
efd1432
refactor: move v2 inspection tests to correct package
Pakisan Dec 11, 2023
b018e6e
test: v3 AsyncAPI inspection
Pakisan Dec 11, 2023
c4295db
refactor: move v2 psi references tests to correct package
Pakisan Dec 11, 2023
ba1075e
test: AsyncAPI v3 json completion - variants provider test
Pakisan Dec 11, 2023
de0714e
test: AsyncAPI v3 yaml completion - variants provider test
Pakisan Dec 11, 2023
4b345ef
test: AsyncAPI v3 json completion - reference variants provider test
Pakisan Dec 11, 2023
a0e00d6
test: AsyncAPI v3 yaml completion - reference variants provider test
Pakisan Dec 11, 2023
098ffa1
feat: AsyncAPISpecificationDetector detect v3 and v2
Pakisan Dec 11, 2023
8da26ae
feat: v3 collect referenced components
Pakisan Dec 13, 2023
07d669e
feat: preview v3
Pakisan Dec 14, 2023
f0caab7
feat: up preview version
Pakisan Dec 14, 2023
1430d85
Merge pull request #44 from asyncapi/feat/asyncapi-3.0.0
Pakisan Dec 14, 2023
a1039e1
build: plugin compatibility verification with 2023.3.1
Pakisan Dec 15, 2023
7d7d613
release: 2.4.0
Pakisan Dec 15, 2023
0b59e9c
fix(inspection description): sonar issues
Pakisan Dec 18, 2023
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
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"
philCryoport marked this conversation as resolved.
Show resolved Hide resolved
}

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",
philCryoport marked this conversation as resolved.
Show resolved Hide resolved
))
verifierVersion.set("1.303")
verifierVersion.set("1.307")
philCryoport marked this conversation as resolved.
Show resolved Hide resolved
}

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