Skip to content

Commit 7c8d173

Browse files
committed
Release version 2.2.0: update dependencies, refactor inspection profile handling, remove MoodleManagerListener, and improve bundled settings.
1 parent 022b7eb commit 7c8d173

3 files changed

Lines changed: 45 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,51 @@
55
All Moodle Dev plugin changes will be documented here
66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
77

8-
## [Unreleased]
8+
## [Unreleased]
99

1010
### Added
1111

12-
- Bundled Moodle inspection profile and registered it in plugin.xml so it becomes available after plugin installation
13-
- Automatically set the bundled "Moodle" inspection profile as the Project profile on first project open so it appears in Settings | Editor | Inspections and is selected in the Project profiles dropdown (non-intrusive: won’t override an existing custom selection)
14-
- On project open, construct InspectionProfileImpl from bundled resources/inspectionProfiles/Moodle.xml and set it as the project profile via ProjectInspectionProfileManager#setCurrentProfile
12+
- Bundled Moodle inspection profile and registered it in `plugin.xml` so it becomes available after plugin installation.
13+
- Automatically set the bundled "Moodle" inspection profile as the Project profile on first project open (non‑intrusive: won’t override an existing custom selection).
14+
- On project open, construct `InspectionProfileImpl` from bundled `resources/inspectionProfiles/Moodle.xml` and set it as the project profile via `ProjectInspectionProfileManager#setCurrentProfile`.
15+
16+
### Changed
17+
18+
- Dependency updates and build tooling:
19+
- IntelliJ Platform Gradle plugin: 2.7.2 → 2.9.0.
20+
- Kotlin JVM: 2.2.10 → 2.2.20.
21+
- Kover: 0.9.1 → 0.9.2.
22+
- GitHub Actions: `actions/setup-java` 4 → 5, `gradle/actions` 4 → 5.
23+
- Removed `MoodleManagerListener` (registration moved to `plugin.xml`) and registered bundled inspection profile via `<bundledInspectionProfile/>`.
1524

1625
### Fixed
1726

18-
- Corrected automatic selection of the bundled "Moodle" inspection profile as the Project profile on project open so it reliably appears in Settings | Editor | Inspections profiles dropdown
19-
- Replaced deprecated ProcessAdapter with ProcessListener in ComposerUtil.kt to maintain compatibility with latest IntelliJ Platform SDK
20-
- Removed usage of unstable UI DSL builder textFieldWithBrowseButton in MoodleSettingsForm by using Swing TextFieldWithBrowseButton within cell(...); satisfies UnstableApiUsage inspection
27+
- Corrected automatic selection of the bundled "Moodle" inspection profile as the Project profile so it reliably appears in Settings | Editor | Inspections.
28+
- Replaced deprecated `ProcessAdapter` with `ProcessListener` in `ComposerUtil.kt` to maintain compatibility with the latest IntelliJ Platform SDK.
29+
- Removed usage of unstable UI DSL `textFieldWithBrowseButton` in `MoodleSettingsForm`; used Swing `TextFieldWithBrowseButton` within `cell(...)` to satisfy `UnstableApiUsage` inspection.
30+
31+
## [2.1.1] - 2025-08-15
32+
33+
### Changed
34+
35+
- Bump dependencies: IntelliJ Platform Gradle plugin 2.7.1 → 2.7.2, Kotlin 2.2.0 → 2.2.10, Qodana plugin/action, and `actions/checkout` 4 → 5.
36+
37+
### Fixed
38+
39+
- Replace deprecated `ProcessAdapter` with `ProcessListener` for IntelliJ SDK compatibility.
40+
- Refactor `MoodleSettingsForm` to replace unstable `textFieldWithBrowseButton` with `TextFieldWithBrowseButton`.
41+
42+
## [2.1.0] - 2025-08-12
43+
44+
### Added
45+
46+
- Development tooling: add `.devcontainer.json` and `.junie` workflow.
47+
48+
### Changed
49+
50+
- Remove unnecessary `isAvailable` overrides in actions.
51+
- Dependency updates: IntelliJ Platform Gradle plugin to 2.7.1, Kotlin to 2.2.0, Gradle toolchains Foojay resolver, and JetBrains changelog plugin updates.
52+
- CI/CD and quality: update Qodana versions and GitHub workflows.
2153

2254
## [2.0.0] - 2025-04-15
2355

@@ -190,7 +222,10 @@ Add support for PHPStorm 2022.2
190222
- Add live Template for Moodle $ADMIN by type ADMIN
191223
- Add Moodle code style for predefined code styles for PHP/Javascript/SCSS/LESS
192224

193-
[Unreleased]: https://github.com/SysBind/moodle-dev/compare/v2.0.0...HEAD
225+
[Unreleased]: https://github.com/SysBind/moodle-dev/compare/2.2.0...HEAD
226+
[2.2.0]: https://github.com/SysBind/moodle-dev/compare/2.1.1...2.2.0
227+
[2.1.1]: https://github.com/SysBind/moodle-dev/compare/2.1.0...2.1.1
228+
[2.1.0]: https://github.com/SysBind/moodle-dev/compare/v2.0.0...2.1.0
194229
[2.0.0]: https://github.com/SysBind/moodle-dev/compare/v1.3.3...v2.0.0
195230
[1.3.3]: https://github.com/SysBind/moodle-dev/compare/v1.3.2...v1.3.3
196231
[1.3.2]: https://github.com/SysBind/moodle-dev/compare/v1.3.1...v1.3.2

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pluginGroup = il.co.sysbind.intellij.moodledev
44
pluginName = moodle-dev
55
pluginRepositoryUrl = https://github.com/SysBind/moodle-dev
66
# SemVer format -> https://semver.org
7-
pluginVersion = 2.1.1
7+
pluginVersion = 2.2.0
88

99
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010
pluginSinceBuild = 243

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<idea-plugin>
33
<id>il.co.sysbind.intellij.moodledev</id>
44
<name>Moodle Development</name>
5-
<version>2.1.1</version>
5+
<version>2.2.0</version>
66
<vendor email="support@sysbind.co.il" url="https://sysbin.co.il">SysBind</vendor>
77
<description><![CDATA[
88
<h1>Plugin For Moodle Developers</h1>

0 commit comments

Comments
 (0)