From 9f47f2d2e3e0d63a2fb4b35e697564b2333c82fd Mon Sep 17 00:00:00 2001 From: Liu Yue Date: Sun, 26 Nov 2023 10:04:47 +0800 Subject: [PATCH] release: 2.0.0-preview --- README.md | 23 +++++++++++++---------- docs/CHANGELOG.md | 14 ++++++++++++++ docs/TODO.md | 1 + package.json | 9 ++------- 4 files changed, 30 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index a2153c8..d428347 100644 --- a/README.md +++ b/README.md @@ -21,16 +21,19 @@ Help you write systemd configurations in Visual Studio Code ## Changelog -### 1.0.0 (2021-12-18) - -- Refactor the extension -- Rewrite the syntax config to fix incorrect highlight -- Update directives and their documents to the latest -- Add the configuration parser for more accurate language features -- Add more autocompletion -- Add liner for directive names -- Add document for directives and specifiers -- Support running on the browser +### 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 See [CHANGELOG.md](docs/CHANGELOG.md) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 9498bc4..d15d234 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,19 @@ # 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 + ### 1.0.0 (2021-12-18) - Refactor the extension diff --git a/docs/TODO.md b/docs/TODO.md index f56ea43..75e181a 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -6,3 +6,4 @@ - [ ] capabilities - https://man7.org/linux/man-pages/man7/capabilities.7.html - [ ] View, search and edit remote unit files +- [ ] Completion/Syntax for time spans, e.g., `OnCalendar=`, `weekly` diff --git a/package.json b/package.json index 0d51c9b..8fe6456 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "icon": "out/assets/icon.png", "main": "out/index.js", "browser": "out/index.js", - "version": "1.1.0", + "version": "2.0.0", + "preview": true, "publisher": "hangxingliu", "author": "hangxingliu", "license": "MIT", @@ -116,12 +117,6 @@ ] ], "description": "An array contains case-sensitive strings or regex expressions. The extension will add them to the completion list and linter." - }, - "systemd.enablePodman": { - "title": "Enable Podman Systemd Directives/Sections", - "type": "boolean", - "default": false, - "markdownDescription": "[Podman](https://docs.podman.io/en/latest/index.html) is a daemonless, open source, Linux native tool designed to make it easy to find, run, build, share and deploy applications using Open Containers Initiative (OCI) Containers and Container Images. \nEnable this config to tell this extension to activate the following features:\n1. Treat \"*.container\"/\"*.volume\"/\"*.kube\" as systemd configuration\n2. Highlight and hint all Podman sections/directives during editing of systemd configuration" } } }