diff --git a/CHANGELOG.md b/CHANGELOG.md index add8ec5..eff7676 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [2023.7.2] - 2023-07-02 + +- Replace `djlint.languages` with `djlint.formatLanguages` and language-overridable `djlint.enableLinting` and `djlint.profile`. +- Add logging via VS Code output channels. +- Improve error handling and overall stability. + ## [2023.7.1] - 2023-07-01 - Remove `--profile` for `html` language ID in `djlint.languages` setting. diff --git a/package-lock.json b/package-lock.json index f1ec673..6444ebc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "djlint", - "version": "2023.7.1", + "version": "2023.7.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "djlint", - "version": "2023.7.1", + "version": "2023.7.2", "license": "MIT", "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "4.0.2", diff --git a/package.json b/package.json index 7701878..76e404e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "djlint", "displayName": "djLint", "description": "HTML template formatter and linter (Django, Jinja, Nunjucks, Twig, Handlebars, Mustache)", - "version": "2023.7.1", + "version": "2023.7.2", "publisher": "monosans", "license": "MIT", "homepage": "https://github.com/monosans/djlint-vscode", @@ -165,7 +165,7 @@ "mustache", "html" ], - "description": "Language IDS for which djLint should be registered as a formatter." + "description": "Language IDs for which djLint should be registered as a formatter." }, "djlint.formatJs": { "type": "boolean", @@ -178,7 +178,7 @@ "type": "string" }, "default": [], - "description": "Codes to ignore." + "description": "Codes to ignore. Requires djLint ≥ 0.1.5." }, "djlint.ignoreBlocks": { "type": "array", @@ -295,17 +295,17 @@ "djlint.requirePragma": { "type": "boolean", "default": false, - "description": "Only format or lint files that start with a comment with the text 'djlint:on'." + "description": "Only format or lint files that start with a comment with the text 'djlint:on'. Requires djLint ≥ 0.5.8." }, "djlint.useEditorIndentation": { "type": "boolean", "default": true, - "description": "Get the number of indent spaces from VS Code (see the editor.tabSize setting). Disable to get it from the djLint config file." + "description": "Get the number of indent spaces from VS Code (see the editor.tabSize setting). Disable to get it from the djLint config file. Requires djLint ≥ 0.4.3." }, "djlint.useGitignore": { "type": "boolean", "default": false, - "description": "Use .gitignore file to extend excludes." + "description": "Use .gitignore file to extend excludes. Requires djLint ≥ 0.5.9." }, "djlint.useNewLinterOutputParser": { "type": "boolean",