From 5e894a270b73128d28b55c3067e4bf6aaace9039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 28 Nov 2023 22:53:53 +0200 Subject: [PATCH] Changelog and obsoletion marker fixes (#262) --- CHANGELOG.md | 18 +++++++++++------- apheleia-utils.el | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b64bf82..591468b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog]. +## Unreleased +### Formatters +* [`js-beautify`](https://github.com/beautify-web/js-beautify) for + [JavaScript](https://www.javascript.com/), + [JSON](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON), + [HTML](https://en.wikipedia.org/wiki/HTML) and + [CSS](https://www.google.com/search?q=css) + ([#229]) + +[#229]: https://github.com/radian-software/apheleia/pull/229 + ## 4.0 (released 2023-11-23) ### Breaking changes * The order of entries in `apheleia-mode-alist` is no longer as @@ -96,12 +107,6 @@ The format is based on [Keep a Changelog]. * [`xmllint`](https://gitlab.gnome.org/GNOME/libxml2) for XML ([#251]). * [`yapf`](https://github.com/google/yapf) for [Python](https://www.python.org/) ([#196]) * [`yq`](https://mikefarah.gitbook.io/yq/) for YAML, JSON, CSV, TSV, XML and [.properties](https://en.wikipedia.org/wiki/.properties) ([#250]). -* [`js-beautify`](https://github.com/beautify-web/js-beautify) for - [JavaScript](https://www.javascript.com/), - [JSON](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON), - [HTML](https://en.wikipedia.org/wiki/HTML) and - [CSS](https://www.google.com/search?q=css) - ([#229]) [#167]: https://github.com/radian-software/apheleia/pull/167 [#168]: https://github.com/radian-software/apheleia/pull/168 @@ -124,7 +129,6 @@ The format is based on [Keep a Changelog]. [#214]: https://github.com/radian-software/apheleia/pull/214 [#215]: https://github.com/radian-software/apheleia/pull/215 [#223]: https://github.com/radian-software/apheleia/pull/223 -[#229]: https://github.com/radian-software/apheleia/pull/229 [#231]: https://github.com/radian-software/apheleia/pull/231 [#232]: https://github.com/radian-software/apheleia/issues/232 [#236]: https://github.com/radian-software/apheleia/pull/236 diff --git a/apheleia-utils.el b/apheleia-utils.el index f3f6fac..a2061f9 100644 --- a/apheleia-utils.el +++ b/apheleia-utils.el @@ -58,7 +58,7 @@ always returns nil to defer to the formatter." (list indent-flag (number-to-string indent)))))) (define-obsolete-function-alias 'apheleia-formatters-js-indent - 'apheleia-formatters-indent "3.2") + 'apheleia-formatters-indent "4.1") (defcustom apheleia-formatters-respect-fill-column nil "Whether formatters should set `fill-column' related flags."