Skip to content

Latest commit

 

History

History
1952 lines (875 loc) · 87.5 KB

CHANGELOG.md

File metadata and controls

1952 lines (875 loc) · 87.5 KB

Changelog

1.41.1 (2024-02-25)

Fixes

  • formatter: correct indent level for raw @php blocks (close #915) (470f503)

1.41.0 (2024-02-20)

Features

  • formatter: improve alignment with plugin-php in @php blocks (b5dd55a)
  • formatter: respect indent level when formatting @php blocks (6b5ba60)

Miscellaneous

  • 🤖 add vitest to dependencies (e3a0558)
  • 🤖 delete jest configs (e16b4c7)
  • 🤖 remove jest related dependencies (fd19f6e)

1.40.1 (2024-02-06)

Fixes

  • 🐛 invalid import from prettier (36cbc28)

1.40.0 (2024-02-06)

Fixes

  • 🐛 livewire params is formatted unexpectedly (83a42dc)
  • 🐛 make functions to be async (29d3b4b)

Miscellaneous

  • 🤖 add string-replace-async to dependencies (5da8392)
  • 🤖 bump prettier to 3.2.5 (04a0dcf)
  • 🤖 bump prettier/plugin-php to 0.22.2 (835a1e5)
  • 🤖 revert vscode-oniguruma to 1.7.0 (15b1608)
  • 🤖 update yarn.lock file to latest state (c0246ee)
  • release 1.40.0 (7e65fda)

1.38.6 (2023-11-05)

Fixes

  • 🐛 incorrect format when inline directive and endif exists (2010b5d)

Miscellaneous

  • deps: update actions/setup-node action to v4 (afe2190)
  • deps: update dependency @types/node to v20 (f5dc6ba)
  • deps: update node.js to v21 (7b2a59f)

1.38.5 (2023-10-16)

Fixes

  • 🐛 unexpected result when attrs are not separated by space (#879) (847a0d1)

Miscellaneous

  • deps: bump @babel/traverse from 7.16.7 to 7.23.2 (8c2793a)
  • deps: update pozil/auto-assign-issue action to v1.13.0 (7798e2b)

1.38.4 (2023-10-15)

Fixes

  • 🐛 long props collapse into single line (#876) (3936ece)

1.38.3 (2023-10-09)

Fixes

  • 🐛 unnecessary indent in raw php directive (4a45806)

1.38.2 (2023-10-09)

Fixes

  • 🐛 component attribute is formatted as js (8df6f33)

Miscellaneous

  • 🤖 bump @prettier/plugin-php to 0.19.7 (5d058e6)
  • 🤖 revert vscode-oniguruma to 1.7.0 (428076a)
  • deps: update docker/build-push-action action to v5 (6f43979)
  • deps: update docker/login-action action to v3 (db37937)
  • deps: update docker/setup-buildx-action action to v3 (2e62746)
  • deps: update docker/setup-qemu-action action to v3 (184a725)

1.38.1 (2023-09-10)

Fixes

  • deps: revert update dependency @prettier/plugin-php to ^0.20.0 (#859) (87c74c6)

1.38.0 (2023-09-10)

Features

  • 🎸 add option --no-trailing-comma-php (#858) (9338973)

Fixes

  • deps: update dependency vscode-oniguruma to v2 (662b5fd)

Miscellaneous

  • deps: update actions/checkout action to v4 (db6c3d6)

1.37.1 (2023-08-21)

Fixes

  • 🐛 unbalanced x-slot tag behaviour (04c823f)

1.37.0 (2023-08-11)

Features

  • add option --extra-liners (1562785)

Fixes

  • 🐛 error when --extra-liners option passed at 1st argument (de46752)

Miscellaneous

  • deps: update dependency eslint-config-prettier to v9 (aa48af5)
  • deps: update pozil/auto-assign-issue action to v1.12.0 (4e314bd)

1.36.0 (2023-07-25)

Features

  • 🎸 add option --indent-inner-html (8b2a3c5)

1.35.1 (2023-07-23)

Fixes

  • 🐛 script does not format when type is module (044fcd2)
  • 🐛 unexpected result when wrap attributes min attrs option (a7480c4)

1.35.0 (2023-07-22)

Features

  • 🎸 add option --wrap-attributes-min-attrs (9a370a7)

Miscellaneous

  • 🤖 bump js-beautify to 1.14.8 (4611f9a)

1.34.1 (2023-07-18)

Fixes

  • 🐛 wrap line length option does not affect formatting (bf52e7a)

1.34.0 (2023-07-17)

Features

  • 🎸 --no-single-quote option (c0505c2)

1.33.1 (2023-07-06)

Miscellaneous

  • 🤖 bump @shufo/tailwindcss-class-sorter to 3.0.1 (2588d30)

1.33.0 (2023-07-02)

Features

Miscellaneous

  • 🤖 bump eslint to 8.44.0 (0cbb454)
  • 🤖 bump tailwindcss-class-sorter to 3.0.0 (41f9b58)
  • 🤖 change module system to ES Module (721fd6e)
  • 🤖 update build script to use es module (6dc0836)

1.32.13 (2023-06-12)

Fixes

  • deps: update dependency php-parser to v3.1.5 (a3f437b)

Miscellaneous

  • deps: update dependency esbuild to ^0.18.0 (b139fb4)
  • deps: update node.js to v20 (b11ecfc)

1.32.12 (2023-04-02)

Fixes

1.32.11 (2023-04-02)

Miscellaneous

  • deps: update actions/stale action to v8 (4779dd0)

Fixes

  • 🐛 unless directive has not space between parenthesis (324bff8)

1.32.10 (2023-03-21)

Miscellaneous

  • deps: update dependency typescript to v5 (b4c0756)

Fixes

  • deps: update dependency php-parser to v3.1.4 (34101ab)

1.32.9 (2023-02-25)

Fixes

1.32.8 (2023-02-22)

Fixes

  • 🐛 error on script tag with sort html attribute option (3fae4eb)

1.32.7 (2023-02-12)

Fixes

  • 🐛 syntax error on nested directives in script tag (6403399)

1.32.6 (2023-02-05)

Fixes

  • 🐛 directives in style tag are not formatted (84fd8a5)

Miscellaneous

  • 🤖 revert esbuild to ^0.16.0 to enable watch option (5999d71)
  • add utility command by Makefile (6e71f42)

1.32.5 (2023-01-20)

Miscellaneous

  • 🤖 bump @shufo/tailwindcss-class-sorter to 2.0.0 (901dac8)

1.32.4 (2023-01-14)

Fixes

  • consistent formatting for [@component](https://github.com/component) (#772) (a3d3aaa)
  • deps: update dependency php-parser to v3.1.3 (6697e42)

Miscellaneous

  • deps: update dependency esbuild to ^0.17.0 (7dd8adb)
  • deps: update dependency fs-extra to v11 (0a33f65)

1.32.3 (2023-01-02)

Fixes

  • 🐛 body of formField directive does not indent (d9bb918)
  • 🐛 unexpected comma is inserted before closing parentheses (0e228ae)

1.32.2 (2022-12-25)

Miscellaneous

  • 🤖 bump @shufo/html-attribute-sorter to 0.4.3 (1fd209a)
  • deps: update actions/stale action to v7 (3ca85ff)

1.32.1 (2022-12-18)

Miscellaneous

  • deps: bump decode-uri-component from 0.2.0 to 0.2.2 (6fe4319)
  • deps: update cirrus-actions/rebase action to v1.8 (3c4fb84)
  • deps: update dependency esbuild to ^0.16.0 (779c5a2)

Fixes

  • 🐛 unexpected indent on raw php comment block (f896cc8)

1.32.0 (2022-11-27)

Features

  • add option for end of line character(s) (2dfcba7)

Fixes

  • deps: update dependency vscode-oniguruma to v1.7.0 (7d3018b)

1.31.1 (2022-11-01)

Fixes

  • deps: update dependency php-parser to v3.1.2 (bddb7d0)

1.31.0 (2022-10-30)

Features

Miscellaneous

  • deps: update dependency @types/node to v18 (be9994f)

1.30.3 (2022-10-23)

Fixes

  • 🐛 inconsistent multi-line comment indent in raw php tag (0830640)

1.30.2 (2022-10-16)

Miscellaneous

  • deps: update pozil/auto-assign-issue action to v1.11.0 (773e940)

Fixes

  • 🐛 indent on top level @php directive (2c644a1)

1.30.1 (2022-10-10)

Fixes

  • 🐛 unexpected indentation when --no-php-syntax-check option (51326c4)

1.30.0 (2022-10-09)

Features

  • 🎸 add option --no-php-syntax-check (b7c29bd)

Miscellaneous

  • deps: update pozil/auto-assign-issue action to v1.10.1 (7c34f58)

1.29.8 (2022-10-01)

Miscellaneous

  • deps: update dependency @types/mocha to v10 (9989fc1)

Fixes

  • non-native type script tag throws an error if it contains directive (#725) (cbdf6d1)

1.29.7 (2022-09-24)

Miscellaneous

  • deps: update dependency eslint-import-resolver-typescript to v3 (83bd446)
  • deps: update dependency husky to v8 (6e0effb)
  • deps: update dependency source-map-loader to v4 (b6143bf)
  • deps: update jest monorepo to v29 (bc7c521)

Fixes

  • 🐛 json directive is not indented when it is multi-line (3933eb4)
  • 🐛 timeout occur when unclosed quote exists in php block (6aa4e61)

1.29.6 (2022-09-21)

Miscellaneous

  • 🤖 bump @shufo/tailwindcss-class-sorter to 1.0.12 (c19ba31)

1.29.5 (2022-09-20)

Miscellaneous

  • 🤖 bump @shufo/tailwindcss-class-sorter to 1.0.11 (4f3fa34)

1.29.4 (2022-09-19)

Miscellaneous

  • 🤖 bump @shufo/tailwindcss-class-sorter to 1.0.10 (e893cf1)

1.29.3 (2022-09-19)

Miscellaneous

  • 🤖 bump @shufo/tailwindcss-class-sorter to 1.0.9 (a5fa10f)

1.29.2 (2022-09-18)

Fixes

  • 🐛 tailwindcss config does not respect correctly (55bd09c)

1.29.1 (2022-09-18)

Fixes

  • 🐛 disable lookup tailwind config on format function (73c9597)

1.29.0 (2022-09-18)

Features

  • 🎸 add --tailwindcss-config-path to CLI option (5dc7804)
  • 🎸 add option to specify tailwindcss configuration (f21b892)

Fixes

  • 🐛 can not resolve relative path from base directory (9605ec3)
  • deps: update dependency php-parser to v3.1.1 (c01928b)
  • multi-line blade comment trims line break (a0ce4f9)

Miscellaneous

  • 🤖 add tailwindcss to dependencies (aedabcb)
  • 🤖 bump @shufo/tailwindcss-class-sorter to 1.0.7 (7aeca2f)
  • 🤖 bump @shufo/tailwindcss-class-sorter to 1.0.8 (84a4ca2)
  • 🤖 bump bump tailwindcss-class-sorter to 1.0.6 (7f51450)
  • 🤖 bump tailwindcss-class-sorter to 1.0.5 (e33fc6b)
  • 🤖 revert changes (886a8e3)

1.28.0 (2022-09-11)

Features

  • drop support for Node 12.x (41485d0)

Fixes

  • deps: update dependency @prettier/plugin-php to ^0.19.0 (35322b7)

Miscellaneous

  • require Node 14.x as minimum version (e940e32)

1.27.7 (2022-09-03)

Miscellaneous

  • deps: update dependency @types/glob to v8 (2666547)

Fixes

  • 🐛 invalid quote type when html tag used in php directive (3b02326)

1.27.6 (2022-08-28)

Fixes

  • 🐛 elseif statement in script tag gets unexpected format (40abf45)
  • 🐛 inline directive issue with tailwind class sorting (552fadd)

1.27.5 (2022-08-22)

Miscellaneous

  • deps: update pozil/auto-assign-issue action to v1.10.0 (b9211bd)

Fixes

  • 🐛 inenfficient regex in certain template take a long time (28ac4ed)

1.27.4 (2022-08-13)

Miscellaneous

  • deps: update dependency esbuild to ^0.15.0 (925f64e)

Fixes

  • 🐛 syntax error on chained method (22b5f49)
  • deps: update dependency php-parser to v3.1.0 (d667bee)

1.27.3 (2022-08-09)

Fixes

  • 🐛 do nothing when sort html attributes option is undefined (7f0962a)

1.27.2 (2022-08-09)

Miscellaneous

  • 🤖 bump html-attribute-sorter to 0.4.2 (ef076d4)

1.27.1 (2022-08-08)

Miscellaneous

  • 🤖 bump html-attribute-sorter to 0.4.1 (146f70a)

1.27.0 (2022-08-08)

Features

  • 🎸 --sort-html-attributes option (058a6c8)
  • 🎸 strictly check unexpected options (8286d0e)

Fixes

  • 🐛 tab indent is not used in inline directive (b212293)
  • 🐛 useTabs option ignored in script tag (74bd8bf)

Miscellaneous

  • 🤖 add html-attribute-sorter (e3ed51a)
  • 🤖 bump html-attribute-sorter to 0.4.0 (cf1d6f8)
  • 🤖 disable no multiple empty lines option by default (55fa32e)
  • 🤖 enable resolveJsonModule (5cda691)
  • deps: update akhilmhdh/contributors-readme-action action to v2.3.6 (da946b5)
  • deps: update pozil/auto-assign-issue action to v1.9.0 (f1e1807)

1.26.17 (2022-07-31)

Fixes

  • 🐛 timeout happen when unclosed directive parentheses exist (8735039)

1.26.16 (2022-07-28)

Fixes

  • 🐛 escaped quote in raw php directive breaks indentation (55322a0)

1.26.15 (2022-07-26)

Fixes

  • 🐛 unexpected format results when script tag type is not js (00ca4b3)

1.26.14 (2022-07-20)

Miscellaneous

  • deps: update akhilmhdh/contributors-readme-action action to v2.3.5 (104f60e)
  • deps: update pozil/auto-assign-issue action to v1.8.0 (d637e92)

Fixes

  • 🐛 as keyword breaks line if calling method (b14b251)

1.26.13 (2022-07-12)

Fixes

  • 🐛 nested condition inserts unexpected comma (92d5023)

1.26.12 (2022-07-06)

Miscellaneous

  • deps: bump @prettier/plugin-php from 0.18.8 to 0.18.9 (cf8cd27)

Fixes

  • 🐛 indentation removed when raw blade brace is multi-lined (42e7c0f)

1.26.11 (2022-07-01)

Miscellaneous

  • deps: bump js-beautify from 1.14.3 to 1.14.4 (837aa40)
  • deps: update pozil/auto-assign-issue action to v1.7.3 (42a4dba)

1.26.10 (2022-06-20)

Miscellaneous

  • deps: bump prettier from 2.6.2 to 2.7.1 (faa9540)
  • deps: update pozil/auto-assign-issue action to v1.7.1 (a44338c)

Fixes

  • 🐛 sometimes equal symbols cause formatting to get stuck (497e361)

1.26.9 (2022-06-19)

Miscellaneous

  • deps: update actions/cache action to v3 (e4c2536)
  • deps: update actions/checkout action to v3 (537ed24)
  • deps: update actions/setup-node action to v3 (eaf41ab)
  • deps: update cirrus-actions/rebase action to v1.7 (0136a9b)
  • deps: update codecov/codecov-action action to v3 (70f2175)
  • deps: update dependency @types/concat-stream to v2 (d2c5a2b)
  • deps: update dependency eslint-config-airbnb-typescript to v17 (a8f8aef)
  • deps: update googlecloudplatform/release-please-action action to v3 (e9dbb0b)
  • deps: update jest monorepo to v28 (cc072c2)
  • deps: update pozil/auto-assign-issue action to v1.7.0 (6759bf1)

Fixes

  • 🐛 script tag attributes are unindented when multi-lined (45eb369)

1.26.8 (2022-06-18)

Fixes

  • 🐛 raw string in custom directive results syntax error (abdf82a)

1.26.7 (2022-06-15)

Miscellaneous

  • deps: bump @prettier/plugin-php from 0.18.7 to 0.18.8 (25fef40)

1.26.6 (2022-06-09)

Miscellaneous

  • deps: bump @prettier/plugin-php from 0.18.6 to 0.18.7 (8d1fa89)
  • deps: bump xregexp from 5.1.0 to 5.1.1 (1e2b1d7)

Fixes

  • 🐛 arrow indentifier sometimes results in unexpected format (94ac3ad)

1.26.5 (2022-06-05)

Fixes

  • 🐛 unexpected result when wrap attributes option specified (aa60a9c)

1.26.4 (2022-06-04)

Fixes

  • 🐛 new line inserted at end of style tag (4634794)

1.26.3 (2022-06-02)

Fixes

  • 🐛 at-rules of css results in Syntax Error (029bd3f)

1.26.2 (2022-06-02)

Miscellaneous

  • deps: bump @prettier/plugin-php from 0.18.4 to 0.18.5 (1af9057)
  • deps: bump @prettier/plugin-php from 0.18.5 to 0.18.6 (ac96301)

Fixes

  • 🐛 inline directive results in unexpected format if nested (aff6cd4)

1.26.1 (2022-05-21)

Fixes

  • 🐛 nested forelse directive results in unexpected format (3f6ad82)

1.26.0 (2022-05-19)

Features

  • 🎸 prettier ignore syntax (5b74b96)

Fixes

  • 🐛 nested unless condition results in unexpected format (3a1d52c)

1.25.4 (2022-05-17)

Miscellaneous

  • deps: bump @shufo/tailwindcss-class-sorter from 1.0.3 to 1.0.4 (2ea7b06)
  • deps: bump glob from 8.0.1 to 8.0.3 (fdbfc20)
  • deps: bump yargs from 17.4.1 to 17.5.1 (ee4d594)

Fixes

  • 🐛 format broken by x-bind:class when class sort enabled (bcee004)

1.25.3 (2022-05-15)

Fixes

  • 🐛 empty class string results in unexpected formatting (29cafc7)

1.25.2 (2022-05-14)

Fixes

  • 🐛 allow hyphen and underscore included html tag name (5cffd0e)
  • 🐛 timeout on isset~endif directive in html tag (4e22644)

1.25.1 (2022-05-13)

Fixes

  • 🐛 multiline blade brace results in unexpected formatting (e45f6e7)

1.25.0 (2022-05-12)

Features

  • 🎸 support custom blade directives (a563bd3)
  • 🎸 support pushonce and prependonce directive (f573917)

Miscellaneous

  • 🤖 (deps-dev) add codecov to collect coverage (5b56084)

Fixes

  • 🐛 custom directive in script tag (d64e5f6)
  • 🐛 escaped blade directive inserts unexpected line break (57735e6)
  • 🐛 lower case/upper case mixed custom directive (761a92d)
  • 🐛 preserve unbalanced directive (4e7922a)

1.24.0 (2022-05-07)

Features

Fixes

  • 🐛 indentation lost in nested directive in script tag (2b0fb15)

1.23.8 (2022-05-03)

Fixes

  • 🐛 dollar sign with nested directive causes error (f2305d0)
  • 🐛 livewire tag causes unexpected formatting (6951635)

1.23.7 (2022-05-02)

Fixes

  • 🐛 dollar sign may cause formatting errors (b9f98b8)

1.23.6 (2022-05-02)

Fixes

  • 🐛 long inline blade braces adds unexpected line break (bfd9609)

1.23.5 (2022-04-27)

Fixes

  • 🐛 component directive argument lose indentation (14a1568)

1.23.4 (2022-04-25)

Fixes

  • 🐛 prevent set directive to be wrapped (81e6897)

1.23.3 (2022-04-25)

Fixes

  • 🐛 shorthand bindings gets unexpected indentation (d5989b7)

1.23.2 (2022-04-17)

Fixes

  • 🐛 colon prefixed attribute gets unexpected format (0d78cfa)

1.23.1 (2022-04-12)

Miscellaneous

  • deps: bump glob from 7.2.0 to 8.0.1 (d7b6653)
  • deps: bump js-beautify from 1.14.1 to 1.14.3 (89ad217)
  • deps: bump prettier from 2.6.1 to 2.6.2 (766857b)
  • deps: bump vscode-textmate from 6.0.0 to 7.0.1 (a416629)
  • deps: bump yargs from 17.4.0 to 17.4.1 (f3e9d45)

1.23.0 (2022-04-03)

Features

  • 🎸 automatically formats double colon component attribute (461c059)

Fixes

  • 🐛 unexpected directive match occur on inline directive (854be88)

1.22.3 (2022-04-02)

Fixes

  • 🐛 blade component attribute indents forever (c4eff00)

Miscellaneous

  • 🤖 (dev-deps) bump json-schema to 0.1.28 (4202180)

1.22.2 (2022-03-29)

Miscellaneous

  • deps: bump @prettier/plugin-php from 0.18.3 to 0.18.4 (535f065)
  • deps: bump ajv from 8.10.0 to 8.11.0 (22c0670)
  • deps: bump ansi-regex from 4.1.0 to 4.1.1 (c5294ab)
  • deps: bump js-beautify from 1.14.0 to 1.14.1 (91b338f)
  • deps: bump prettier from 2.6.0 to 2.6.1 (1cfdfe3)

1.22.1 (2022-03-25)

Miscellaneous

  • deps: bump minimist from 1.2.5 to 1.2.6 (7401512)

Fixes

  • 🐛 handle @js and @entangle for x-data and x-init (#531) (b87572c)

1.22.0 (2022-03-23)

Features

  • x-data and x-init alpine attribute support (#526) (fc61b4e)

Miscellaneous

  • deps: bump prettier from 2.5.1 to 2.6.0 (7af4b81)
  • deps: bump yargs from 17.3.1 to 17.4.0 (6c791fc)

1.21.5 (2022-03-19)

Fixes

  • 🐛 infinitely indent with string literal containing line break (#524) (6dec896)

1.21.4 (2022-03-18)

Miscellaneous

  • deps: bump @prettier/plugin-php from 0.18.2 to 0.18.3 (b91dd89)

1.21.3 (2022-03-14)

Fixes

  • 🐛 class sorting fails when blade braces mixed in classes (f4b10c5)

1.21.2 (2022-03-12)

Fixes

  • 🐛 some character prevent reordering of tailwindcss classes (5c126f2)

1.21.1 (2022-03-12)

Fixes

  • 🐛 curly braces with long expression gets unexpected result (b48c7a7)
  • 🐛 whitespace sensitive tag gets formatted unexpectedly (96271c0)

1.21.0 (2022-03-09)

Features

  • 🎸 support for include~ directives (8ada749)
  • 🎸 support for selected, disabled and checked directive (6dfaf46)

1.20.5 (2022-03-05)

Fixes

  • 🐛 inilne script tag removes previous DOM (22f0029)

1.20.4 (2022-03-03)

Fixes

  • 🐛 consider wrapLineLength in include directives (4e4aa5f)

1.20.3 (2022-03-03)

Fixes

  • 🐛 formatted include directive adds unnecessary comma (3533fee)

1.20.2 (2022-03-02)

Fixes

  • 🐛 include directive does not indent parameters (d0d1022)

1.20.1 (2022-02-26)

Fixes

  • 🐛 unnecessary line break inserted after classes sorted (7e4b695)

1.20.0 (2022-02-26)

Features

  • 🎸 sort tailwindcss classes automatically (1703092)

Miscellaneous

  • 🤖 (deps) add @shufo/tailwindcss-class-sorter (88afbd0)
  • 🤖 bump tailwindcss-class-sorter to 1.0.3 (301140f)

1.19.0 (2022-02-23)

Features

  • 🎸 auto line breaking around else if directives (81a2cd4)

Miscellaneous

  • deps: bump @prettier/plugin-php from 0.18.1 to 0.18.2 (08bdd2c)

Fixes

  • 🐛 auto line break around else directive (62f08a1)
  • 🐛 inlined php doc gets unexpected line break (1f4aa43)
  • 🐛 line break does not occur around html tag (1e23dab)

1.18.6 (2022-02-21)

Fixes

  • 🐛 switch-case directive formatting error (d719528)
  • endforelse causing formatting error (#486) (9ff3753)

1.18.5 (2022-02-20)

Miscellaneous

  • deps: bump @prettier/plugin-php from 0.18.0 to 0.18.1 (551a86b)

Fixes

  • 🐛 line break around case directives (634ed31)
  • 🐛 nested switch directive gets unexpected format (865cadf)
  • 🐛 unexpected indentation around case-break directive (5be21c8)

1.18.4 (2022-02-13)

Fixes

  • 🐛 inline nested directive may not resolve auto line break (07f873c)

1.18.3 (2022-02-13)

Fixes

  • 🐛 multiple directive in html tag gets unexpected format (7f68515)

1.18.2 (2022-02-13)

Miscellaneous

  • 🤖 (dev) add husky, lint-staged for auto formatting (53ef010)

Fixes

  • 🐛 directive with line break occurs unexpected behaviour (f716a67)

1.18.1 (2022-02-13)

Fixes

  • 🐛 inlined error directive is formatted to multiple lines (4c90c0d)

1.18.0 (2022-02-12)

Features

  • 🎸 auto line break around directives (a290e09)

Fixes

  • 🐛 json directive adds unexpected whitespace (69aa499)

1.17.5 (2022-02-09)

Fixes

  • 🐛 wrap attributes option force-aligned didn't work (01d0821)

1.17.4 (2022-02-08)

Miscellaneous

  • deps: bump @prettier/plugin-php from 0.17.6 to 0.18.0 (63a22a5)

Fixes

  • 🐛 break line before and after directives if needed (c55d7fa)
  • 🐛 support up to 4 level nested parenthesis (911a005)

1.17.3 (2022-02-06)

Fixes

  • 🐛 allow up to 4 level nested parenthesis in directive (7d133ae)
  • 🐛 hangs when 3 more nested parenthesis used in directive (ddc1816)

1.17.2 (2022-01-29)

Miscellaneous

  • 🤖 add build script for esbuild (aa36fda)
  • 🤖 add esbuild, cross-env to dependencies (6fe5d9d)
  • 🤖 change build target to node12 (73407ab)
  • 🤖 drop webpack dependencies (ee5b772)
  • 🤖 generate types after build (06711ef)
  • 🤖 generate types prepublish only (9f1a815)
  • 🤖 minify cli bundle (c2752c8)
  • 🤖 replace build script command with esbuild (1ff19ac)

Fixes

  • 🐛 expression return always true (eb67858)
  • 🐛 inline nested parenthesis have unexpected formatting (8132e98)

1.17.1 (2022-01-26)

Fixes

  • 🐛 format from stdin results always exit code 0 (ae695d4)
  • 🐛 input from stdin does not respects runtime config (547efc7)

1.17.0 (2022-01-25)

Features

  • 🎸 configuring settings by runtime config (#451) (febeeec)

Miscellaneous

Fixes

  • 🐛 support @permission~@endpermission directive (924ca29)

1.16.2 (2022-01-12)

Fixes

  • 🐛 @slot without @endslot incorrect formatting (6061a2d)

1.16.1 (2022-01-11)

Miscellaneous

  • 🤖 drop esm from dependencies (e34a1e5)

Fixes

  • 🐛 @{{~}} syntax occurs parse error (8fe42ec)

1.16.0 (2022-01-10)

Features

  • 🎸 add ignore statement for disable formatting (f63bc03)

1.15.2 (2022-01-08)

Fixes

  • 🐛 indent error in formatting conditional expression (#429) (7b7124d)

1.15.1 (2022-01-04)

Miscellaneous

  • deps-dev: bump @babel/core from 7.13.14 to 7.16.7 (9396f6c)
  • deps-dev: bump @types/node from 17.0.5 to 17.0.6 (4726331)
  • deps-dev: bump babel-jest from 26.6.3 to 27.4.5 (9c95fbd)
  • deps-dev: bump eslint from 8.5.0 to 8.6.0 (5732232)
  • deps-dev: bump eslint-plugin-prettier from 3.3.1 to 4.0.0 (a327656)
  • deps: bump ignore from 5.1.8 to 5.2.0 (6ee7685)
  • deps: bump vscode-oniguruma from 1.5.1 to 1.6.1 (9c094d9)
  • deps: bump vscode-textmate from 5.4.0 to 6.0.0 (572cae7)
  • deps: bump xregexp from 5.0.2 to 5.1.0 (2a62b78)

1.15.0 (2022-01-02)

Features

1.14.4 (2021-12-24)

Miscellaneous

  • dep-deps: bump js-beautify to 0.14.0 (b478a05)
  • dev-deps: bump prettier/plugin-php to 0.17.6 (4caa228)

Fixes

  • 🐛 adds unnecessary space on quoted expression (72ce6c7)

1.14.3 (2021-11-22)

Fixes

  • 🐛 forelse-empty directive in scripts (7d494d1)

1.14.2 (2021-11-07)

Fixes

  • 🐛 consecutive case directive (82c76e8)

1.14.1 (2021-11-03)

Fixes

  • 🐛 unexpected behaviour on multiline blade brace. closes #382 (f8a637d)

1.14.0 (2021-10-24)

Features

1.13.0 (2021-10-10)

Features

  • 🎸 add support for laravel-permission directives (672c3f1)

Miscellaneous

  • doc: change coc extension in README (dd083b8)

Fixes

  • 🐛 empty class attribute with other attributes (#372) (2f2432e)

1.12.5 (2021-09-06)

Miscellaneous

  • 🤖 bump php-parser to 3.0.3 (37e01cb)
  • 🤖 bump prettier/plugin-php to 0.17.4 (ce1b901)

Fixes

  • 🐛 empty class attribute cause unexpected replacement (9acce17)

1.12.4 (2021-08-30)

Fixes

  • 🐛 converting class to lowercase on component attributes (6bd840a)

1.12.3 (2021-08-29)

Fixes

  • 🐛 prevent unexpected indent for braces in class attribute (7207014)

Miscellaneous

  • 🤖 follow formatting behaviour change (8bcba65)

1.12.2 (2021-08-22)

Fixes

1.12.1 (2021-08-17)

Fixes

  • prevent indent level going negative (f2fdd5c)

1.12.0 (2021-08-15)

Features

  • 🎸 support [@overwrite](https://www.github.com/overwrite) directive (b3f1b9e)

Miscellaneous

  • deps: bump path-parse from 1.0.6 to 1.0.7 (15add05)

1.11.13 (2021-08-07)

Fixes

1.11.12 (2021-08-03)

Fixes

  • 🐛 support @append directive (544bd89)

1.11.11 (2021-07-13)

Fixes

  • disappearing lines with force-expand-multiline (bdd7a15)

1.11.10 (2021-07-11)

Fixes

  • 🐛 bump php parser version to 8.0 (c96eb54)
  • 🐛 preserve original php tag in template #304 (19bb7ed)

Miscellaneous

  • 🤖 add config for jest (626577d)
  • 🤖 bump @prettier/plugin-php to 0.17.2 (6b3a0a2)
  • 🤖 use php-parser 3.0.1 (2b5c079)

1.11.9 (2021-07-04)

Fixes

  • 🐛 inline @php directive gets unexpected indent (71bd00f)

Miscellaneous

  • deps: bump browserslist from 4.16.3 to 4.16.6 (7d22f07)

1.11.8 (2021-06-20)

Fixes

  • 🐛 always indenting template string in script tag (fa17043)
  • 🐛 unexpected new line inserted before script closing tag (4097a4f)
  • 🐛 wrap line attribute behaviour in script tag (a1763a7)

1.11.7 (2021-06-15)

Fixes

Miscellaneous

  • deps-dev: bump eslint from 6.8.0 to 7.28.0 (7b2d59e)
  • deps: bump hosted-git-info from 2.8.8 to 2.8.9 (d15c93d)
  • deps: bump js-beautify from 1.13.5 to 1.14.0 (#288) (b653f5b)
  • deps: bump ws from 7.4.4 to 7.4.6 (a78e342)

1.11.6 (2021-06-13)

Miscellaneous

  • 🤖 bump vscode-oniguruma wasm to 1.5.1 (6d22ee8)
  • 🤖 delete contributors action (9e1b038)
  • 🤖 update README.md (4bb2e59)

1.11.5 (2021-04-18)

Bug Fixes

  • 🐛 [@forelse](https://www.github.com/forelse) inside [@if](https://www.github.com/if) gets unexpected indentation #254 (fbde357)

1.11.4 (2021-04-11)

Bug Fixes

  • format inline directive in script tag (86758cb)

1.11.3 (2021-04-10)

Bug Fixes

1.11.2 (2021-04-06)

Bug Fixes

  • 🐛 break chained method in directive (4e4b3bf)

1.11.1 (2021-04-04)

Bug Fixes

  • 🐛 adjust indent level for directive in scripts (a94cee2)

1.11.0 (2021-04-03)

Features

1.10.7 (2021-04-02)

Bug Fixes

  • 🐛 blade directives inside script tag causes error (0696d3c)
  • 🐛 change list order to match foreach directive first (f7b388e)
  • 🐛 explicitly specify dependency version (00ea4ce)
  • 🐛 match case insensitive for directives (ecf4097)
  • 🐛 use forked commit hash to fix version (7c623f2)

Features

  • 🎸 add aigle and xregexp to dependencies (d0eee99)
  • 🎸 add indent utility (78be41c)

Performance Improvements

  • ⚡️ run cli test concurrently (abf84a7)

Reverts

  • Revert "chore: 🤖 Release 1.10.7" (23e00fd)

1.10.6 (2021-03-31)

Bug Fixes

  • 🐛 use back-up commit (c758f6a)

Features

  • 🎸 add change log builder action (65746fd)
  • 🎸 add coc-blade-formatter to extensions list (ff6c759)

1.10.5 (2021-03-17)

Features

  • 🎸 bump plugin-php to php 8 supported version (wip) (2085220)

1.10.4 (2021-03-14)

Bug Fixes

  • 🐛 echo php expressionn (ce20576)

1.10.3 (2021-03-07)

1.10.2 (2021-02-23)

Bug Fixes

  • 🐛 do not add line return in unescaped blade brace (#217) (7dd0160)

1.10.1 (2021-01-29)

Bug Fixes

  • 🐛 blade brace without space occurs error (#203) (25c177c)
  • 🐛 format raw php block within @php directive (#201) (d3764b0)
  • 🐛 store blade comment to keep comment body (#202) (ed19d87)

1.10.0 (2021-01-26)

Features

  • 🎸 add ignore to packages (ffc85cc)
  • 🎸 ignore files specified in .bladeignore (57e76b7), closes #198 #9

1.9.9 (2021-01-23)

Bug Fixes

  • 🐛 long line with inline directive occurs error (5c275f0)

1.9.8 (2021-01-16)

Bug Fixes

  • 🐛 reserve php directive in html tag (afc1f80), closes #129

1.9.7 (2021-01-13)

Bug Fixes

  • 🐛 allow empty curly braces (7289348), closes #14
  • 🐛 delete unnecessary escape (28133be)

1.9.6 (2020-12-08)

Bug Fixes

  • 🐛 revert oniguruma wasm (3ed9ab5)
  • 🐛 revert vscode-oniguruma to 1.3.1 (9490a67)

1.9.5 (2020-12-07)

Features

  • 🎸 bump vscode-oniguruma to 1.4.0 (9e21997)

1.9.4 (2020-12-07)

Bug Fixes

  • 🐛 resolve path by require.resolve (7ef21ed)

1.9.3 (2020-12-07)

Bug Fixes

  • 🐛 delete unnecessary return code if exists (f570b40)

Features

  • 🎸 bump @prettier/plugin-php to ^0.16.0 (a8f8c26)
  • 🎸 bump prettier to 2.2.0 (671d315)

1.9.2 (2020-12-06)

Bug Fixes

  • 🐛 catch exception for loading wasm (3d647c7)

1.9.1 (2020-11-05)

Bug Fixes

  • 🐛 add newline escape character for escaped tag (62c3449), closes #166

1.9.0 (2020-11-03)

Features

  • 🎸 add supported directives (2f25d44)

1.8.1 (2020-11-03)

Bug Fixes

  • 🐛 do nothing if something goes wrong while formatting (d46c7e6), closes #128

1.8.0 (2020-10-17)

1.7.0 (2020-08-08)

Bug Fixes

  • 🐛 typo command example (e5498ec)

Features

1.6.4 (2020-08-04)

Bug Fixes

  • 🐛 support case insensitive directive (fbb3a6d)

1.6.3 (2020-08-02)

Bug Fixes

  • 🐛 add while ~ endwhile for formatting target (8ef5b33)
  • 🐛 add while ~ endwhile to replace pattern (5cfa7b3)
  • 🐛 pad no whitespaces if calculated whitespaces less than 0 (552af4a)

1.6.2 (2020-08-02)

Bug Fixes

  • 🐛 comment in blade directive causes unexpected result (19c4f6f)

1.6.1 (2020-08-02)

1.6.0 (2020-07-30)

Features

  • preserve spaces between php directive and parentheses #116 (e947455)

1.5.4 (2020-07-28)

Bug Fixes

  • 🐛 ignore forelse directive for formatting (#115) (10fbb25)

1.5.3 (2020-07-28)

Bug Fixes

  • 🐛 regex to match balanced parentheses (#114) (6ab9a21)

1.5.2 (2020-07-28)

Bug Fixes

  • 🐛 unexpectedly remove tags after blade close expression (7fb3a17)

1.5.1 (2020-07-27)

Bug Fixes

  • 🐛 do not remove original php tag (0719a13)

1.5.0 (2020-07-26)

Bug Fixes

  • 🐛 comment line corrupted when it is too long (5f4fa22)
  • 🐛 html close tag near php close tag occurs error (30fc7c4)
  • 🐛 method call should be inline (49e2d00), closes #2
  • 🐛 reindex directory for language stats (cf57e4b)
  • 🐛 use .gitattributes instead (e82214d)

1.4.0 (2020-07-23)

Bug Fixes

  • 🐛 consider child methods in foreach directive (0bbbfdc)

Features

1.3.1 (2020-07-20)

Bug Fixes

  • 🐛 should remove semicolon in last line of file (49f4177)

1.3.0 (2020-07-19)

chore

Features

  • 🎸 add vscode-textmate (d935afe)
  • 🎸 implement format API (4e7e4e4)
  • 🎸 register vscode-textmate instance by passed params (1564b0b)

BREAKING CHANGES

  • 🧨 Changes BladeFormatter constructor argument order. Please format files via BladeFormatter.format()

1.2.2 (2020-07-19)

Bug Fixes

  • 🐛 ignore blade style commented lines (ebd8281), closes #8

1.2.1 (2020-07-18)

Bug Fixes

  • 🐛 avoid unexpected replacement (f4f5db1)
  • 🐛 preserve embedded php tags in original content (fe8fad9), closes #56 #57
  • 🐛 revert unnecessary commit (5a18712)

1.2.0 (2020-07-18)

Bug Fixes

  • 🐛 allow Release string to put anyware (98b2992)
  • 🐛 fix minimum support version to 10.x (e5974d9)
  • 🐛 preserve original if attempting overwrite with nothing (268b604)
  • formatter: do not insert padding in blankline (ab369bd), closes #48
  • formatter: fix indentation problem on inline directive and html tags are mixed refs #3 (00b85a3)

Features

  • 🎸 require node version to >= 0.10 (7615f8c)

1.1.3 (2019-11-09)

Bug Fixes

  • formatter: do not clear inline directive (1359775), closes #3

1.1.2 (2019-11-09)

1.1.1 (2019-10-27)

1.1.0 (2019-10-27)

1.0.2 (2019-10-26)

1.0.1 (2019-10-26)