diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c0e8860..9e9067a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## v1.4.346 (2025-12-16) + +### PR [#1874](https://github.com/danielmiessler/Fabric/pull/1874) by [ksylvan](https://github.com/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 (2025-12-15) ### PR [#1870](https://github.com/danielmiessler/Fabric/pull/1870) by [ksylvan](https://github.com/ksylvan): Web UI: upgrade pdfjs and add SSR-safe dynamic PDF worker init diff --git a/cmd/fabric/version.go b/cmd/fabric/version.go index eb0c7cff..dd5749e7 100644 --- a/cmd/fabric/version.go +++ b/cmd/fabric/version.go @@ -1,3 +1,3 @@ package main -var version = "v1.4.345" +var version = "v1.4.346" diff --git a/cmd/generate_changelog/changelog.db b/cmd/generate_changelog/changelog.db index b36d0b16..2343148f 100644 Binary files a/cmd/generate_changelog/changelog.db and b/cmd/generate_changelog/changelog.db differ diff --git a/cmd/generate_changelog/incoming/1874.txt b/cmd/generate_changelog/incoming/1874.txt deleted file mode 100644 index ae25f895..00000000 --- a/cmd/generate_changelog/incoming/1874.txt +++ /dev/null @@ -1,8 +0,0 @@ -### PR [#1874](https://github.com/danielmiessler/Fabric/pull/1874) by [ksylvan](https://github.com/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 diff --git a/nix/pkgs/fabric/version.nix b/nix/pkgs/fabric/version.nix index 85538c5d..d5d94bff 100644 --- a/nix/pkgs/fabric/version.nix +++ b/nix/pkgs/fabric/version.nix @@ -1 +1 @@ -"1.4.345" +"1.4.346"