Releases: artichoke/clang-format
Releases · artichoke/clang-format
v0.8.0
Upgrade commander
dependency to 8.0.0.
Changes
- Improve yamllint ci step #21
- Bump commander from 7.1.0 to 7.2.0 #22
- Create Dependabot config file #23
- Bump package-lock.json version to 2 #24
- Fix quoting in prettier invocation for fmt npm run script #26
- Bump commander from 7.2.0 to 8.0.0 #27
- Small refactors #28
v0.7.0
Exports and API objects have a null
prototype.
Changes
- Use Object.assign(Object.create(null), {}) to create objects. #20
v0.6.0
Rename package to @artichokeruby/clang-format
and update dependencies.
Changes
- Bump commander from 6.2.0 to 6.2.1. #15
- Extend eslint:recommended and fixup lint violations.#16
- Bump commander to 7.0.0. #17
- Bump commander from 7.0.0 to 7.1.0. #18
- Rename package to use artichokeruby scope. #19
v0.5.0
Update vendored clang-format
binaries to LLVM 11.0.0 (except for Windows).
Changes
- Block WIP or unmergeable PRs. #12
- Bump commander from 6.1.0 to 6.2.0. #13
- Update to LLVM 11.0.0. #14
v0.4.0
Another significant refactor/rewrite.
Changes
- Package JS sources in src directory.
- Move
clang-format
bin entry point to bin directory.
- Simplify
bin
declaration in package.json
.
- Make bin a thin wrapper around sources in
src
.
- Add
"use strict";
pragma to all JS sources.
- Move FS walk and source filtering out of
index
into an fs
module.
- Add a try-catch block around
cli.run
.
- Split binpath resolution into a separate method outside of
format.format
.
- Remove double comparison of extenstion equality check by checking for
.c
and .h
per path.extname
API docs.
- All
async function
declarations converted to const foo = async () => {}
statements.
This release introduces a significant API change to the formatter in index.js
. The module exports two functions, check
and format
that are constructors for formatters bound to a particular check mode and source root. This accompanies an internal API change to split the check and format code paths.
v0.3.0
Convert API to Promise
-based and remove some dependencies.
Changes
- Remove files property in package.json. #6
- Ignore build and emsdk dirs. #7
- Remove array-flat-polyfill. #8
- Add README for embedded binaries. #9
- Convert clang-format wrapper to a Promise-based API. #10
v0.2.0
Internal refactoring and dependency updates.
Changes
- Bump commander to 6.1.0. #2
- Lint YAML and GitHub Actions sources in CI. #3
- Refactor to make the implementation more modular. #4
- Remove dependency on
clang-format
npm package. #5