Skip to content

Latest commit

 

History

History
122 lines (102 loc) · 5.84 KB

CHANGELOG.md

File metadata and controls

122 lines (102 loc) · 5.84 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.6.2] - 2024-08-09

Changed

  • Relaxed negative test of TAR response #221

[0.6.1] - 2024-07-29

Changed

  • Support meaningful Cache-Control on generated UnixFS directory listing responses on /ipfs namespace

[0.6.0] - 2024-06-10

Changed

  • Gateway URL
    • --gateway-url is no longer defaulting to predefined URL. User has to provide it via CLI or GATEWAY_URL environment variable or the test suite will refuse to start.
    • This aims to ensure no confusion about which gateway endpoint is being tested.
    • Docs and examples use --gateway-url http://127.0.0.1:8080 to ensure no confusion with localhost:8080 subdomain gateway feature in IPFS implementations like Kubo.
  • Subdomain URL and UX related to subdomain tests
    • The --subdomain-url is no longer set by default.
    • User has to provide the origin of the subdomain gateway via CLI or SUBDOMAIN_GATEWAY_URL to be used during subdomain tests. This aims to ensure no confusion about which domain name is being tested.
    • Simplified the way --subdomain-url works. We no longer run implicit tests against http://localhost in addition to the URL passed via --subdomain-url. To test more than one domain, run test multiple times.
    • localhost subdomain gateway tests are no longer implicit. To run tests against localhost use --subdomain-url http://localhost:8080
  • DNSLink test fixtures changed
    • DNSLink fixtures no longer depend on --subdomain-url and use unrelated *.example.org domains instead.
    • gateway-conformance extract-fixtures creates dnslinks.IPFS_NS_MAP with content that can be directly set as IPNS_NS_MAP environment variable supported by various implementations, incl. Kubo and Rainbow.
  • Docker: image can now be run under non-root user
  • HTTP Proxy tests are no longer implicit. An explicit spec named proxy-gateway exists now, and can be disabled via --specs -proxy-gateway.

[0.5.2] - 2024-05-20

Changed

  • Fixed: relaxed dag-cbor error check (#205)
  • Fixed: Header().Has works properly for checking multiple values (#207)

[0.5.1] - 2024-04-11

  • Removed byte range text for DAG-CBOR objects converted to text/html. PR

[0.5.0] - 2024-01-25

Changed

  • Fixed tests of CAR requests with entity-bytes and negative indexing. PR (BREAKING CHANGE)
  • Fixed IPNS provisioning with Kubo. PR

[0.4.2] - 2023-11-20

Changed

  • Fixed versioning in Docker containers. PR

[0.4.1] - 2023-10-11

Changed

  • Loosened the Cache-Control and Last-Modified checks for IPNS paths, as they are now allowed. PR

[0.4.0] - 2023-10-02

Added

  • Added tests for HTTP Range requests, as well as some basic helpers for AnyOf and AllOf. PR

[0.3.1] - 2023-09-15

Added

  • Specs Dashboard Output. PR
  • --version flag shows the current version
  • Metadata logging used to associate tests with custom data like versions, specs identifiers, etc.
  • Output Github's workflow URL with metadata. PR
  • Basic Dashboard Output with content generation. PR
  • Test Group Metadata on Tests. PR
  • Specs Metadata on Tests. PR

Changed

  • Escape test names to avoid confusion when processing test hierarchies. PR

[0.3.0] - 2023-07-31

Added

  • --verbose flag displays all the output to the console
  • Expect.Headers.ChecksAll: an expectation to test all the header values (0, 1, or more)

Changed

  • finalized port of Kubo's sharness tests. PR
  • extract-fixtures --merged generates a car version 1 with a single root now
  • refactored multi-range requests. PR

[0.2.0] - 2023-06-26

Added

  • carFixture.MustGetChildren
  • Gateway backend timeout test for entity-bytes from IPIP-402. Issue.

Changed

  • Renamed methods using Children into Descendants when relevant
  • CAR tests no longer check for the roots. See discussion in IPIP-402.

[0.1.0] - 2023-06-08

Added

  • Fmt a string interpolation that replaces golang's and works better with HTML entities, and HTTP headers and URLs.
  • Support for calling multiple requests in a single test case and comparing their payloads.

Changed

  • Path(url) does not add a leading / to the URL anymore.
  • Do not follow redirects by default anymore, remove DoNotFollowRedirect and add FollowRedirect.
  • Body check is running in its own test. #67

[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