From 44b906a8c7af0cba1fa2a861ff99a2c698f7df07 Mon Sep 17 00:00:00 2001 From: Liu Yue Date: Wed, 28 Feb 2024 04:29:03 +0800 Subject: [PATCH] release: 2.1.0 --- README.md | 29 ++++++++++++++++------------- docs/CHANGELOG.md | 2 +- docs/TODO.md | 26 +++++++++++++++++++++----- package.json | 4 ++-- 4 files changed, 40 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index afcb0d9..34e6889 100644 --- a/README.md +++ b/README.md @@ -30,19 +30,22 @@ code --install-extension vscode-systemd-support-${version}.vsix ## Changelog -### 2.0.0-preview (2023-11-26) - -- Add [Podman](https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html) into the support - - Related issue: -- Add more completion and docs for directive value - - Related issue: -- Add completion for well-known unit names (`network-online.target`, ...) -- Improve the accuracy of variant completion based on file path and section name -- Fix links in completion/help documents -- Add `.dnssd` as an extension -- Add more systemd sections into the support -- Update directives to version 255 and remove incorrect directives -- Refactor the related code to hint data manager +### 2.1.0 (2024-02-28) + +- Add CodeLens for files to show the type of the unit file and allow user to change the type +- Add a new lint rule for the directive `KillMode` + - +- Improve the accuracy of the following completion: + - systemd.resource-control + - systemd.kill + - systemd.exec +- Add more unit types: `*.path`, `*.mount`, `journald.conf`, ... +- Fix the links to directives in the systemd help documents +- Add completion for `OnCalendar` +- Add more value completions +- Update the data of `podman-systemd.unit` to the latest (new section `[Pod]`) +- Update syntax for size/calendar/restart options/section names/prefixes +- Fix syntax for escaped characters See [CHANGELOG.md](docs/CHANGELOG.md) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 883579e..186eda6 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -### 2.1.0-pre.1 (2024-02-25) +### 2.1.0 (2024-02-28) - Add CodeLens for files to show the type of the unit file and allow user to change the type - Add a new lint rule for the directive `KillMode` diff --git a/docs/TODO.md b/docs/TODO.md index 12396db..41194cb 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -1,12 +1,28 @@ # TODO -- [ ] Click and jump to unit file -- [ ] Completion for path -- [ ] boolean value completion - [x] capabilities - https://man7.org/linux/man-pages/man7/capabilities.7.html -- [ ] View, search and edit remote unit files - [x] Completion/Syntax for time spans, e.g., `OnCalendar=`, `weekly` -- [ ] Lint/Test by `systemd-analyze` - [ ] Fix docs in completion items for Linux capabilities - [x] Fix highlights for podman directives: `AddCapability`, `DropCapability` + +## 2.2.0 + +- [ ] Update data for custom directives +- [ ] Add completion for predefined filters in +- [ ] boolean value completion +- [ ] Settings for enabling/disabling Podman + +## 2.3.0 + +- [ ] Settings for systemd version +- [ ] Add support for `jinja2` +- [ ] Systemd 256: `IPv4ProxyARPPrivateVLAN=` + +## 2.4.0 + +- [ ] Settings for running `systemd` commands +- [ ] Lint/Test by `systemd-analyze` +- [ ] Click and jump to unit file +- [ ] Completion for path +- [ ] View, search and edit remote unit files diff --git a/package.json b/package.json index 5d217a2..1b32b46 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "icon": "out/assets/icon.png", "main": "out/index.js", "browser": "out/index.js", - "version": "2.1.0-pre.1", - "preview": true, + "version": "2.1.0", + "preview": false, "publisher": "hangxingliu", "author": "hangxingliu", "license": "MIT",