Skip to content

Commit 44fbec1

Browse files
committed
Update for 212, changelog for v3 updated
1 parent 77253a9 commit 44fbec1

File tree

3 files changed

+46
-20
lines changed

3 files changed

+46
-20
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
# Changelog
44

5+
## [3.0.0] - 2021-07-16
6+
7+
### Added
8+
9+
- Added separate configurable inspections for existing schema and query validation rules, e.g. **Unresolved reference**, **Type redefinition**, **Member redefinition**, **Duplicate argument**, **Duplicate directive**, and many more.
10+
- Added support for repeatable directives.
11+
- Added support for `extend schema` syntax.
12+
- Added support for schema descriptions.
13+
- Added support for subscription directives.
14+
- Added several Relay built-in directives.
15+
- Supported suppression of inspections with comment for the definition or the whole file.
16+
- Changing the file highlight level in the editor prevents any inspections from being displayed.
17+
- Load variables from .env files. Supported file names: `.env.local`,`.env.development.local`,`.env.development`,`.env`.
18+
- Injections using `#graphql` and `/* GraphQL */` comments.
19+
- Enabled ESLint support for GraphQL.
20+
21+
### Changed
22+
- Improved completion for variables in queries.
23+
- Improved readability of error messages.
24+
25+
### Fixed
26+
- Emojis in the end-of-line comments.
27+
- Fixed resolve for directive arguments.
28+
- Fixed resolve for default object argument fields.
29+
- Fixed displaying Apollo `@client` fields as errors.
30+
531
## [2.9.1] - 2021-03-02
632

733
### Fixed

build.gradle

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
plugins {
2-
id 'org.jetbrains.grammarkit' version '2021.1.2'
3-
id 'org.jetbrains.intellij' version '0.7.3'
2+
id 'org.jetbrains.grammarkit' version '2021.1.3'
3+
id 'org.jetbrains.intellij' version '1.1.3'
44
id 'com.github.ManifestClasspath' version '0.1.0-RELEASE'
5-
id 'org.jetbrains.changelog' version '0.6.2'
5+
id 'org.jetbrains.changelog' version '1.2.0'
66
}
77

88
group pluginGroup
@@ -33,18 +33,17 @@ dependencies {
3333
}
3434

3535
intellij {
36-
version platformVersion
37-
type platformType
38-
pluginName pluginName
36+
version = platformVersion
37+
type = platformType
3938
plugins = ['JavaScriptLanguage', 'CSS', 'IntelliLang', 'java']
40-
ideaDependencyCachePath = project.buildDir
39+
ideaDependencyCachePath = project.buildDir.absolutePath
4140

4241
patchPluginXml {
43-
version pluginVersion
44-
sinceBuild pluginSinceBuild
45-
untilBuild pluginUntilBuild
42+
version = pluginVersion
43+
sinceBuild = pluginSinceBuild
44+
untilBuild = pluginUntilBuild
4645

47-
changeNotes """
46+
changeNotes = """
4847
<p><b>New in $pluginVersion</b></p>
4948
<p>
5049
${changelog.get(pluginVersion.toString()).toHTML()}
@@ -56,7 +55,7 @@ intellij {
5655
}
5756

5857
runPluginVerifier {
59-
ideVersions = ['IU-2019.3.5', 'IU-2020.2.4', 'IU-2021.1']
58+
ideVersions = ['IU-2019.3.5', 'IU-2020.2.4', 'IU-2021.2']
6059
}
6160

6261
runIde {
@@ -81,7 +80,9 @@ sourceSets {
8180
apply plugin: 'org.jetbrains.grammarkit'
8281

8382
// import is optional to make task creation easier
84-
import org.jetbrains.grammarkit.tasks.*
83+
84+
import org.jetbrains.grammarkit.tasks.GenerateLexer
85+
import org.jetbrains.grammarkit.tasks.GenerateParser
8586

8687
// GraphQL Parser and Lexer
8788
task generateGraphQLLexer(type: GenerateLexer) {

gradle.properties

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ org.gradle.parallel=true
33
org.gradle.configureondemand=true
44
org.gradle.jvmargs=-Xmx3g -XX:MaxPermSize=2048m
55

6-
pluginGroup = com.intellij.lang.jsgraphql
7-
pluginName = JS GraphQL
8-
pluginVersion = 2.9.1
9-
pluginSinceBuild = 193.7288
10-
pluginUntilBuild = 212.*
6+
pluginGroup=com.intellij.lang.jsgraphql
7+
pluginVersion=3.0.0
8+
pluginSinceBuild=193.7288
9+
pluginUntilBuild=213.*
1110

12-
platformType = IU
13-
platformVersion = IU-211-EAP-SNAPSHOT
11+
platformType=IU
12+
platformVersion=IU-LATEST-EAP-SNAPSHOT

0 commit comments

Comments
 (0)