Commit Graph

326 Commits

Author SHA1 Message Date
Rod Vagg
5cddba5d53 v0.5.0 bump (#172) v0.5.0 2025-01-22 13:02:05 +11:00
dependabot[bot]
c38d1ef3f4 chore(deps): bump golang.org/x/crypto from 0.17.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.17.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.17.0...v0.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 16:18:17 +11:00
Michael Muré
7f61b44eb9 move _rsrch/cidiface into an internal package
_rsrch/cidiface is an engineering experiment package to explore the right form for a CID. As such, it's not meant to be actually used, and could result in conflict if used.

To avoid accidentally importing it (or even getting suggestions to do so), this package is moved into an "internal" folder, hinting tooling that it's not meant for external consumption.
2024-09-27 09:13:31 +10:00
web3-bot
13ed68d2d7 chore!: bump go.mod to Go 1.22 and run go fix (#167) 2024-08-26 11:01:52 +10:00
web3-bot
b655a59a8a Merge pull request #166 from ipfs/uci/copy-templates
ci: uci/copy-templates
2024-03-22 12:54:37 +00:00
web3-bot
81bd42a55c chore: add or force update .github/workflows/tagpush.yml 2024-03-21 15:36:17 +00:00
web3-bot
23af06e490 chore: add or force update .github/workflows/release-check.yml 2024-03-21 15:36:17 +00:00
web3-bot
52653019a7 chore: add or force update .github/workflows/releaser.yml 2024-03-21 15:36:17 +00:00
web3-bot
11e146d86d chore: add or force update .github/workflows/go-check.yml 2024-03-21 15:36:17 +00:00
web3-bot
91f1b23adf chore: add or force update .github/workflows/go-test.yml 2024-03-21 15:36:17 +00:00
web3-bot
607591de0b chore: add or force update .github/workflows/tagpush.yml 2024-03-21 14:55:31 +00:00
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