Skip to content

Releases: artichoke/clang-format

v0.8.0

26 Jun 23:18
ea1541b
Compare
Choose a tag to compare

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

21 Feb 17:25
4c1fbac
Compare
Choose a tag to compare

Exports and API objects have a null prototype.

Changes

  • Use Object.assign(Object.create(null), {}) to create objects. #20

v0.6.0

15 Feb 12:50
v0.6.0
86bab34
Compare
Choose a tag to compare

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

15 Feb 12:48
v0.5.0
650d460
Compare
Choose a tag to compare

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

15 Feb 12:46
v0.4.0
28b2718
Compare
Choose a tag to compare

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

15 Feb 12:44
v0.3.0
a59dbfb
Compare
Choose a tag to compare

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

15 Feb 12:41
v0.2.0
8a0a381
Compare
Choose a tag to compare

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

v0.1.0

15 Feb 12:38
v0.1.0
c24469f
Compare
Choose a tag to compare

Initial release.

Changes