Skip to content

Commit

Permalink
release: 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hangxingliu committed Feb 27, 2024
1 parent ff6d278 commit 44b906a
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 21 deletions.
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <https://github.com/hangxingliu/vscode-systemd/issues/7>
- Add more completion and docs for directive value
- Related issue: <https://github.com/hangxingliu/vscode-systemd/issues/8>
- 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`
- <https://github.com/systemd/systemd/blob/effefa30de46f25d0f50a36210a9835097381c2b/src/core/load-fragment.c#L665>
- 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)

Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
26 changes: 21 additions & 5 deletions docs/TODO.md
Original file line number Diff line number Diff line change
@@ -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 <https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#>
- [ ] 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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 44b906a

Please sign in to comment.