prettier
upgraded to^3.3.3
@babel/parser
upgraded to^7.26.2
@typescript-eslint/typescript-estree
upgraded to^8.14.0
- Fix bugs with stdin encoding on Windows that would cause spurious errors or invalid characters to get inserted
prettier
upgraded to^3.2.5
@babel/parser
upgraded to^7.24.4
@typescript-eslint/typescript-estree
upgraded to^7.6.0
core_d
upgraded to^6.1.0
prettier
upgraded to^3.1.0
@babel/parser
upgraded to^7.23.5
@typescript-eslint/typescript-estree
upgraded to^6.6.0
core_d
upgraded to^6.0.0
prettier
3 is now supported! prettier@2 can still be used, though thepluginSearchDirs
option is no longer supported.@babel/parser
upgraded to^7.22.16
@typescript-eslint/typescript-estree
upgraded to^6.6.0
- Properly fix
editorconfig
and custom configuration
- Fix the default value of
editorconfig
@typescript-eslint/typescript-estree
upgraded to^6.0.0
- Fix the behavior of
--config-precedence prefer-file
- Remove caching from the tool. This should fix many bugs caused by inconsistencies in the cache. If this causes a big hit to performance, we'll reintroduce caches according to their necessity.
@babel/parser
upgraded to^7.22.7
@typescript-eslint/typescript-estree
upgraded to^5.61.0
- make
prettierd stop
stop all instances of prettierd
prettier
upgraded to^2.8.8
@babel/parser
upgraded to^7.22.3
@typescript-eslint/typescript-estree
upgraded to^5.59.7
- fix a bug in argument parsing introduced by a poorly tested refactor
prettier
upgraded to^2.8.4
@babel/parser
upgraded to^7.21.2
@typescript-eslint/typescript-estree
upgraded to^5.54.0
- avoid polluting the user home directory with runtime files (move them to
$HOME/.prettierd
if XDG_RUNTIME_DIR is not defined) - fix bug where prettierd would hang if the data dir isn't writable (now it displays an error to the user)
- fixed how CLI options are combined with the config file (and how priority is handled)
- prettierd will now start one daemon per working dir, making sure that it can load manually configured plugins
@babel/parser
upgraded to^7.20.7
prettier
upgraded to^2.8.1
@typescript-eslint/typescript-estree
upgraded to^5.47.1
- Include parsers for typescript and css to make sure brew formula is more usable out of the box
- Support casting of bool type arguments to options (thanks @mkdynamic)
- Improve cache handling for config values in the presence of
PRETTIERD_LOCAL_PRETTIER_ONLY
- Fix regression in usage of
PRETTIERD_DEFAULT_CONFIG
(regression was introduced in 0.22.1).
- Properly disable colors in the integration with core_d
- Support injecting environment variables from the client
- Support most of prettier command line options (thanks @MunifTanjim)
prettier
upgraded to^2.7.1
- fix compatibility with core_d 5.0.1
core_d
upgraded to^5.0.1
Added some helper commands flags for debugging/fixing issues.
prettierd flush-cache
to flush all cachesprettierd --debug-info <file>
to print information about which version of prettier will be used for formatting the provided file (and from where it's being loaded)
prettier
upgraded to^2.6.2
prettier
upgraded to^2.6.1
Note: this release was also pushed to validate a change in the automatic release process.
prettier
upgraded to^2.6.0
core_d
upgraded to^4.0.0
- Help menu with
--help
(thanks @joao-vitor-sr)
prettier
upgraded to^2.5.1
Oct 26, 2021
- Support for
.prettierignore
files (thanks @Gelio) - Support for locally-installed plugins (thanks @vatosarmat)
Oct 13, 2021
- Improved documentation for local setup, covering the setup for users that don't have node.js installed (thanks @kunish)
- Some minor refactors and improvement to code and typing (thanks @sQVe)
Sep 11, 2021
- Support for running prettierd exclusively with the local
prettier
package (via the environment variablePRETTIERD_LOCAL_PRETTIER_ONLY
)
- Changed how prettierd resolves the local package of
prettier
. Now it'll usedirname(filePath)
, meaning it can detect local installations of prettier even whennode_modules
isn't at the root of the repository.
Aug 30, 2021
- Better support for plugins!
prettierd
will now set the proper parameters so prettier can find plugins installed locally/globally
prettier
upgraded to^2.3.2
- Upgrade dev dependencies
Aug 23, 2021
- Support
--version
, which prints the version of prettierd, but also makes it usable with ale.vim.
- Upgrade dev dependencies
Jul 16, 2021
- Docs: fix efm example in the editors integration section (thanks @abecodes)
- Fix hang when
CORE_D_DOTFILE
isn't set (thanks @tlvince)
Jul 2, 2021
- Upgrade dev dependencies
Jun 23, 2021
- Upgrade dev dependencies
May 31, 2021
- cache the results of
resolvePrettier
, a function that's always called to find the correct prettier for a given file (local vs global)
May 23, 2021
- Docs: fix example in the editors integration section
- Removed custom parsers (HTML, GraphQL, CSS, SASS and TypeScript): users can install them locally if desired
core_d
upgraded to^3.2.0
May 10, 2021
- Update documentation about supported languages
May 10, 2021
- Fix packaging post change to TypeScript
May 10, 2021
- Some improvements post change to TypeScript
May 10, 2021
- Adopt TypeScript for main module too
May 10, 2021
- Support for
XDG_CONFIG_HOME
(thanks @sentriz)
May 8, 2021
- Fixes error handling when loading prettier locally
May 8, 2021
- Support for a global configuration file via the environment variable
PRETTIERD_DEFAULT_CONFIG
(thanks @cenk1cenk2) - Support for local installations of prettier: prettierd will now prefer a local installation of prettier when formatting file. This can also be used to load additional parsers and plugins (thanks @cenk1cenk2)
Apr 17, 2021
- handle prettier formatting errors (thanks @Gelio)
Apr 16, 2021
- prettierd now lets prettier figure out the parser, making it possible to format file formats unknown to prettierd, as long as prettier can find the required plugins (thanks @williamboman)
- ship with support for graphql
- fix getting filename from args: core_d always prepends --no-colors to the arg list (thanks @williamboman)
@typescript-eslint/typescript-estree
upgraded to^4.22.0
Feb 18, 2021
- Improved documentation with examples for editor integration
- Moved from
npm
toyarn
- Upgrade dev dependencies
Feb 13, 2021
- Fix handling of stdin, allowing prettierd to be used as
prettierd <filename>
. Before this change, users could only useprettierd
via the TCP socket.
Feb 12, 2021
- Packaging changes
- Upgrade dev dependencies
Jan 12, 2021
- prettierd is now async and can handle requests from multiple editors/clients more nicely.
@typescript-eslint/typescript-estree
upgraded to^4.13.0
core_d
upgraded to^3.0.0
Dec 24, 2020
- Upgrade dev dependencies
Dec 1, 2020
@typescript-eslint/typescript-estree
upgraded to^4.9.0
prettier
upgraded to^2.2.1
Dec 1, 2020
- Upgrade dev dependencies
Oct 30, 2020
- Upgrade dev dependencies
Oct 23, 2020
- Forcibly disable colored output: prettierd is designed for being used in editors where errors in colored aren't that useful.
Oct 20, 2020
remark-parse
upgraded to^9.0.0
Oct 8, 2020
postscss-scss
upgraded to^3.0.0
Sep 13, 2020
- Support for
editorconfig
in config resolution
@typescript-eslint/typescript-estree
upgraded to^4.0.1
Aug 23, 2020
- Upgrade dev dependencies
Jul 19, 2020
- Fix CI configuration post-migration to npmjs
Jul 19, 2020
- Support for markdown
@typescript-eslint/typescript-estree
upgraded to^3.6.1
This is the first release available only on npm. prettierd has fully migrated off the GitHub Package Registry now.
Jul 9, 2020
- Fixed invalid links in the documentation (links broken by the migration to TypeScript)
@typescript-eslint/typescript-estree
upgraded to^3.6.0
This is the first release of prettierd available in npm. Previous versions are only available in the GitHub package registry.
Jun 27, 2020
Fix bug in the repository CI configuration (automatic releases).
Jun 27, 2020
No new features, code-base was migrated to TypeScript.
This also introduced automatic releases to the GitHub package registry.
Jun 27, 2020
- Correctly handle absolte paths
- Fix documentation
Jun 26, 2020
- Support for YAML
- Support for TSX
- Documentation in the form of a readme :)
Jun 25, 2020
- Support for JSON
Jun 25, 2020
- Support for HTML
Jun 23, 2020
- Support for CSS, SCSS and TypeScript
Jun 23, 2020
Fix the binary in the package distribution
This is the first usable release version of prettierd
as a binary, it was
only published to GitHub package registry.
Jun 23, 2020
Fix package distribution.
Jun 23, 2020
Initial release, basic support for formatting JS and TS files.