2019-09-20 17:08:09 -07:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
The format is based on [Keep a Changelog].
|
|
|
|
|
2020-10-17 08:29:21 -07:00
|
|
|
## Unreleased
|
2021-08-08 13:07:08 +00:00
|
|
|
### Formatters
|
|
|
|
* [ClangFormat](https://clang.llvm.org/docs/ClangFormat.html) for
|
|
|
|
C/C++,
|
|
|
|
[`google-java-format`](https://github.com/google/google-java-format)
|
|
|
|
for Java, [latexindent](https://ctan.org/pkg/latexindent?lang=en)
|
|
|
|
for [LaTeX](https://www.latex-project.org/), and
|
|
|
|
[rustfmt](https://github.com/rust-lang/rustfmt) for
|
|
|
|
[Rust](https://www.rust-lang.org/) ([#24]).
|
2021-10-03 12:10:22 -06:00
|
|
|
* [Mix format](https://hexdocs.pm/mix/1.12/Mix.Tasks.Format.html) for Elixir
|
2021-08-08 13:07:08 +00:00
|
|
|
|
2021-02-26 22:04:15 -08:00
|
|
|
### Bugs fixed
|
|
|
|
* Fix spelling error in generated process names ([#32]).
|
2021-03-28 15:25:15 -07:00
|
|
|
* Apheleia no longer conflicts with undo-fu (#[39]).
|
2021-05-23 14:59:26 -07:00
|
|
|
* Apheleia no longer triggers `after-set-visited-file-name-hook`,
|
|
|
|
which reduces conflicts with various modes. For example, `lsp-mode`
|
|
|
|
will no longer trigger a reconnect every time you save.
|
2021-07-22 22:16:42 -04:00
|
|
|
* Fix inconsistent `:type` spec preventing use of `customize-variable`
|
|
|
|
on `apheleia-formatters`.
|
2021-02-26 22:04:15 -08:00
|
|
|
|
2021-08-08 13:07:08 +00:00
|
|
|
[#24]: https://github.com/raxod502/apheleia/pull/24
|
2021-02-26 22:04:15 -08:00
|
|
|
[#30]: https://github.com/raxod502/apheleia/issues/30
|
|
|
|
[#32]: https://github.com/raxod502/apheleia/pull/32
|
2021-03-28 15:25:15 -07:00
|
|
|
[#39]: https://github.com/raxod502/apheleia/issues/39
|
2021-02-26 22:04:15 -08:00
|
|
|
|
2021-02-26 22:04:05 -08:00
|
|
|
## 1.1.2 (released 2021-02-26)
|
2020-11-07 07:04:41 -08:00
|
|
|
### Enhancements
|
|
|
|
* Prettier is now enabled in `json-mode`.
|
|
|
|
|
2020-10-17 08:29:21 -07:00
|
|
|
### Bugs fixed
|
|
|
|
* Prettier now respects `.prettierignore` ([#21]).
|
2021-02-07 18:50:31 +02:00
|
|
|
* Apheleia's global mode should no longer trigger warnings about a locally
|
|
|
|
let-bound `after-save-hook` ([#27]).
|
2020-10-17 08:29:21 -07:00
|
|
|
|
|
|
|
[#21]: https://github.com/raxod502/apheleia/issues/21
|
2021-02-07 18:50:31 +02:00
|
|
|
[#27]: https://github.com/raxod502/apheleia/issues/27
|
2020-10-17 08:29:21 -07:00
|
|
|
|
2020-07-16 08:22:54 -06:00
|
|
|
## 1.1.1 (released 2020-07-16)
|
|
|
|
### Formatters
|
|
|
|
* New: [OCamlFormat](https://github.com/ocaml-ppx/ocamlformat) for
|
|
|
|
[Ocaml](https://ocaml.org/) ([#19]).
|
|
|
|
|
2020-04-02 08:58:41 -06:00
|
|
|
### Bugs fixed
|
|
|
|
* Previously, there were some race conditions related to switching the
|
|
|
|
current buffer. In particular, if you switched the current buffer
|
|
|
|
right after saving, or save two buffers in quick succession, then it
|
|
|
|
was possible for one buffer to be overwritten or to not be
|
|
|
|
formatted. These problems have been fixed ([#8]).
|
|
|
|
* Previously, enabling `undo-tree-auto-save-history` caused Apheleia
|
|
|
|
to mark the buffer as modified after formatting. This has been
|
|
|
|
fixed ([#10]).
|
2020-07-16 08:22:54 -06:00
|
|
|
* Apheleia now tries harder to accidentally enter an infinite
|
|
|
|
formatting loop ([#12]).
|
2020-04-02 08:58:41 -06:00
|
|
|
|
|
|
|
[#8]: https://github.com/raxod502/apheleia/issues/8
|
|
|
|
[#10]: https://github.com/raxod502/apheleia/issues/10
|
2020-07-16 08:22:54 -06:00
|
|
|
[#12]: https://github.com/raxod502/apheleia/pull/12
|
|
|
|
[#19]: https://github.com/raxod502/apheleia/pull/19
|
2020-04-02 08:58:41 -06:00
|
|
|
|
2020-04-02 08:54:06 -06:00
|
|
|
## 1.1 (released 2020-04-02)
|
2020-03-19 08:21:49 -06:00
|
|
|
### Enhancements
|
|
|
|
* There is now a maximum length for the dynamic programming algorithm,
|
|
|
|
controlled by `apheleia-max-alignment-size`. This prevents Emacs
|
|
|
|
from hanging due to Apheleia. under any circumstances ([#4]).
|
|
|
|
|
|
|
|
### Formatters
|
|
|
|
* New: [Brittany](https://hackage.haskell.org/package/brittany) for
|
|
|
|
[Haskell](https://www.haskell.org/).
|
|
|
|
|
2019-12-31 10:16:32 -07:00
|
|
|
### Bugs fixed
|
|
|
|
* Previously, weirdness could happen if manually running Prettier via
|
|
|
|
`M-x apheleia-format-buffer` on a buffer which was modified from
|
|
|
|
what was written to disk. Now we simply abort running a command that
|
|
|
|
uses the `file` keyword if the buffer is modified, since it will not
|
|
|
|
produce correct results. This should not affect normal usage of
|
|
|
|
Apheleia.
|
2020-03-19 08:21:49 -06:00
|
|
|
* Previously, the buffer could be erased when running Apheleia from a
|
|
|
|
buffer that had no backing file. This has been fixed, and Apheleia
|
|
|
|
can run correctly on buffers both with and without backing files
|
|
|
|
([#9]).
|
|
|
|
|
|
|
|
[#4]: https://github.com/raxod502/apheleia/issues/4
|
|
|
|
[#9]: https://github.com/raxod502/apheleia/pull/9
|
2019-12-31 10:16:32 -07:00
|
|
|
|
2019-09-20 17:08:09 -07:00
|
|
|
## 1.0 (released 2019-09-20)
|
|
|
|
### Added
|
|
|
|
* Package `apheleia`
|
|
|
|
* Command `apheleia-format-buffer`
|
|
|
|
* User options:
|
|
|
|
* `apheleia-formatters`, with supported formatters:
|
|
|
|
* `black`
|
|
|
|
* `prettier`
|
|
|
|
* `gofmt`
|
|
|
|
* `terraform`
|
|
|
|
* `apheleia-mode-alist`
|
|
|
|
* `apheleia-post-format-hook`
|
|
|
|
* Variable `apheleia-formatter`
|
|
|
|
* Minor mode `apheleia-mode` (and `apheleia-global-mode`)
|
|
|
|
|
|
|
|
[keep a changelog]: https://keepachangelog.com/en/1.0.0/
|