Skip to content

Releases: suzuki-shunsuke/tfmv

v0.2.8

17 Jul 01:01
v0.2.8
7a72d89

Choose a tag to compare

Pull Requests | Issues | v0.2.7...v0.2.8

#313 Fix Homebrew tap to remove the quarantine bit from the binary on a post install hook

v0.2.7

15 Jul 06:05
v0.2.7
6ef3570

Choose a tag to compare

Pull Requests | Issues | v0.2.6...v0.2.7

#311 Update Go to v1.24.5
#311 Release SBOM
#311 Add license files of Go and Go Modules to released assets

v0.2.7-0

15 Jul 04:45
v0.2.7-0
b532965

Choose a tag to compare

v0.2.7-0 Pre-release
Pre-release

v0.2.6

05 Apr 11:28
v0.2.6
4697d3d

Choose a tag to compare

v0.2.5

31 Jan 23:59
v0.2.5
13928f7

Choose a tag to compare

Pull Requests | Issues | v0.2.4...v0.2.5

🐛 Bug Fixes

#68 Fix a typo in the help message
#96 Fix a bug that a leading newline is added to new created moved block files

v0.2.4

23 Dec 13:47
v0.2.4
7a3552a

Choose a tag to compare

Pull Requests | Issues | v0.2.3...v0.2.4

Fixes

#39 Change the log level from info to debug

Info log was messy, so we changed the log level to debug

v0.2.3

23 Dec 12:11
v0.2.3
771047b

Choose a tag to compare

Pull Requests | Issues | v0.2.2...v0.2.3

Others

#37 Fix typo
#36 Add unit tests
#37 Add integration tests

v0.2.2

23 Dec 04:14
v0.2.2
9dd4527

Choose a tag to compare

Pull Requests | Issues | v0.2.1...v0.2.2

Features

#35 Support renaming data sources

v0.2.1

23 Dec 00:21
v0.2.1
39098ac

Choose a tag to compare

Pull Requests | Issues | v0.2.0...v0.2.1

Features

#26 #28 Output a summary of changes

tfmv outputs a summary of changes in JSON format to stdout

$ tfmv -Rr '-/_'
{
  "changes": [
    {
      "dir": "regexp",
      "address": "github_repository.example-1",
      "new_address": "github_repository.example_1"
    },
    {
      "dir": "bar",
      "address": "github_repository.example-1",
      "new_address": "github_repository.example_1"
    },
    {
      "dir": "foo/nest",
      "address": "null_resource.foo-prod",
      "new_address": "null_resource.foo_prod"
    },
    {
      "dir": ".",
      "address": "github_repository.example-1",
      "new_address": "github_repository.example_1"
    }
  ]
}

#31 Validate new names
#25 Support renaming resources by regular expression

The option --regexp is added:

tfmv --regexp '^example-(\d+)/test-$1'

About regular expression, please see the following document:

#24 Support filtering resources using regular expression

Options --include and --exclude are added:

tfmv -r "-/_" --include "^aws_"
tfmv -r "-/_" --exclude "^aws_"

Fixes

#29 Fix references in files other than given files
#27 Fix a bug that references are modified with --dry-run

v0.2.0

22 Dec 01:17
v0.2.0
42e8958

Choose a tag to compare

Pull Requests | Issues | v0.1.4...v0.2.0

⚠️ Breaking Changes

The short flag of --recursive is changed from -r to -R

tfmv -R # --recursive

Features

Add a short flag for --replace

tfmv -r "-/_" # --replace