Skip to content

Commit d75d4fd

Browse files
committed
release: 2.2.0
1 parent 87722eb commit d75d4fd

File tree

3 files changed

+27
-18
lines changed

3 files changed

+27
-18
lines changed

README.md

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
A Visual Studio Code extension that helps you read and write Systemd unit files
66

7-
![The screenshot of this extension](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/7927822df923d9293402eedcbf92b32928e12306/docs/images/screenshot.png)
7+
![The screenshot of this extension](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/HEAD/docs/images/screenshot-2.2.0.png)
88

99
## Features
1010

@@ -30,22 +30,31 @@ code --install-extension vscode-systemd-support-${version}.vsix
3030

3131
## Changelog
3232

33-
### 2.1.0 (2024-02-28)
34-
35-
- Add CodeLens for files to show the type of the unit file and allow user to change the type
36-
- Add a new lint rule for the directive `KillMode`
37-
- <https://github.com/systemd/systemd/blob/effefa30de46f25d0f50a36210a9835097381c2b/src/core/load-fragment.c#L665>
38-
- Improve the accuracy of the following completion:
39-
- systemd.resource-control
40-
- systemd.kill
41-
- systemd.exec
42-
- Add more unit types: `*.path`, `*.mount`, `journald.conf`, ...
43-
- Fix the links to directives in the systemd help documents
44-
- Add completion for `OnCalendar`
45-
- Add more value completions
46-
- Update the data of `podman-systemd.unit` to the latest (new section `[Pod]`)
47-
- Update syntax for size/calendar/restart options/section names/prefixes
48-
- Fix syntax for escaped characters
33+
### 2.2.0 (2024-03-16)
34+
35+
- Add auto-completion and signature hint support for boolean values for directives
36+
- Add support for a new unit file `iocost.conf`
37+
- Add more completion/documentation for directive value
38+
- Add more documentation for deprecated/renamed/removed directives
39+
- Add version information into the documentation to indicate the first supported version and the version at which the directive became deprecated/removed
40+
- Add a new configuration named `systemd.podman.completion` to enable/disable providing completion items related to Podman Quadlet by default
41+
- Add a new configuration named `systemd.version` to ensure the extension only offers compatible auto-completion and provides more precise linting feature
42+
- Add a new configuration named `systemd.style.boolean` to specify the preferred boolean value format for auto-completion
43+
- Fixed a bug where the documentation for some directives was not displayed
44+
- Fixed some errors in the documentation, including incorrect markup tags, tables that are not
45+
displaying properly and unexpected email addresses
46+
- Fixed auto-completion feature for directives in the following sections: `MACVTAP`/`IPVTAP`/`Tap`
47+
- Renamed the following configurations: (The old names will still be supported in 2024)
48+
- `systemd.lintDirectiveKeys` => `systemd.directive-keys.lint`
49+
- `systemd.customDirectiveKeys` => `systemd.directive-keys.custom`
50+
- Fixed the parser to correctly detect unit types `sysupdated` and `repartd`
51+
- Updated unit name completion for full special system units
52+
- Updated diagnostics to display detailed deprecation information and providing quick fixes for automatically renaming deprecated directives.
53+
- Updated documentation to the latest
54+
- Improved the process of changing unit file types
55+
- Highlighting recommended types in the type picker for easier selection
56+
- Retaining manually changed types in the workspace state to ensure they are remembered upon reopening the editor
57+
- The unit file type of Podman Quadlet has been divided into several more specific types, such as `container`, `image`, ...
4958

5059
See [CHANGELOG.md](docs/CHANGELOG.md)
5160

docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
### 2.2.0 (2024-03-xx)
3+
### 2.2.0 (2024-03-16)
44

55
- Add auto-completion and signature hint support for boolean values for directives
66
- Add support for a new unit file `iocost.conf`

docs/images/screenshot-2.2.0.png

128 KB
Loading

0 commit comments

Comments
 (0)