Commit Graph

315 Commits

Author SHA1 Message Date
web3-bot
93d2928381 chore: add or force update .github/workflows/release-check.yml 2024-03-21 14:55:31 +00:00
web3-bot
1f9bd88a8e chore: add or force update .github/workflows/releaser.yml 2024-03-21 14:55:31 +00:00
web3-bot
f6805b41a0 chore: add or force update .github/workflows/go-check.yml 2024-03-21 14:55:31 +00:00
web3-bot
01aca4cad3 chore: add or force update .github/workflows/go-test.yml 2024-03-21 14:55:31 +00:00
web3-bot
9b08623b01 chore: add or force update .github/workflows/tagpush.yml 2024-03-21 14:13:35 +00:00
web3-bot
1399b513f9 chore: add or force update .github/workflows/release-check.yml 2024-03-21 14:13:35 +00:00
web3-bot
00c494db15 chore: add or force update .github/workflows/releaser.yml 2024-03-21 14:13:35 +00:00
web3-bot
d1e16392a7 chore: add or force update .github/workflows/go-check.yml 2024-03-21 14:13:35 +00:00
web3-bot
af4cf3c53a chore: add or force update .github/workflows/go-test.yml 2024-03-21 14:13:35 +00:00
web3-bot
01fcc60a8c Merge pull request #165 from ipfs/uci/update-go
ci: uci/update-go
2024-03-14 11:40:58 +00:00
web3-bot
663c9b30cf chore: run go mod tidy 2024-03-13 14:58:09 +00:00
web3-bot
4a2ad46e4c chore: bump go.mod to Go 1.21 and run go fix 2024-03-13 14:58:09 +00:00
GitHub
a126b93d54 chore: Update .github/workflows/stale.yml [skip ci] 2024-01-31 17:37:03 +00:00
dependabot[bot]
7db2df1954 chore(deps): bump golang.org/x/crypto from 0.1.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.1.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.1.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 10:46:28 +11:00
web3-bot
d900d766af chore: bump go.mod to Go 1.20 and run go fix (#163) 2023-08-14 15:37:26 +02:00
web3-bot
aea9f4a20c chore: add or force update .github/workflows/tagpush.yml 2023-08-14 12:00:07 +10:00
web3-bot
6bf5ab9148 chore: add or force update .github/workflows/release-check.yml 2023-08-14 12:00:07 +10:00
web3-bot
ef021a6454 chore: add or force update .github/workflows/releaser.yml 2023-08-14 12:00:07 +10:00
web3-bot
13f45bfa17 chore: add or force update .github/workflows/go-check.yml 2023-08-14 12:00:07 +10:00
web3-bot
4828462368 chore: add or force update .github/workflows/go-test.yml 2023-08-14 12:00:07 +10:00
web3-bot
e12272217c chore: delete templates [skip ci] (#161) 2023-08-13 18:52:13 +02:00
GitHub
3863e676fd chore: Update .github/workflows/stale.yml [skip ci] 2023-06-28 08:49:10 +00:00
GitHub
9a3cbeb6a0 chore: Update .github/workflows/stale.yml [skip ci] 2023-06-14 11:15:02 +00:00
dependabot[bot]
f834302da4 chore(deps): bump github.com/multiformats/go-multihash
Bumps [github.com/multiformats/go-multihash](https://github.com/multiformats/go-multihash) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/multiformats/go-multihash/releases)
- [Commits](https://github.com/multiformats/go-multihash/compare/v0.2.2...v0.2.3)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-multihash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 14:45:14 +10:00
dependabot[bot]
6b3d27fb29 chore(deps): bump github.com/multiformats/go-multihash
Bumps [github.com/multiformats/go-multihash](https://github.com/multiformats/go-multihash) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/multiformats/go-multihash/releases)
- [Commits](https://github.com/multiformats/go-multihash/compare/v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-multihash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 11:04:36 +10:00
dependabot[bot]
829c826f6b chore(deps): bump github.com/multiformats/go-varint from 0.0.6 to 0.0.7
Bumps [github.com/multiformats/go-varint](https://github.com/multiformats/go-varint) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/multiformats/go-varint/releases)
- [Commits](https://github.com/multiformats/go-varint/compare/v0.0.6...v0.0.7)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-varint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 13:13:25 +10:00
dependabot[bot]
8bb6c55e54 chore(deps): bump github.com/multiformats/go-multihash
Bumps [github.com/multiformats/go-multihash](https://github.com/multiformats/go-multihash) from 0.0.15 to 0.2.1.
- [Release notes](https://github.com/multiformats/go-multihash/releases)
- [Commits](https://github.com/multiformats/go-multihash/compare/v0.0.15...v0.2.1)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-multihash
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 12:53:59 +10:00
dependabot[bot]
72c7f21dcd chore(deps): bump github.com/multiformats/go-multibase
Bumps [github.com/multiformats/go-multibase](https://github.com/multiformats/go-multibase) from 0.0.3 to 0.2.0.
- [Release notes](https://github.com/multiformats/go-multibase/releases)
- [Commits](https://github.com/multiformats/go-multibase/compare/v0.0.3...v0.2.0)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-multibase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 12:50:34 +10:00
dependabot-preview[bot]
93a8da769f Upgrade to GitHub-native Dependabot 2023-04-04 14:13:57 +10:00
Rod Vagg
d46e7f2866 v0.4.1 v0.4.1 2023-04-04 14:08:15 +10:00
gammazero
83a0e939a4 Add unit test for unexpected eof 2023-04-04 14:08:15 +10:00
Andrew Gillis
0981f8566c Update cid.go
Co-authored-by: Rod Vagg <rod@vagg.org>
2023-04-04 14:08:15 +10:00
gammazero
166a3a6880 CidFromReader should not wrap valid EOF return.
When reading from an io.Reader that has no data, the io.EOF error should not be wrapped in ErrInvalidCid. This is not an invalid CID, and is not the same as a partial read which is indicated by io.ErrUnexpectedEOF.

This fix is needed because existing code that uses CidFromReader may check for the end of an input stream by `if err == io.EOF` instead of the preferred `if errors.Is(err, io.EOF)`, and that code break at runtime after upgrading to go-cid v0.4.0.
2023-04-04 14:08:15 +10:00
Henrique Dias
8098d66787 chore: version 0.4.0 v0.4.0 2023-03-20 09:29:34 +01:00
Henrique Dias
b98e249130 feat: wrap parsing errors into ErrInvalidCid 2023-03-20 09:29:34 +01:00
dependabot[bot]
85c423677c build(deps): bump golang.org/x/crypto
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210506145944-38f3c27a63bf to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 17:42:17 +11:00
dependabot[bot]
197da0b712 build(deps): bump golang.org/x/sys
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210309074719-68d13333faf2 to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 16:12:56 +11:00
Rod Vagg
06fe289a6a fix: use crypto/rand.Read 2023-02-09 15:30:24 +11:00
web3-bot
a1630a3bd9 update .github/workflows/release-check.yml 2023-02-09 15:30:24 +11:00
web3-bot
225f5db116 update .github/workflows/go-check.yml 2023-02-09 15:30:24 +11:00
web3-bot
c2c040dac7 update .github/workflows/go-test.yml 2023-02-09 15:30:24 +11:00
web3-bot
b729e38c6e bump go.mod to Go 1.19 and run go fix 2023-02-09 15:30:24 +11:00
Nikhilesh Susarla
823c6b8a59 Fix README.md example error (#146) 2022-10-19 17:17:54 +11:00
Jorropo
350d6afb62 chore: release v0.3.2 v0.3.2 2022-09-04 16:00:09 +02:00
Jorropo
68090a8273 Revert "fix: bring back, but deprecate CodecToStr and Codecs"
This reverts commit 548365f3a7.
2022-09-04 16:00:09 +02:00
Jorropo
69784e9dd7 chore: release v0.2.1 v0.3.1 2022-09-04 13:03:33 +02:00
Rod Vagg
548365f3a7 fix: bring back, but deprecate CodecToStr and Codecs
use go-multicodec as the source of truth
2022-09-04 13:03:33 +02:00
web3-bot
5da28005a9 update .github/workflows/go-check.yml 2022-08-25 15:55:13 +10:00
web3-bot
7f6771bc54 update .github/workflows/go-test.yml 2022-08-25 15:55:13 +10:00
web3-bot
5b6a9dce73 run gofmt -s 2022-08-25 15:55:13 +10:00