diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bf5858..7655ab1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,14 @@ What changed in WittyModule, newest first. What changed before it had a repository of its own is in the [WittyMediaServer changelog](https://github.com/wittywilla/WittyMediaServer/blob/master/CHANGELOG.md). -## Unreleased +## 0.5.6 -- **WittyModule 0.5.6:** Store and manifest text refuse hidden control and direction characters, and a module's name is checked like the rest. Fuzz tests for the catalogue, manifests, withdrawals and integration files. +- **Safer store text:** names, descriptions and other store and manifest text refuse hidden control and direction characters, and a module's name is checked like the rest. + +## Developer notes for 0.5.6 + +- Fuzz tests for the catalogue, manifests, withdrawals and integration files. +- The unused `keysOf` is gone from `integration.go` (staticcheck U1000). ## 0.5.5 diff --git a/integration.go b/integration.go index bb36cac..a306cb8 100644 --- a/integration.go +++ b/integration.go @@ -586,15 +586,6 @@ func (in *Integration) Validate(m *Manifest) error { return errors.New(strings.Join(lines, "\n")) } -func keysOf(m map[string]bool) []string { - ks := make([]string, 0, len(m)) - for k := range m { - ks = append(ks, k) - } - slices.Sort(ks) - return ks -} - // ParseSize reads "256KB", "4MB". func ParseSize(s string) (int64, error) { m := sizeExpr.FindStringSubmatch(s)