Releases: clevyr/yampl
Releases · clevyr/yampl
v0.8.0
Changelog
Fixes
- f1ae7d4 fix(util): Change file extension check to be case-insensitive
- 02d2fa4 fix: Fix
--var
not being completed multiple times - b0e5a75 fix: Only perform extension check when walking a directory
- 777d6c5 fix: Output formatting edge-cases found during fuzz test
- 7d83043 perf: Return early when reading from stdin
Others
- 1f984fa chore(cmd): Clean up versioning with a functional argument
- 43f208d chore(deps): update docker/dockerfile docker tag to v1.10 (#67)
- 6ae20e5 chore(deps): update go to v1.23.1 (#65)
- 9136bb2 chore(deps): update module github.com/masterminds/sprig/v3 to v3.3.0 (#66)
- 340bb15 chore(goreleaser): Update deprecated field
name_template
toversion_template
- 3c6afe6 chore: Change usages of
os.Stdin
to cobra helper func - 1361baf chore: Clean up generation of source comments
- 98ddad0 chore: Cleanup rename fallback logic
- c98d08c chore: Continue processing files if one returns an error
- 0d9eef1 chore: Don't log errors if a single file param is passed
- 1d2a624 chore: Ensure temp file is always closed
- a01896e chore: Include file paths and error text in copy fallback logic
- 73f03c9 chore: Migrate logger from zerolog to slog
- 3960864 chore: Print document separators between errors
- 8a7fdef chore: Simplify installation of completions and man pages
- 5f76006 chore: Split up run func
- 40e3de9 chore:
os.RemoveAll()
->os.Remove()
v0.7.0
Changelog
Features
- 02964f4 feat(config): Add
--no-source-comment
flag - 464d25a feat: Include source path comment if not updating files in-place
Fixes
- 650f9a1 fix: Decrease the number of times a document separator is printed
- 79235dc fix: Include source path comment if multiple args are given
- 5264cb6 perf(cmd): Preallocate template buffer if possible
Others
- 628b76e chore(cmd): Return an empty string on error
- 64b07bc chore(config): Add deprecation Godocs
- ec9b299 chore(config): Group deprecated flags
- fe5ef36 chore(flag): Tweak
--var
error message - 87644c4 chore: Remove flag completions for deprecated flags
- b7d3f78 chore: Simplify code since
filepath.WalkDir()
can work on files too
v0.6.1
v0.6.0
Changelog
Features
- 17e8f88 feat: Add custom
stringToString
parser - eb5ebfb feat: Add non-must template funcs with
may
prefix - ec084b3 feat: Improve template error formatting
- d00ae33 feat: Split
--fail
flag into--ignore-unset-errors
and--ignore-template-errors
Fixes
- 9b610f7 fix(config): Fix fallback log format value
- 3c0bb1e fix(config): Handle newlines in
YAMPL_VALUE
env - 097d34f fix(config): Ignore
YAMPL_COMPLETION
env - 4a4de11 fix(deps): update module github.com/fatih/color to v1.17.0 (#55)
- 7b88bd9 fix: Fix hang when no data is piped to stdin
- 37a239d fix: Fix pipe output not being colorized
- a71a143 fix: Fix used values still showing in shell completion
- 2f95420 perf: Slight
toYaml
optimization
Others
- 3e8f67b chore(cmd):
NewCommand()
->New()
- 812db1d chore(colorize): Clean up syntax
- 04e59b8 chore(config)!: Change default log format to
auto
- 2607473 chore(config): Add additional config tests
- 1b0394b chore(config): Add consts for some config values
- 9eeecf2 chore(config): Clean up
auto
format creation logic - 2c2b4ef chore(config): Fix part of log not respecting auto color
- 1c05d46 chore(config): Reuse
colorize.ShouldColor
- 791e7a6 chore(deps): update alpine docker tag to v3.20
- 745b165 chore(deps): update docker/dockerfile docker tag to v1.8 (#60)
- f472567 chore(deps): update docker/dockerfile docker tag to v1.9 (#63)
- 94f75cb chore(deps): update go to v1.22.4 (#58)
- c440861 chore(deps): update go to v1.22.5 (#62)
- 3b427d5 chore(deps): update goreleaser/goreleaser-action action to v6
- 8e82283 chore(deps): update module github.com/goccy/go-yaml to v1.12.0 (#64)
- 1485ec8 chore(deps): update module github.com/rs/zerolog to v1.33.0 (#57)
- 70bce4c chore(deps): update module github.com/spf13/cobra to v1.8.1 (#61)
- d5da7f8 chore(docker): Change
yq
toyq-go
after alpine v3.20 upgrade - 8830c46 chore(docker): Change entrypoint to
yampl
- 82096da chore(gitignore): Ignore
.DS_Store
- 8abbf6a chore(goreleaser): Bump version to v2
- 984369a chore(goreleaser): Update licenses
- d00498c chore(template): Change some template functions to return an error
- da38819 chore: Change NodeError fields to private
- fdec937 chore: Deprecate
--recursive
flag. Yampl will recurse if a given path is a directory - 572e008 chore: Improve wording when
-i
flag is used with stdin - fd1c2d9 chore: Remove duplicate
cmd.SilenceUsage
line - fbfa81d chore: Rename some value completion vars
- 0a305e3 chore: Replace
util.Must()
witherrors.Join()
- 105419e chore: Shorten help text
- 685bb8e chore:
interface{}
->any
- 367167f refactor(config): Move flag and completion logic into
config
package
v0.5.0
Changelog
Features
- 347b783 feat: Add colorized output
Others
- 3241ef9 chore(cmd): Change template func param:
cobra.Command
->io.Writer
- edf23d4 chore(cmd): Rename var:
p
->path
- ce4f940 chore(deps): Update indirect dependencies
- a10699e chore(deps): update go to v1.22.3 (#54)
- fd7c957 chore(deps): update golangci/golangci-lint-action action to v5
- 9a9fcda chore(deps): update golangci/golangci-lint-action action to v6
v0.4.1
v0.4.0
Changelog
Features
- 195d802 feat(cmd): Add
--recursive
flag
Fixes
- ad75b26 fix(pre-commit): Always generate usage docs
- 7dd4e2a perf(log): Migrate logging backend to zerolog
Others
- ecd786d chore(cmd): Add missing flag completions
- f2d0b8f chore(cmd): Compute commit hash from build info
- 7a9a3a0 chore(deps): Update transient dependencies
- 6e6d219 chore(deps): update go to v1.22.2 (#47)
- 4af9f87 chore(goreleaser):
brews.folder
->brews.directory
- 9c176d7 ci(build): Add beta container image
- b6fc3ab lint(cmd): Replace
fmt.Print
withio.WriteString
- dc7bdc8 lint(cmd): Use cmd context for config instead of global var
- ab4c4ca lint(comment): Remove global var
v0.3.20
Changelog
Fixes
Others
- 3dfc293 chore(deps): bump golang.org/x/crypto from 0.9.0 to 0.17.0 (#44)
- b067bb6 chore(deps): update actions/setup-go action to v5
- 11f0765 chore(deps): update actions/upload-artifact action to v4
- 170616d chore(deps): update alpine docker tag to v3.19
- db820ce chore(deps): update docker/dockerfile docker tag to v1.7 (#46)
- 6712afe chore(deps): update github/codeql-action action to v3
- 08e8b08 chore(deps): update go to v1.22.1 (#42)
- d5ca091 chore(deps): update golangci/golangci-lint-action action to v4
- 9a3fc49 chore(dockerfile): Pin golang docker tag to v1.21.4
- b7e57c2 ci: Change from PAT to GitHub App