Skip to content

Releases: danielmiessler/Fabric

v1.4.349

16 Dec 08:19

Choose a tag to compare

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.CutPrefix and strings.CutSuffix
  • Replace manual loops with slices.Contains for validation and use strings.SplitSeq for iterator-based splitting
  • Replace fmt.Sprintf with fmt.Appendf for efficiency and simplify padding calculation with max builtin

v1.4.348

16 Dec 07:41

Choose a tag to compare

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

16 Dec 06:58

Choose a tag to compare

Changes

PR #1875 by ksylvan: modernize: update benchmarks to use b.Loop and refactor map copying

  • Updated benchmark loops to use cleaner b.Loop() syntax
  • Removed unnecessary b.ResetTimer() call in token benchmark
  • Used maps.Copy for merging variables in patterns handler

v1.4.346

16 Dec 06:37

Choose a tag to compare

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{} with any in slice type declarations throughout the codebase
  • Update map types from map[string]interface{} to map[string]any for modern Go standards
  • Change variadic function parameters to use ...any instead of ...interface{}
  • Modernize JSON unmarshaling variables to use any for consistency
  • Update struct fields and method signatures to prefer the any alias over legacy interface syntax

v1.4.345

15 Dec 06:10

Choose a tag to compare

Changes

PR #1870 by ksylvan: Web UI: upgrade pdfjs and add SSR-safe dynamic PDF worker init

  • Upgrade pdfjs-dist to 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

14 Dec 08:21

Choose a tag to compare

Changes

PR #1867 by jaredmontoya: chore: update flake

  • Chore: update flake
  • Merge branch 'main' into update-flake

v1.4.343

14 Dec 08:13

Choose a tag to compare

Changes

PR #1829 by dependabo: chore(deps): bump js-yaml from 4.1.0 to 4.1.1 in /web in the npm_and_yarn group across 1 directory

  • Updated js-yaml dependency from version 4.1.0 to 4.1.1 in the /web directory

v1.4.342

13 Dec 08:18

Choose a tag to compare

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

11 Dec 10:56

Choose a tag to compare

Changes

PR #1860 by ksylvan: fix: allow resetting required settings without validation errors

  • Fix: allow resetting required settings without validation errors
  • Update Ask to detect reset command and bypass validation
  • Refactor OnAnswer to support new isReset parameter logic
  • Invoke ConfigureCustom in Setup to avoid redundant re-validation
  • Add unit tests ensuring required fields can be reset

v1.4.340

08 Dec 00:43

Choose a tag to compare

Changes

PR #1856 by ksylvan: Add support for new ClaudeHaiku 4.5 models

  • Add support for new ClaudeHaiku models in client
  • Add ModelClaudeHaiku4_5 to supported models
  • Add ModelClaudeHaiku4_5_20251001 to supported models