jimehbot[bot]
c98b79b4c5
chore(main): release 0.5.0 ( #12 )
...
Co-authored-by: jimehbot[bot] <132453784+jimehbot[bot]@users.noreply.github.com>
v0.5.0
2025-03-11 00:06:02 +00:00
b28e506295
docs(readme): fix typo Shuffle code example
2025-03-10 23:52:37 +00:00
a141938394
feat(shuffle)!: add Shuffle and ShuffleSlice functions ( #11 )
...
Add equivalent to `Shuffle` function from `math/rand` and `math/rand/v2`
packages, but based on randomness from `crypto/rand` package. This
allows cryptographically secure shuffling of data.
Also add `ShuffleSlice` function that shuffles a slice of any type.
BREAKING CHANGE: Minimum required Go version is now 1.18 due the `ShuffleSlice` using generics.
2025-03-10 23:50:25 +00:00
jimehbot[bot]
312e856234
chore(main): release 0.4.0 ( #6 )
...
Co-authored-by: jimehbot[bot] <132453784+jimehbot[bot]@users.noreply.github.com>
v0.4.0
2025-03-07 01:35:31 +00:00
f4dccc6e46
test(uuid): fix flakiness on slower machines
2025-03-07 01:16:39 +00:00
ec94efe49e
ci(deps): upgrade release-action action
2025-03-07 01:15:50 +00:00
fe4308607c
feat(strings/uuidv7): add UUIDv7 generation ( #10 )
...
The UUID v7 format is a time-ordered random UUID. It uses a timestamp
with millisecond precision in the most significant bits, followed by
random data. This provides both uniqueness and chronological ordering,
making it ideal for database primary keys and situations where sorting
by creation time is desired.
References:
- https://uuid7.com/
- https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html#name-uuid-version-7
2025-02-28 02:16:32 +00:00
e87d9c4726
docs(readme): fix badges ( #9 )
2025-02-28 01:31:43 +00:00
127ebbaa03
ci(benchmarks): set correct permissions for benchmarks job ( #8 )
2025-02-28 01:24:52 +00:00
dependabot[bot]
41227bd53d
chore(deps): bump gopkg.in/yaml.v3 ( #7 )
...
Bumps gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0.
---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-28 00:52:00 +00:00
16bd3ea3b9
feat(deps)!: upgrade to Go 1.17 and golanci-lint 1.64 ( #5 )
...
Upgrade to Go 1.17 and golangci-lint to 1.64, and fix the linting issues
that were found.
Also upgrade CI workflow actions to latest versions, and setup a test
matrix for relevant Go versions.
BREAKING CHANGE: Minimum Go version changed from 1.15 to 1.17.
2025-02-28 00:42:28 +00:00
8da5e1ef80
ci(release): setup release-please for managing releases and changelog ( #4 )
2025-02-28 00:24:59 +00:00
1b0bb32a3e
docs(readme): fix links to randsmust package
2021-12-17 12:51:54 +00:00
660fc4d179
chore(release): 0.3.0
v0.3.0
2021-12-17 11:21:25 +00:00
4642a149bb
Merge pull request #3 from jimeh/add-must-subpackage
2021-12-17 11:17:26 +00:00
22fe517baa
feat(randsmust): add randsmust package
...
randsmust is specifically intended as an alternative to rands for use in
tests. All functions return a single value, and panic in the event of an
error. This makes them easy to use when building structs in test cases
that need random data.
Internally the package simply calls the equivalent function from the
rands package, and panics if a error is returned.
2021-12-17 11:03:32 +00:00
74dd8fb7e9
docs(examples): add error handling to examples
2021-12-17 01:48:41 +00:00
a86282e34d
chore(makefile): various minor updates and tweaks
2021-12-17 00:17:40 +00:00
0a42d1e112
chore(deps): update golangci-lint to 1.43
2021-12-17 00:10:50 +00:00
b59d421322
chore(test): enable parallel test execution
...
Seems to cut overall total test time down to one third the time.
2021-12-16 20:16:03 +00:00
164ccc497a
feat(error): export error variables
2021-12-16 20:15:17 +00:00
83bad54113
chore(release): 0.2.0
v0.2.0
2021-03-16 02:27:39 +00:00
09883ed0d2
docs(readme): add UUID() example to readme
2021-03-16 02:25:50 +00:00
d7f439e1d9
Merge pull request #2 from jimeh/add-uuid
...
feat(strings): add UUID function to generate random RFC 4122 UUID v4 strings
2021-03-16 02:23:18 +00:00
825a3c18fb
feat(strings): add UUID function to generate random RFC 4122 UUID v4 strings
2021-03-16 02:14:56 +00:00
a755fe957a
fix(strings): add missing benchmark for DNSLabel
2021-03-16 02:13:20 +00:00
ef9cb3a01d
chore(docs): remove redundant RFC URLs
...
pkg.go.dev parses "RFC 1035, section 2.3.1" style text and links it to
the relevant place. So there's no need to also include a full URL for
documentation purposes.
2021-03-16 02:10:59 +00:00
6a03122985
chore(release): 0.1.1
v0.1.1
2021-01-20 08:55:26 +00:00
53f7741451
ci(bench): fix missing benchmarks from stored reports/graphs
2021-01-20 08:54:43 +00:00
16e33f432c
docs(godoc): improve formatting of DNSLabel docs
2021-01-20 08:54:18 +00:00
48449585e8
chore(release): 0.1.0
v0.1.0
2021-01-20 03:20:37 +00:00
f13952d55e
docs(readme): fix formatting issue
2021-01-20 03:14:20 +00:00
7379265233
Merge pull request #1 from jimeh/initial-implementation
...
feat(rands): initial implementation
2021-01-20 03:09:37 +00:00
417d0b007c
ci(github): add GitHub Actions CI workflow
2021-01-20 02:58:16 +00:00
597fe535d3
feat(rands): initial implementation
2021-01-20 02:58:03 +00:00
3ddcfd415c
chore: initial commit
2021-01-20 02:55:16 +00:00