Releases: danielmiessler/Fabric
Releases · danielmiessler/Fabric
v1.4.349
Changes
PR #1877 by ksylvan: modernize: update GitHub Actions and modernize Go code
- Modernize GitHub Actions and Go code with latest stdlib features
- Upgrade GitHub Actions to latest versions (v6, v21) and add modernization check step
- Replace strings manipulation with
strings.CutPrefixandstrings.CutSuffix - Replace manual loops with
slices.Containsfor validation and usestrings.SplitSeqfor iterator-based splitting - Replace
fmt.Sprintfwithfmt.Appendffor efficiency and simplify padding calculation withmaxbuiltin
v1.4.348
Changes
PR #1876 by ksylvan: modernize Go code with TypeFor and range loops
- Replace reflect.TypeOf with TypeFor generic syntax for improved type handling
- Convert traditional for loops to range-based iterations for better code readability
- Simplify reflection usage in CLI flag handling to reduce complexity
- Update test loops to use range over integers for cleaner test code
- Refactor string processing loops in template plugin to use modern Go patterns
v1.4.347
v1.4.346
Changes
PR #1874 by ksylvan: refactor: replace interface{} with any across codebase
- Part 1 of dealing with #1873 as pointed out by @philoserf
- Replace
interface{}withanyin slice type declarations throughout the codebase - Update map types from
map[string]interface{}tomap[string]anyfor modern Go standards - Change variadic function parameters to use
...anyinstead of...interface{} - Modernize JSON unmarshaling variables to use
anyfor consistency - Update struct fields and method signatures to prefer the
anyalias over legacy interface syntax
v1.4.345
Changes
PR #1870 by ksylvan: Web UI: upgrade pdfjs and add SSR-safe dynamic PDF worker init
- Upgrade
pdfjs-distto v5 with new engine requirement - Dynamically import PDF.js to avoid SSR import-time crashes
- Configure PDF worker via CDN using runtime PDF.js version
- Update PDF conversion pipeline to use lazy initialization
- Guard chat message localStorage persistence behind browser checks
v1.4.344
Changes
PR #1867 by jaredmontoya: chore: update flake
- Chore: update flake
- Merge branch 'main' into update-flake
v1.4.343
v1.4.342
Changes
PR #1866 by ksylvan: fix: write CLI and streaming errors to stderr
- Fix: write CLI and streaming errors to stderr
- Route CLI execution errors to standard error output
- Print Anthropic stream errors to stderr consistently
- Add os import to support stderr error writes
- Preserve help-output suppression and exit behavior
v1.4.341
Changes
PR #1860 by ksylvan: fix: allow resetting required settings without validation errors
- Fix: allow resetting required settings without validation errors
- Update
Askto detect reset command and bypass validation - Refactor
OnAnswerto support newisResetparameter logic - Invoke
ConfigureCustominSetupto avoid redundant re-validation - Add unit tests ensuring required fields can be reset