- Raise minimal required VSCode version to
v1.107.0. - Add
djlint.rulessetting for the--rulesoption added in djLint v1.41. - Add
askama,teraandliquidprofiles added in djLint v1.42 to thedjlint.profilesetting. - Register the formatter and enable linting by default for Askama, Tera, Liquid, Jekyll and Go template language IDs (
askama-html,tera,liquid,jekyll,go-template,go-tmpl,gotemplate,GoTemplate,gohtml,GoHTML,gotmpl,hugo-html). - Register the formatter and enable linting by default for additional Jinja, Nunjucks and Mustache language IDs (
jinja2,html-hubl,hubl-html,html-nunjucks,htmlmustache,spacebars). - Remove the
njlanguage ID from the defaults, as no published extension provides it.
- Add support for
--single-attribute-per-lineoption added in djLint v1.40.
- Add settings for djLint attribute JavaScript/JSON formatting and preserving class attribute newlines.
- Resolve relative
djlint.executablePathanddjlint.pythonPathfrom the workspace root.
- Lower the minimum vscode version to 1.105.1
- Add
djlint.executablePathsetting for use whendjlint.useVenvis disabled.djlint.pythonPathis now deprecated and is used as a fallback.
- Abort running djLint processes on extension deactivation.
- Cancel previous in-flight djLint runs per document to avoid race conditions and unnecessary work.
- Avoid shared mutable state of RegExp objects in linter.
- Drop support for VSCode < 1.101.
- Update dependencies.
- Fix Markdown syntax in settings description.
- Drop support for VSCode < 1.95.
- Improve settings description and fix typos.
- Rebuild with updated dependencies.
- Allow ignoring install errors by disabling
djlint.showInstallErrorsetting. - Require VSCode 1.90 or newer.
- Bump
execato v9.3.0. - Bump
esbuildto v0.23.0.
- Bump
execato 9.2.0.
- Bump
execato 9.1.0. - Require VSCode 1.88 or higher.
- Downgrade
execato 8.0.1.
- Rebuild with esbuild v0.21.3.
- Bump bundled
execafrom 8.0.1 to 9.0.0.
- Rebuild with esbuild v0.19.6.
- Add a check to ensure the document has not been linted yet when activating the extension.
- Bump bundled
execafrom 8.0.0 to 8.0.1.
- Bump bundled
execafrom 7.2.0 to 8.0.0.
- Fix not all documents being linted on extension activation.
- Lint only documents with
fileorvscode-vfsURI scheme. (#323) - Add more unsupported cwd URI scheme logs. (#323)
- Don't set cwd for vscode-vfs.
- Add unsupported cwd scheme logs.
- Add cwd scheme check. (#323)
- Remove empty output channel logs.
- Reduce extension size by minifying package.json.
- Use tab instead of 2 spaces for printing errors.
- Set minimum required VSCode version to 1.78.0.
- Improve errors output and logs.
- Use @vscode/python-extension.
- Minor refactoring.
- Update dependencies.
- Minor refactoring.
- Make sure files with git scheme are not linted.
- Improve error handling.
- Use execa for running djLint.
- Replace
djlint.languageswithdjlint.formatLanguagesand language-overridabledjlint.enableLintinganddjlint.profile. - Add logging via VS Code output channels.
- Improve error handling and overall stability.
- Remove
--profileforhtmllanguage ID indjlint.languagessetting.
- Add a new, more reliable linter output parser. It requires djLint ≥ 1.25, but you can use the old parser by disabling
djlint.useNewLinterOutputParser. - Improve error messages by adding a command to update djLint.
- Replace
djlint.guessProfilesetting with more flexibledjlint.languagessetting, which allows to control for which files types and with which--profileparameter djLint runs. - Change logic of setting current working directory to support relative
djlint.configurationpath. - Improve the error message that djLint is not installed.
- Add event handlers for changing
djlint.enableLintingsetting.
- Add support for
--max-blank-linesoption added in djLint v1.31.0.
- Add support for
--no-function-formattingand--no-set-formattingoptions added in djLint v1.30.2.
- Change
djlint.configurationoption type fromstring | nulltostring. - Minor refactoring.
- Switch from webpack to esbuild.
- Add support for
--no-line-after-yamloption added in djLint v1.29.0.
- Add support for CLI arguments added in djLint 1.26.0 & 1.27.0.
- Lower minimum required version of VSCode to 1.72.0.
- Make the package smaller by eliminating unnecessary files.
- Add support for CLI arguments added in djLint 1.24.0 & 1.25.0.
- Add support for
--ignore-caseoption.
- Add support for
--includeoption.
- Remove debug console.log.
- Improve error handling.
- Fix usage of config file when it is not in the project root.
- Add support for
--configurationoption. - Some refactoring to make the code more readable and understandable.
- Add support for
--format-cssand--format-jsoptions.
- Add
No such optionerror handling.
- Add
djlint.preserveLeadingSpaceoption. - Add
djlint.preserveBlankLinesoption. - Add
djlint.requirePragmaoption. - Lower the minimum required version of VSCode from 1.66 to 1.64.
- Add
djlint.guessProfileoption to disable automatic djLint profile guessing.
- Replace the
djlint.indentoption withdjlint.useEditorIndentation, which is more flexible and more consistent with the VS Code API.
- Minor bug fix.
- Minor performance fix.
- Huge refactoring.
- Remove the djLint installer because it was causing problems. It was decided that it is better to let users install it themselves.
- Fix venv detection.
- Switch to
webpackfor module bundling.
- Add support for Nunjucks, Twig, Handlebars and Mustache templates.
- Minor improvements.
- Huge refactoring.
- Set default
indenttonull.
- Minor improvements.
- Code quality improvements.
- Fix
djlint.pythonPathnot working.
- Remove unneeded output.
- Add option to use the Python executable from the current virtual environment.
- Remove
djlint.autoUpdateoption.
- Save the current file before formatting.
- Add
ignoreoption.
- Add
Linterscategory inpackage.json.
- Initial release.