Skip to content

Latest commit

 

History

History
275 lines (179 loc) · 7.01 KB

CHANGELOG.md

File metadata and controls

275 lines (179 loc) · 7.01 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • prettier-diff-timeout-seconds customization option
  • prettier-diff-edit-cost customization option
  • Support for Prettier 3

Changed

  • Optimize edits
  • Upgrade dependencies
  • Use editorconfig package for syncing tabWidth, useTabs and printWidth settings

Fixed

  • Don't deactivate region on format
  • Handle Prettier endOfLine setting

1.3.0 - 2022-06-01

Added

  • Add prettier-prettify-on-save-flag. (#98)
  • Base Docker environment for testing TRAMP. (#84)
  • Cache config for buffers without file. (#100)
  • New function prettier-prettify-org-src-code-at-point

1.2.0 - 2022-05-24

Added

  • Test cases for ruby and php plugins
  • Restart Prettier on load

Changed

  • Improve caching of Prettier options.
  • Use format, not formatWithCursor.
  • Batch Prettier changes for improved performance.

Fixed

  • Ignore stray stdout and stderr output from Node process.
  • Don't ignore .prettierignore (#67)
  • Svelte sub-mode handling (#88)
  • Enable json5 and json-stringify parsers by default

1.1.0 - 2021-01-26

Added

  • Support for prettier-plugin-sh.
  • meriyah, espree, and babel-ts parsers.

Changed

  • Documentation improvements.
  • Restore buffer settings when leaving mode.

Fixed

  • Don't sync settings when prettier options are null.
  • Add missing dependency on package package. (#58)
  • Add missing defvar prettier-parser-history. (#59)
  • Fix byte-compile warnings and bug when using helm.
  • Don't override parser set explicitly. (#57)
  • Fix modeline display for parser override.
  • cursorOffset is zero-based, not one-based. (#62)
  • Suppress console.warn output. (#64)
  • lsp-mode and mmm-mode parser detection issues.
  • Prettier detection in yarn workspaces with PnP.
  • Ignore errors in lsp-buffer-language. (#49)

1.0.0 - 2020-07-04

Changed

  • Documentation improvements.
  • Cleanup and minor refactoring.
  • Release to MELPA.

0.9.0 - 2020-06-22

Added

  • Support for more major modes (via plug-ins): elm, java, pug, solidity, svelte, toml, xml.
  • Continuous deployment, enables installing via Melpa and Quelpa.

Changed

  • Move Changelog into CHANGELOG.md.
  • Dev workflow improvements.
  • Documentation improvements.

0.8.1 - 2020-05-27

Fixed

  • Fix customization errors (#10).

0.8.0 - 2020-05-19

Added

  • Support Yarn Plug'n'Play (#3).
  • Add Typescript detection.
  • Add support for ANSI escape codes in Prettier error output.
  • Setup Continuous Integration.

Changed

  • Drop support for Emacs <26.1.
  • Fix linting issues and add some test cases.

Fixed

  • Fix handling of files containing Unicode surrogate pairs.

0.7.0 - 2019-08-31

Changed

  • Switch from cl to cl-lib.
  • Minor documentation improvements.

0.6.3 - 2019-02-24

Fixed

  • Don't choke on buffers not backed by file.

0.6.2 - 2019-02-24

Fixed

  • Fix initial and HTML parser detection.

0.6.1 - 2019-02-19

Fixed

  • Fix web-mode parser detection for empty buffers.

0.6.0 - 2019-02-19

Added

  • Improved parser detection:
    • Use json-stringify for package.json and such.
    • Use babel-flow when flow-minor-mode is active.

0.5.1 - 2019-02-19

Fixed

  • Fix web-mode parser detection.

0.5.0 - 2019-02-19

Added

  • Compatibility with Prettier 1.16:
    • New parsers.
    • Ignore unsupported parsers.
    • Show parser and version in modeline.
    • Use editorconfig setting when syncing options.

0.4.1 - 2018-11-28

Fixed

  • Fix error column with indent-tabs-mode.

0.4.0 - 2018-11-28

Changed

  • Improvements for large input files
    • Use diff-match-patch instead of fast-diff, limiting the maximum amount of time spent diffing
    • Handle quit during long-running prettification gracefully
    • Roll back partially applied diffs
    • Don't accumulate diff patches in memory, instead apply them immediately
  • Disable undo list in process buffer.

0.3.0 - 2018-11-14

Fixed

  • Fix bugs when handling buffers not backed by a file, and buffers for which the parser can't be derived from the major mode.
  • Don't abstain from auto-enabling prettier-mode in buffers not backed by a file, as long as the major mode is supported.

0.2.3 - 2018-11-13

fixed

  • Fix error in buffers without file name.

0.2.2 - 2018-11-13

Changed

  • When point is point-max, keep it there.

0.2.1 - 2018-11-10

Added

  • Reinstate web-mode parser detection.

Fixed

  • Ignore NaN result cursorOffset.

0.2.0 - 2018-11-10

Added

  • Allow ignoring certain files for prettier-mode.

Changed

  • Temporarily use locally built pandoc, improves info formatting.

Fixed

  • Remove dead code that was causing a crash sometimes.

0.1.2 - 2018-11-08

0.1.1 - 2018-11-08

0.1.0 - 2018-10-12