Skip to content

Commit

Permalink
release: v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta authored Jun 1, 2023
2 parents fb8a447 + 19dc3ea commit 3dbac4d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Release
on:
push:
paths: [CHANGELOG.md]
branches: [main]
branches: [main, release]
pull_request:
paths: [CHANGELOG.md]
branches: [main]
branches: [main, release]
jobs:
release:
name: Release
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [0.0.2] - 2023-06-01
### Removed
- Body check for subdomain redirection

## [0.0.1] - 2023-03-27
### Added
- v0 of the Gateway Conformance test suite
8 changes: 0 additions & 8 deletions tests/t0114_gateway_subdomains_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,6 @@ func TestGatewaySubdomains(t *testing.T) {
Header("Location").
Hint("request for example.com/ipfs/{CIDv1} returns Location HTTP header for subdomain redirect in browsers").
Contains("%s://%s.ipfs.%s/", u.Scheme, CIDv1, u.Host),
).
BodyWithHint(`
We return body with HTTP 301 so existing cli scripts that use path-based
gateway do not break (curl doesn't auto-redirect without passing -L; wget
does not span across hostnames by default)
Context: https://github.com/ipfs/go-ipfs/issues/6975
`,
IsEqual("hello\n"),
),
))

Expand Down

0 comments on commit 3dbac4d

Please sign in to comment.