All notable changes to Baker will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add the
Slicefilter #175
- Remove
NumProcessedLinesmetric from FilterStats #173 - Add the Crypt filter #177
- Bump vmware-go-kcl and gozstd #181
- Do not call Output.Stats() twice in
StatsDumper#173 - Call cloneConfig instead of resuing pointer in Desc configurations #174
- Accepts
FileWriterconfiguration with{{.Field0}}even with more than 1 field #181
v0.1.0-alpha - 2021-03-19
- upload: add S3 uploader component #15
- filter: add ClearFields filter #19
- output: add Stats output #23
- filter: add SetStringFromURL filter #28
- output: add FileWriter output in replacement of Files output #31
- upload: s3: add
ExitOnErrorconfiguration #27 - uploads now return an error instead of panicking and baker deals with it #27
- general: replace
${KEY}in the TOML conf with the$KEYenv var #24 - input: add KCL input. #36
- filter: add RegexMatch filter. #37
- filter: add NotNull filter #43
- filter: add Concatenate filter #28
- Required configuration fields are now handled by Baker rather than by each component. #41
- filter: add TimestampRange filter #46
- filter: add ReplaceFields filter #49
- filter: add Timestamp filter #54
- Add Record.Copy method #53
- Add pkg/splitwriter and pkg/buffercache reusable components #55
- output: add SQLite output #56
- README: document KCL input #59
- Document how to specialize baker.LogLine #63
- Add
baker.MainCLI#73 - Implement markdown rendering of component help/configuration #80
- Add
[fields]section in TOML in which use can define field indexes <-> names mapping #84 - Add StringMatch filter which discards/keeps records based on the result of string comparisons #102
- Add PartialClone filter #107
- Add
[validation]section in TOML in which users can define record validation through regex #122 - Add ExpandJSON filter #128
- Add Hash filter with the support of md5 and sha256 algorithms #130
- Add MetadataLastModified filter #133
- Add Dedup filter #143
- Add MetadataUrl filter #147
- Add FormatTime filter #151
- Add ExpandList filter #155
- Do not force GOGC=800, let inputs decide and user have final word #13
- Move aws-specific utilities into a new
awsutilspackage #14 - Outputs'
Run()returns an error #21 - Fix 2 panics: ValidateRecord and errUnsuportedURLScheme #29
- Remove datadog-specific code from [general] section. Instead add [metrics] which can be extended with baker.MetricsClient interfaces. #34
- Remove duration parameter from baker.Main #62
- TimestampRange filter accepts 'now' as range #106
- Standardize the components' structs names #105
- Breaking Change func FieldName to FieldNames (slice) as it allows to know the number of defined fields #110
- ExpandList filter just forwards if the source field is empty #171
- output: remove the Files output in favor of the more generic FileWriter #31
- Fix a bug in
logline.Copy#64 - Fix building on windows #115
- Fix
list_testwith file URI to be compatible with windows paths #117 - Fix
Listinput, someio.Reader's were left opened #118 - Fix some bugs in
s3.s3UploadFile#120 SplitWriterleaves some file descriptors open #119 and #121PrintHelper()now supports map type as configuration parameter of a Baker component #138Listinput did not consider drive letter on Windows paths #139- Do not insert newline after dots in generated help markdown #140
- Fix data race in statsDumper #154
- SetStringFromURL filter panics if MetadataURL was not set. #156
- MetadataLastModified filter wrongly counts the number of processed records #157
Listinput did not correctly manage HTTP status codes #163