From 61a9ab0732622ac48c5225b5a54a5a8c8142818b Mon Sep 17 00:00:00 2001 From: Thomas Schouten Date: Mon, 30 Dec 2024 10:13:06 +0100 Subject: [PATCH] Update dependencies, downgrade intellij because of JetBrains/intellij-platform-gradle-plugin#1838 --- CHANGELOG.md | 39 ++++++++++++++++++++++++++++++--------- build.gradle.kts | 42 +++++++++++++++++++++++------------------- gradle.properties | 2 +- 3 files changed, 54 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f72c593f..e4a26f162 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,35 +3,55 @@ ## [Unreleased] ### Added + +### Fixed + +## [0.9.10-alpha.5] - 2024-12-30 + +### Added + * Support Tectonic V2 CLI in run configuration * Add basic support for multiple inputs in Tectonic.toml * Improve performance of file set cache used by inspections * Support label references to user defined listings environment * Add option to disable automatic compilation in power save mode * Convert automatic compilation settings to a combobox - * Add experimental support for the addtoluatexpath package - - - - * Add inspection to check for LaTeX package updates - - - * Add checkboxes to graphic insertion wizard for relative width or height +* Add sections to breadcrumbs +* Improve performance when starting a run configuration and when using autocompletion directly after starting the IDE +* Change order in structure view to match source file and sectioning level +* Add command redefinitions to command definition filter in structure view +* Add support for automatic language injection on the minted environment +* Add support for automatic detection of custom command aliases for include commands +* Add support for DeclareGraphicsExtensions +* Add inspection to warn about a missing reference for a glossary occurrence +* Do not fold sections in a command definition +* Include optional parameters in spellcheck, if it contains text +* Improve performance of finding files to be indexed +* Show formatted file path in file not found inspection quickfix name +* Automatically index bibliography files outside the project that are included by an absolute path +* Disable quotes inspection when TeX ligatures are disabled by fontspec +* Inspections can now be suppressed for any single line, or block of text ### Fixed + * Fix parse error when using commands with arguments in parameter of \href or \url * Fix parse error when using parentheses in a group in a key value command argument * Fix parse erron when using inline math in cases* environment in inline math * Fix exceptions #3813, #3818 * Fix false positive non-breaking space warning for \nameref * Fix confusion with \micro and \mu unicode characters +* Fix auto import from local bibtex file on Windows +* Fix false positive for duplicate command definition inspection in if/else +* Fix LaTeX files not showing up when choosing main file in run configuration +* Fix various issues with the Grazie implementation, in particular default rules for Grazie Pro ## [0.9.10-alpha.4] - 2024-12-21 ### Added + * Add sections to breadcrumbs * Improve performance when starting a run configuration and when using autocompletion directly after starting the IDE * Change order in structure view to match source file and sectioning level @@ -522,7 +542,8 @@ Thanks to @jojo2357 and @MisterDeenis for contributing to this release! * Fix some intention previews. ([#2796](https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2796)) * Other small bug fixes and improvements. ([#2776](https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2776), [#2774](https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2774), [#2765](https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2765)-[#2773](https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2773)) -[Unreleased]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.10-alpha.4...HEAD +[Unreleased]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.10-alpha.5...HEAD +[0.9.10-alpha.5]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.10-alpha.4...v0.9.10-alpha.5 [0.9.10-alpha.4]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.10-alpha.3...v0.9.10-alpha.4 [0.9.10-alpha.3]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.10-alpha.2...v0.9.10-alpha.3 [0.9.10-alpha.2]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.9...v0.9.10-alpha.2 diff --git a/build.gradle.kts b/build.gradle.kts index d6e910f03..ce56701a6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ fun properties(key: String) = project.findProperty(key).toString() // Include the Gradle plugins which help building everything. // Supersedes the use of "buildscript" block and "apply plugin:" plugins { - id("org.jetbrains.intellij.platform") version "2.1.0" + id("org.jetbrains.intellij.platform") version "2.2.1" kotlin("jvm") version ("2.0.20") kotlin("plugin.serialization") version ("2.0.20") @@ -25,13 +25,13 @@ plugins { id("de.undercouch.download") version "5.6.0" // Test coverage - id("org.jetbrains.kotlinx.kover") version "0.8.3" + id("org.jetbrains.kotlinx.kover") version "0.9.0" // Linting id("org.jlleitschuh.gradle.ktlint") version "12.1.1" // Vulnerability scanning - id("org.owasp.dependencycheck") version "11.1.0" + id("org.owasp.dependencycheck") version "11.1.1" id("org.jetbrains.changelog") version "2.2.1" @@ -96,7 +96,7 @@ dependencies { testFramework(TestFrameworkType.Platform) testFramework(TestFrameworkType.Plugin.Java) - intellijIdeaCommunity("2024.3.1") + intellijIdeaCommunity("2024.3") // Docs: https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties // All snapshot versions: https://www.jetbrains.com/intellij-repository/snapshots/ @@ -112,7 +112,7 @@ dependencies { bundledPlugin("com.intellij.java") bundledPlugin("tanvd.grazi") plugin("com.firsttimeinforever.intellij.pdf.viewer.intellij-pdf-viewer:0.17.0") - plugin("com.jetbrains.hackathon.indices.viewer:1.28") + plugin("com.jetbrains.hackathon.indices.viewer:1.29") // Does not work in tests: https://youtrack.jetbrains.com/issue/GRZ-5023 // plugin("com.intellij.grazie.pro:0.3.347") } @@ -144,13 +144,13 @@ dependencies { implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.18.2") // Http requests - implementation("io.ktor:ktor-client-core:3.0.1") - implementation("io.ktor:ktor-client-cio:3.0.1") - implementation("io.ktor:ktor-client-auth:3.0.1") - implementation("io.ktor:ktor-client-content-negotiation:3.0.1") - implementation("io.ktor:ktor-server-core:3.0.1") - implementation("io.ktor:ktor-server-jetty-jakarta:3.0.1") - implementation("io.ktor:ktor-serialization-kotlinx-json:3.0.1") + implementation("io.ktor:ktor-client-core:3.0.3") + implementation("io.ktor:ktor-client-cio:3.0.3") + implementation("io.ktor:ktor-client-auth:3.0.3") + implementation("io.ktor:ktor-client-content-negotiation:3.0.3") + implementation("io.ktor:ktor-server-core:3.0.3") + implementation("io.ktor:ktor-server-jetty-jakarta:3.0.3") + implementation("io.ktor:ktor-serialization-kotlinx-json:3.0.3") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3") // Comparing versions @@ -161,9 +161,9 @@ dependencies { implementation("org.apache.xmlgraphics:batik-all:1.18") implementation("batik:batik-svg-dom:1.6-1") - implementation("io.arrow-kt:arrow-core:1.2.4") - implementation("io.arrow-kt:arrow-fx-coroutines:1.2.4") - implementation("io.arrow-kt:arrow-resilience:1.2.4") + implementation("io.arrow-kt:arrow-core:2.0.0") + implementation("io.arrow-kt:arrow-fx-coroutines:2.0.0") + implementation("io.arrow-kt:arrow-resilience:2.0.0") // Test dependencies // No version specified, it equals the kotlin version testImplementation("org.jetbrains.kotlin:kotlin-test") @@ -173,13 +173,13 @@ dependencies { testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.11.3") // Use junit 5 for test cases - testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.3") + testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.4") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.1") // Enable use of the JUnitPlatform Runner within the IDE - testImplementation("org.junit.platform:junit-platform-runner:1.11.2") + testImplementation("org.junit.platform:junit-platform-runner:1.11.4") - testImplementation("io.mockk:mockk:1.13.13") + testImplementation("io.mockk:mockk:1.13.14") // Add custom ruleset from github.com/slideclimb/ktlint-ruleset ktlintRuleset(files("lib/ktlint-ruleset-0.2.jar")) @@ -292,7 +292,11 @@ tasks.dependencyUpdates { tasks.useLatestVersions { // Do not update this ktlint plugin, it is mostly unmaintained and newer versions are usually either broken or introduce unwanted style changes - updateBlacklist = listOf("org.jlleitschuh.gradle.ktlint") + updateBlacklist = listOf( + "org.jlleitschuh.gradle.ktlint", + // Takes a lot of time because it will download all IDE poms + "com.jetbrains.intellij.platform", + ) } tasks { diff --git a/gradle.properties b/gradle.properties index 19b3b3fd7..f889459ac 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -pluginVersion = 0.9.10-alpha.4 +pluginVersion = 0.9.10-alpha.5 # Info about build ranges: https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html # Note that an xyz branch corresponds to version 20xy.z and a since build of xyz.*