# sindresorhus/ky · RepoSense Release & Migration Intelligence

> Add `maxResponseSize` option 0d59458. Drop-in upgrade. Migration: None.

## Metadata
- **Repository URL**: https://github.com/sindresorhus/ky
- **Primary Package**: `ky` (NPM)
- **Categories**: `ECOSYSTEM`
- **Latest Version**: `v2.2.0`
- **Semantic Status**: `COMPATIBLE`
- **Bundle Size Impact (unavailable)**: `Size Unavailable`
- **Atom Ingestion Feed**: https://github.com/sindresorhus/ky/releases.atom

## The Human Context (Plain-English Pitch)
ky is an open-source library and developer tool in the sindresorhus/ky ecosystem. It saves developers from writing repetitive low-level boilerplate from scratch by providing a battle-tested, open-source implementation ready for production.

## Stage 1 Executive Summary ([Core Change] + [Required Action] + [Migration Effort])
Add `maxResponseSize` option 0d59458. Drop-in upgrade. Migration: None.

## Breaking Changes & Required Actions
- Add `maxResponseSize` option 0d59458
- Let `beforeRetry` hooks change options for the next attempts (#885) 242c327
- Respect `Retry-After` and rate-limit headers when `retry.shouldRetry` returns `true` d1c921f
- Run `beforeError` hooks for errors thrown while reading the response body 323b98f 50c3810

## Migration Snippet
```ts
npm install ky@2.2.0
```

## Ecosystem Compatibility Matrix & Graph Warnings
- **TypeScript 5.x** [`COMPATIBLE`]: Ships standard TypeScript declaration files without type regressions.

## Zero-Noise Release Timeline
- **v2.2.0** (2026-10-09) [COMPATIBLE]: Add `maxResponseSize` option 0d59458. Drop-in upgrade. Migration: None.

## Upgrade & Migration Q&A (GEO Direct Answers)
### Is sindresorhus/ky v2.2.0 safe to upgrade in production?
sindresorhus/ky v2.2.0 is classified as COMPATIBLE (MINOR release). Add `maxResponseSize` option 0d59458. Drop-in upgrade. Migration: None.

### What breaking changes or compatibility risks exist in sindresorhus/ky v2.2.0?
No breaking API changes or peer dependency conflicts are recorded for sindresorhus/ky v2.2.0 in the RepoSense compatibility graph.

### What is the bundle size impact of ky v2.2.0?
Measured bundle size telemetry is currently unavailable for ky v2.2.0; verify build output locally before deploying.

### How do I upgrade ky to v2.2.0?
Upgrade ky to v2.2.0 by running "npm install ky@2.2.0" and applying the migration steps: npm install ky@2.2.0
