Back to Explore

fastify/accept-negotiator

GitHub
1 updates · last 90 days1 watchersOpen source

Last release:

@fastify/accept-negotiator negotiates HTTP accept-* headers, choosing the best matching value from a list of supported values. It provides a function (negotiate) and a class (Negotiator) with optional caching for faster repeated negotiations.

Project status

  • The repository appears actively maintained, with a recent update tagged v2.1.0 on 2026-08-08, which is close to today (2026-08-12).
  • The update cadence is irregular, with v2.1.0 on 2026-08-08, then the prior update v2.0.1 on 2025-01-02 (roughly 1.5 years earlier), and v2.0.0 on 2024-09-03 (another several months before that).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.1.0

    v2.1.0 primarily updates development tooling and CI configuration, alongside a types-related refactor. It migrates TypeScript type tests from tsd to tstyche and adds an exported NegotiatorOptions type for consumers, while also changing various GitHub automation settings.

    Features
  • v2.0.1

    v2.0.1 is primarily a tooling and workflow release. It migrates the test setup from tap to node:test and c8, and switches formatting/lint tooling from standard to neostandard (with eslint). Public API types and README usage text receive only minor formatting/wording updates.

  • v2.0.0

    Release v2.0.0 primarily updates development tooling and CI configuration (tsd, standard, tap, and fastify/workflows), plus adds repo hygiene files like .gitattributes and several .gitignore entries. The library runtime code does not appear to have changed in the provided diff, but there are metadata and CI behavior changes that may affect contributors and consumers.

  • v1.1.0

    v1.1.0 is primarily a tooling and metadata update: CI workflow is enhanced with license checking and linting, and the test suite is migrated to tap. It also updates development tooling (tsd version bumps) and refreshes README/packaging links.

  • v1.0.0

    v1.0.0 is the initial release of fastify/accept-negotiator. It introduces the core implementation from the first PR, enabling developers to use Accept header negotiation within Fastify.

    Features