gofimports/CHANGELOG.md

8.9 KiB

CHANGELOG

v0.0.8 (2023-02-25)

Added

  • feat: support multi company, split using , (2023-01-22)

  • feat: cache module name even when read dir to improve perf (2023-01-17)

  • feat: use sync.Pool to reuse bytes.Buffer (2023-01-17)

  • feat: add profiler (2023-01-17)

  • feat: add go profiler (2023-01-17)

  • feat: improve perf by use astFile for dstFile (2023-01-17)

  • feat: use errgroup to improve perf (2023-01-17)

  • feat: use uber-go/automaxprocs (2023-01-17)

  • feat: ignore empty imports (2023-01-17)

  • feat: switch to use dst (2023-01-17)

  • feat: custom printer ast (2022-11-28)

  • feat: add parser.SkipObjectResolution (2022-11-28)

  • feat: implement format dir (2022-11-28)

  • feat: write file actually (2022-11-28)

  • feat: remove sort imports (2022-11-28)

  • feat: ignore empty import (2022-11-27)

  • feat: sort imports using default Go (wip) (2022-11-27)

  • feat: print diff (2022-11-27)

  • feat: actually print file from ast (2022-11-27)

  • feat: rewrite all logic to single loop ast.Decl (wip) (2022-11-26)

  • feat: support combine multi import decl (wip) (2022-11-26)

  • feat: split local, company, third party imports (2022-11-26)

  • feat: cache module name of path (2022-11-26)

  • feat: get module name from path (2022-11-26)

  • feat: query go.mod (2022-11-26)

  • feat: sort import (wip) (2022-11-26)

  • feat: parse imports and group imports std (2022-11-26)

  • feat: simple format file (without actually format) (2022-11-25)

  • feat: init Formatter (2022-11-25)

  • feat: flags from gofmt (2022-11-24)

Fixed

  • fix: update 2 times with dstFile (2023-01-17)

  • fix: panic if format import spec empty (2023-01-17)

  • fix: ignore not go file and go generated error (2022-11-28)

  • fix: not copy import spec directly but use basic lit (2022-11-27)

  • fix: force update ast decls when single import (2022-11-27)

  • fix: formatter option missing value (2022-11-25)

Others

  • chore(changelog): generate v0.0.7 (2023-02-25)

  • chore: fix lint (2023-02-25)

  • chore: update make (2023-02-25)

  • chore: bump go 1.20 github action (2023-02-25)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.24.3 to 2.24.4 (2023-02-17)

  • chore(deps): bump golang.org/x/tools from 0.5.0 to 0.6.0 (2023-02-13)

  • chore(deps): bump golang.org/x/mod from 0.7.0 to 0.8.0 (2023-02-09)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.24.2 to 2.24.3 (2023-02-03)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.24.1 to 2.24.2 (2023-01-30)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.23.7 to 2.24.1 (2023-01-23)

  • chore(changelog): generate v0.0.6 (2023-01-22)

  • chore: clarify company prefix guide (2023-01-22)

  • chore: format using local ./gofimports (2023-01-22)

  • chore: add golds (wip) (2023-01-18)

  • chore: improve docs (2023-01-17)

  • chore(changelog): generate v0.0.5 (2023-01-17)

  • chore(changelog): generate v0.0.4 (2023-01-17)

  • chore: re-format (2023-01-17)

  • chore: log flags when verbose (2023-01-17)

  • chore: remove buggy side effect (2023-01-17)

  • chore(changelog): generate v0.0.3 (2023-01-17)

  • chore: reformat a little bit (2023-01-17)

  • chore: use bytes.Equal instead of bytes.Compare (2023-01-17)

  • chore: add make clean (2023-01-17)

  • chore(deps): bump golang.org/x/tools from 0.4.0 to 0.5.0 (2023-01-05)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.23.6 to 2.23.7 (2022-12-12)

  • chore(deps): bump golang.org/x/tools from 0.3.0 to 0.4.0 (2022-12-07)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.23.5 to 2.23.6 (2022-12-05)

  • chore: more comment (2022-11-28)

  • chore: fix typo (2022-11-28)

  • chore(changelog): generate v0.0.2 (2022-11-28)

  • chore: add badges (2022-11-28)

  • chore: better explain side effect README (2022-11-28)

  • refactor: no need importNameAndPath (2022-11-28)

  • refactor: rewrite parser mode (2022-11-28)

  • chore: fix whitespace (2022-11-28)

  • chore: format this project using this project :) (2022-11-28)

  • chore(changelog): generate v0.0.1 (2022-11-28)

  • chore: add install, usage in README (2022-11-28)

  • chore: add roadmap (2022-11-27)

  • chore: print path when diff (2022-11-27)

  • refactor: rewrite formatImportSpecs to eliminate dupe (2022-11-27)

  • chore: remove useless check import empty (2022-11-27)

  • refactor: pkgName -> moduleName (2022-11-26)

  • chore: update README (2022-11-25)

  • chore: add TODO (2022-11-25)

  • refactor: remove regex code generated (2022-11-25)

  • chore: update comment (2022-11-25)

  • refactor: accept both write and diff (2022-11-25)

  • chore: remove fmt.Println (2022-11-24)

  • chore: fix lint (2022-11-24)

  • chore: add MIT license (2022-11-24)

  • chore: add github action, Makefile (2022-11-24)

  • chore: init go.mod (2022-11-24)

v0.0.7 (2023-02-25)

Others

  • chore: fix lint (2023-02-25)

  • chore: update make (2023-02-25)

  • chore: bump go 1.20 github action (2023-02-25)

  • chore(changelog): generate v0.0.6 (2023-01-22)

v0.0.6 (2023-01-22)

Added

  • feat: support multi company, split using , (2023-01-22)

Others

  • chore: clarify company prefix guide (2023-01-22)

  • chore: format using local ./gofimports (2023-01-22)

  • chore: add golds (wip) (2023-01-18)

  • chore: improve docs (2023-01-17)

  • chore(changelog): generate v0.0.5 (2023-01-17)

v0.0.5 (2023-01-17)

Added

  • feat: cache module name even when read dir to improve perf (2023-01-17)

  • feat: use sync.Pool to reuse bytes.Buffer (2023-01-17)

  • feat: add profiler (2023-01-17)

  • feat: add go profiler (2023-01-17)

Others

  • chore(changelog): generate v0.0.4 (2023-01-17)

v0.0.4 (2023-01-17)

Added

  • feat: improve perf by use astFile for dstFile (2023-01-17)

  • feat: use errgroup to improve perf (2023-01-17)

  • feat: use uber-go/automaxprocs (2023-01-17)

Fixed

  • fix: update 2 times with dstFile (2023-01-17)

Others

  • chore: re-format (2023-01-17)

  • chore: log flags when verbose (2023-01-17)

  • chore: remove buggy side effect (2023-01-17)

  • chore(changelog): generate v0.0.3 (2023-01-17)

v0.0.3 (2023-01-17)

Added

  • feat: ignore empty imports (2023-01-17)

  • feat: switch to use dst (2023-01-17)

Fixed

  • fix: panic if format import spec empty (2023-01-17)

Others

  • chore: reformat a little bit (2023-01-17)

  • chore: use bytes.Equal instead of bytes.Compare (2023-01-17)

  • chore: add make clean (2023-01-17)

  • chore(deps): bump golang.org/x/tools from 0.4.0 to 0.5.0 (2023-01-05)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.23.6 to 2.23.7 (2022-12-12)

  • chore(deps): bump golang.org/x/tools from 0.3.0 to 0.4.0 (2022-12-07)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.23.5 to 2.23.6 (2022-12-05)

  • chore: more comment (2022-11-28)

  • chore: fix typo (2022-11-28)

  • chore(changelog): generate v0.0.2 (2022-11-28)

v0.0.2 (2022-11-28)

Added

  • feat: custom printer ast (2022-11-28)

  • feat: add parser.SkipObjectResolution (2022-11-28)

Others

  • chore: add badges (2022-11-28)

  • chore: better explain side effect README (2022-11-28)

  • refactor: no need importNameAndPath (2022-11-28)

  • refactor: rewrite parser mode (2022-11-28)

  • chore: fix whitespace (2022-11-28)

  • chore: format this project using this project :) (2022-11-28)

  • chore(changelog): generate v0.0.1 (2022-11-28)

v0.0.1 (2022-11-28)

Added

  • feat: implement format dir (2022-11-28)

  • feat: write file actually (2022-11-28)

  • feat: remove sort imports (2022-11-28)

  • feat: ignore empty import (2022-11-27)

  • feat: sort imports using default Go (wip) (2022-11-27)

  • feat: print diff (2022-11-27)

  • feat: actually print file from ast (2022-11-27)

  • feat: rewrite all logic to single loop ast.Decl (wip) (2022-11-26)

  • feat: support combine multi import decl (wip) (2022-11-26)

  • feat: split local, company, third party imports (2022-11-26)

  • feat: cache module name of path (2022-11-26)

  • feat: get module name from path (2022-11-26)

  • feat: query go.mod (2022-11-26)

  • feat: sort import (wip) (2022-11-26)

  • feat: parse imports and group imports std (2022-11-26)

  • feat: simple format file (without actually format) (2022-11-25)

  • feat: init Formatter (2022-11-25)

  • feat: flags from gofmt (2022-11-24)

Fixed

  • fix: ignore not go file and go generated error (2022-11-28)

  • fix: not copy import spec directly but use basic lit (2022-11-27)

  • fix: force update ast decls when single import (2022-11-27)

  • fix: formatter option missing value (2022-11-25)

Others

  • chore: add install, usage in README (2022-11-28)

  • chore: add roadmap (2022-11-27)

  • chore: print path when diff (2022-11-27)

  • refactor: rewrite formatImportSpecs to eliminate dupe (2022-11-27)

  • chore: remove useless check import empty (2022-11-27)

  • refactor: pkgName -> moduleName (2022-11-26)

  • chore: update README (2022-11-25)

  • chore: add TODO (2022-11-25)

  • refactor: remove regex code generated (2022-11-25)

  • chore: update comment (2022-11-25)

  • refactor: accept both write and diff (2022-11-25)

  • chore: remove fmt.Println (2022-11-24)

  • chore: fix lint (2022-11-24)

  • chore: add MIT license (2022-11-24)

  • chore: add github action, Makefile (2022-11-24)

  • chore: init go.mod (2022-11-24)