# p-retry v6.2.0 - Product: p-retry (https://whatsnew.fyi/product/p-retry) - Vendor: Sindre Sorhus - Date: 2023-12-20 - Version: v6.2.0 - Original notes: https://github.com/sindresorhus/p-retry/releases/tag/v6.2.0 - Permalink: https://whatsnew.fyi/product/p-retry/releases/v6.2.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Add shouldRetry option to control whether to retry on specific errors - Add [`shouldRetry`](https://github.com/sindresorhus/p-retry#shouldretryerror) option (#75) b993a96 https://github.com/sindresorhus/p-retry/compare/v6.1.0...v6.2.0