Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 3.9 KB

CHANGELOG.md

File metadata and controls

61 lines (52 loc) · 3.9 KB

[9.3.2]

  • Fix issue with prettier v3.

[9.3.0]

  • Added additional debug logs.
  • Create minimal textEdit.

[9.2.0]

  • Removed support for legacy linter integration. See documentation on how to configure linters.
  • Removed prettier.disableSuccessMessage, no success message any more.
  • Removed support for Prettier versions older than 1.13.0.
  • No longer bundling linters with extension - to use install them in your package.json.
  • Use Prettier to determine if a file is ignored or not instead of custom logic.
  • Support for formatting of untitled files when the language is set by vim.
  • Set file path config on format to assist with parser resolution.
  • Less fallbacks - if you have local prettier installed it will always use that. Before if your local prettier didn't support things we would fall back to bundled prettier - this caused many errors and inconsistent behavior.
  • Enhanced logging.
  • Memoize package path lookup to improve perf of repeated calls to same file.
  • Shows error message when outdated versions of prettier are used.
  • Refreshes modules without restart for cases where prettier version or plugins are installed locally.
  • Registers .graphql files as graphql language in order to provide formatting.
  • Ignore files are only read from the workspace folder to behave the same as prettier.
  • Added configuration option prettier.prettierPath to override module resolution.
  • Added configuration option prettier.configPath to override configuration file resolution.
  • Add command Prettier: Create Configuration File to create a basic .prettierrc file
  • Sets resolveConfig: true to allow parser overrides on Prettier 1.19+. #1067
  • Added setting prettier.useEditorConfig (defaults to true) to allow disabling resolving .editorconfig for Prettier config
  • Added pattern filter to formatter registrations to avoid registering incorrectly on multi-workspace projects
  • Added support for global module resolution, due to performance issues, global module resolution is now off by default. Enable by setting prettier.resolveGlobalModules to true
  • Added setting packageManager to determine which package manager to use for global module resolution
  • Show error when prettier configuration file is invalid
  • Change default configuration for trailingComma to es5 to match Prettier 2.0
  • Change default configuration for arrowParens to always to match Prettier 2.0
  • Change default configuration for endOfLine to lf to match Prettier 2.0
  • Added configuration option withNodeModules to enable processing of files in the node_modules folder
  • Update loading implicit Prettier dep from node_modules to only occur if explicit package.json dep is not found in a parent directory
  • Support for additional configuration file extensions (toml, cls).
  • Added support for custom document selectors to provide formatting on custom languages/extensions.
  • Added Embedded Language Formatting option.
  • Added enable setting.
  • Automatically detect package manager
  • Prompt to allow Prettier module to load
  • Added debug mode for logging
  • Handlebars support (@lifeart)

[1.1.13]

  • Just bumping minor version to accommodate yarn upgrade to fix issue reported by yarn audit.

[1.1.0]

  • Prettier 1.16
  • prettier-tslint 0.4.2
  • Validate the "prettier" key in package.json using the prettier settings schema
  • Prettier 1.15
  • New options: jsxSingleQuote, htmlWhitespaceSensitivity and endOfLine (More info in readme).