Releases: charlievieth/strcase
v0.0.4 Add bytecase package
v0.0.4
This release adds the bytecase
package, consolidates tests, fixes the
handling of invalid UTF-8 encodings, and fixes CPU feature detection
on AMD64.
With this release the strcase
and bytcase
packages are functionally complete
and sufficiently tested to be considered accurate, if not authoritative.
The only planned changes from here will by to improve the performance of the
strcase
and bytcase
packages and to add functions for ASCII only matching.
commit 40d8345
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Sep 12 00:14:37 2024 -0400
all: add vim modeline to Makefiles
commit e8b7353
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Sep 11 23:26:15 2024 -0400
gh: fixup make targets
commit 38c6b34
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Sep 11 22:41:26 2024 -0400
gh: run exhaustive tests only on the latest version
This commit updates the GH Workflows to only run the exhaustive test
suite on the latest version of Go. Older versions now only run the
faster test suite.
commit b5ec23d
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Sep 11 22:22:45 2024 -0400
scripts/test-benchmarks.bash: format
commit 448bdbf
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Sep 11 22:04:05 2024 -0400
README: add codecov badge
commit 1a92cfb
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Sep 11 21:53:28 2024 -0400
gh: add codecov workflow
commit eb16a13
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Sep 11 21:37:41 2024 -0400
internal/bytealg: fix amd64 cpu feature detection
This changes bytealg to actually use the golang.org/x/sys/cpu package to
detect CPU features, which resolves an issue where POPCNT was not
detected when GOAMD=v1.
commit 0193c0b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu Sep 5 07:28:15 2024 +0000
build(deps): bump golang.org/x/sys from 0.16.0 to 0.25.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.16.0 to 0.25.0.
- [Commits](https://github.com/golang/sys/compare/v0.16.0...v0.25.0)
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
commit 1c9089b
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue Sep 10 22:47:16 2024 -0400
all: document bytcase package
commit c3fc3c2
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue Sep 10 21:20:35 2024 -0400
all: update golangci-lint to v1.61.0
commit 319787f
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue Sep 10 21:19:55 2024 -0400
all: cleanup Makefiles
commit 8de86b8
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue Sep 10 20:43:14 2024 -0400
scripts: add go-vet-harder script
commit b823423
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Mon Sep 9 14:34:35 2024 -0400
scripts/test-benchmarks: test benchmarks in parallel
commit e2f3faf
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Sep 7 19:32:01 2024 -0400
all: fix Index for invalid UTF-8-encoded runes
This fixes Index to handle invalid UTF-8 encodings. Previously, not all
invalid UTF-8 sequences were considered equal - this commit fixes that.
commit 333e48a
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Sep 5 15:21:28 2024 -0400
strcase,bytcase: add bytcase package and consolidate tests
commit be291c0
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Aug 28 15:44:24 2024 -0400
internal/gen/gentables: run 'go build/test' on all packages
This is necessary now that we've moved the tables to their own package
and added the bytcase package.
commit 161bd95
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 20:05:47 2024 -0400
gh: cleanup workflows
commit eb24309
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 19:58:22 2024 -0400
gh: fix test-generate.yml
commit 1cde62c
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 12:33:33 2024 -0400
strcase: fix mispelling in fuzz test
commit 3d15daa
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 12:12:08 2024 -0400
gh: run tests on 386
commit bc22cb4
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 12:01:46 2024 -0400
gh: run tests on macos arm64
Test on arm64 since we have arm64 assembly that needs to be exercised in
tests.
commit fa3952e
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 11:46:16 2024 -0400
gh: fix workflows and run golangci-lint on the gen package
commit d18647c
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 11:23:01 2024 -0400
internal/gen/gentables: check output of filepath.WalkDir
commit 711ba34
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 11:14:16 2024 -0400
gh: run more tests and run them individually
commit 02d0e91
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 11:04:55 2024 -0400
strcase/bytcase: don't fold LATIN SMALL LETTER DOTLESS I
Change code to not fold 'ı' (LATIN SMALL LETTER DOTLESS I). The issue
here is that 'ı' and 'İ' have an upper/lower case, but no folds and we
were incorrectly using the upper case form of 'ı' in comparisons.
TODO: change the generation logic to exclude 'ı' and 'İ' from the
upper/lower case table.
commit c794736
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Aug 21 17:23:39 2024 -0400
gh: test on go1.23
commit 166ae75
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Aug 21 15:12:13 2024 -0400
strcase: test that benchmarks pass in CI
commit c20535d
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Aug 21 14:39:15 2024 -0400
strcase: add more Count benchmarks
commit 7e66f9a
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Aug 21 14:38:45 2024 -0400
strcase: fix BenchmarkLastIndexAnyUTF8
commit c5b0bb4
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Aug 21 14:37:56 2024 -0400
strcase: fix BenchmarkIndexRuneTorture_Bytes
commit cafbcd8
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Aug 21 00:43:05 2024 -0400
all: cleanup common.mk
commit 9064b75
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Aug 21 00:42:40 2024 -0400
bytcase: cleanup Rabin-Karp and test UnicodeVersion
commit 2b82978
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed Aug 21 00:41:56 2024 -0400
internal/test: don't export CountTests
commit feef8b8
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue Aug 20 23:57:31 2024 -0400
strcase/bytcase: consolidate tests
commit 07bfdcd
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue Aug 20 23:40:16 2024 -0400
strcase/bytcase: iniitial implementation of bytcase package
TODO: unify tests and add benchmarks
commit cd166f6
Merge: 315f6c3 2340040
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 09:36:53 2024 -0400
Merge pull request #9 from charlievieth/dependabot/github_actions/actions/checkout-4
build(deps): bump actions/checkout from 3 to 4
commit 315f6c3
Merge: 16d54c8 4c3bcc3
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 09:36:41 2024 -0400
Merge pull request #10 from charlievieth/dependabot/github_actions/github/codeql-action-3
build(deps): bump github/codeql-action from 2 to 3
commit 16d54c8
Merge: fe6357f 90fd147
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 09:36:31 2024 -0400
Merge pull request #11 from charlievieth/dependabot/github_actions/actions/setup-go-5
build(deps): bump actions/setup-go from 4 to 5
commit fe6357f
Merge: 0970b2a 40a93fd
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu Aug 22 09:36:01 2024 -0400
Merge pull request #12 from charlievieth/dependabot/github_actions/golangci/golangci-lint-action-6
build(deps): bump golangci/golangci-lint-action from 3 to 6
commit 40a93fd
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: ...
Improve the performance of IndexByte and other perf improvements
v0.0.3
Improve the performance of IndexByte and other small performance improvements. Additionally, update the README and code comments.
v0.0.2
v0.0.2
Improved code generation logic and testing.
Initial release
v0.0.1 Makefile: cleanup test targets and comment