gofimports/CHANGELOG.md

12 KiB

CHANGELOG

v0.0.10 (2023-11-29)

Others

  • chore(deps): bump golang.org/x/tools from 0.15.0 to 0.16.0 (2023-11-28)

  • chore(deps): bump golang.org/x/tools from 0.14.0 to 0.15.0 (2023-11-09)

  • chore(deps): bump golang.org/x/sync from 0.4.0 to 0.5.0 (2023-11-06)

  • chore(deps): bump golang.org/x/mod from 0.13.0 to 0.14.0 (2023-11-06)

  • chore(deps): bump github.com/dave/dst from 0.27.2 to 0.27.3 (2023-10-16)

  • chore(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 (2023-10-09)

  • chore(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 (2023-10-06)

  • chore(deps): bump golang.org/x/mod from 0.12.0 to 0.13.0 (2023-10-06)

  • chore: add badges (2023-09-23)

  • chore(deps): bump goreleaser/goreleaser-action from 4 to 5 (2023-09-12)

  • chore(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0 (2023-09-06)

  • chore(deps): bump actions/checkout from 3 to 4 (2023-09-05)

  • chore(deps): bump golang.org/x/tools from 0.11.1 to 0.12.0 (2023-08-08)

  • chore(deps): bump golang.org/x/tools from 0.11.0 to 0.11.1 (#39) (2023-08-01)

  • chore(deps): bump github.com/make-go-great/color-go from 0.4.1 to 0.5.0 (#38) (2023-07-17)

  • chore(changelog): generate v0.0.9 (2023-07-10)

v0.0.9 (2023-07-10)

Added

  • feat: add stock mode (#37) (2023-07-10)

Others

  • chore(deps): bump golang.org/x/tools from 0.10.0 to 0.11.0 (2023-07-06)

  • chore(deps): bump golang.org/x/mod from 0.11.0 to 0.12.0 (2023-07-05)

  • chore: sync github action (2023-07-01)

  • chore: sync golangci-lint (2023-06-29)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.6 to 2.25.7 (2023-06-19)

  • chore(deps): bump golang.org/x/tools from 0.9.3 to 0.10.0 (2023-06-16)

  • chore(deps): bump golang.org/x/mod from 0.10.0 to 0.11.0 (2023-06-15)

  • chore(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 (2023-06-15)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.5 to 2.25.6 (2023-06-13)

  • chore(deps): bump golang.org/x/tools from 0.9.2 to 0.9.3 (2023-06-02)

  • chore(deps): bump golang.org/x/tools from 0.9.1 to 0.9.2 (2023-06-01)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.4 to 2.25.5 (2023-05-30)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.3 to 2.25.4 (2023-05-29)

  • chore(deps): bump golang.org/x/tools from 0.9.0 to 0.9.1 (2023-05-10)

  • chore(deps): bump golang.org/x/tools from 0.8.0 to 0.9.0 (2023-05-09)

  • chore(deps): bump golang.org/x/sync from 0.1.0 to 0.2.0 (2023-05-05)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.2 to 2.25.3 (2023-05-02)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.1 to 2.25.2 (2023-05-01)

  • chore(deps): bump golang.org/x/tools from 0.7.0 to 0.8.0 (2023-04-07)

  • chore(deps): bump golang.org/x/mod from 0.9.0 to 0.10.0 (2023-04-05)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.0 to 2.25.1 (2023-03-27)

  • chore(deps): bump actions/setup-go from 3 to 4 (2023-03-22)

  • chore(deps): bump goreleaser/goreleaser-action from 3 to 4 (2023-03-22)

  • chore: update dependabot (2023-03-22)

  • chore: golds add dark theme (2023-03-13)

  • chore(deps): bump golang.org/x/tools from 0.6.0 to 0.7.0 (2023-03-08)

  • chore(deps): bump golang.org/x/mod from 0.8.0 to 0.9.0 (2023-03-06)

  • chore(deps): bump github.com/urfave/cli/v2 from 2.24.4 to 2.25.0 (2023-03-06)

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

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)