> For AI agents: the complete documentation index is available at https://open-spaced-repetition.github.io/ts-fsrs/zh-CN/llms.txt, the full documentation bundle is available at https://open-spaced-repetition.github.io/ts-fsrs/zh-CN/llms-full.txt.

# Updates

Published package releases, changelogs, and npm downloads.


[ts-fsrs
](/ts-fsrs/zh-CN/updates/)[binding
](/ts-fsrs/zh-CN/updates/binding/)


## [5.2.1](/ts-fsrs/zh-CN/updates/fsrs/5.2.1)

2025-07-14 UTC

[npmx](https://npmx.dev/package/ts-fsrs/v/5.2.1) · [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v5.2.1)

### Historical Release Notes

- Released: 2025-07-14
- Source: [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v5.2.1)
- Fix/Ignore deprecated code for code coverage by @Luc-Mcgrady in [https://github.com/open-spaced-repetition/ts-fsrs/pull/199](https://github.com/open-spaced-repetition/ts-fsrs/pull/199)
- Bump the devdependencies group with 11 updates by @dependabot\[bot] in [https://github.com/open-spaced-repetition/ts-fsrs/pull/198](https://github.com/open-spaced-repetition/ts-fsrs/pull/198)
- Style/migrate to biome.js by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/201](https://github.com/open-spaced-repetition/ts-fsrs/pull/201)
- Bump the devdependencies group with 4 updates by @dependabot\[bot] in [https://github.com/open-spaced-repetition/ts-fsrs/pull/202](https://github.com/open-spaced-repetition/ts-fsrs/pull/202)
- Update README syntax and enhance documentation by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/205](https://github.com/open-spaced-repetition/ts-fsrs/pull/205)
- Fix: Prevent premature graduation for cards in learning state by @tomerbeil in [https://github.com/open-spaced-repetition/ts-fsrs/pull/206](https://github.com/open-spaced-repetition/ts-fsrs/pull/206)
- Fix publish.yml by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/207](https://github.com/open-spaced-repetition/ts-fsrs/pull/207)


## [5.2.0](/ts-fsrs/zh-CN/updates/fsrs/5.2.0)

2025-06-15 UTC

[npmx](https://npmx.dev/package/ts-fsrs/v/5.2.0) · [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v5.2.0)

### Historical Release Notes

- Released: 2025-06-15
- Source: [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v5.2.0)
- Fix/FSRS-6 default parameters by @xiety in [https://github.com/open-spaced-repetition/ts-fsrs/pull/196](https://github.com/open-spaced-repetition/ts-fsrs/pull/196)


## [5.1.0](/ts-fsrs/zh-CN/updates/fsrs/5.1.0)

2025-06-10 UTC

[npmx](https://npmx.dev/package/ts-fsrs/v/5.1.0) · [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v5.1.0)

### Historical Release Notes

- Released: 2025-06-10
- Source: [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v5.1.0)
- Chore/mark fields and methods as depreacted by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/192](https://github.com/open-spaced-repetition/ts-fsrs/pull/192)
- Bump the devdependencies group with 6 updates by @dependabot in [https://github.com/open-spaced-repetition/ts-fsrs/pull/184](https://github.com/open-spaced-repetition/ts-fsrs/pull/184)
- Improved Typing for FSRS Class Methods by @nodbew in [https://github.com/open-spaced-repetition/ts-fsrs/pull/195](https://github.com/open-spaced-repetition/ts-fsrs/pull/195)


## [5.0.1](/ts-fsrs/zh-CN/updates/fsrs/5.0.1)

2025-06-03 UTC

[npmx](https://npmx.dev/package/ts-fsrs/v/5.0.1) · [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v5.0.1)

### Historical Release Notes

- Released: 2025-06-03
- Source: [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v5.0.1)
- Fix/fix path in jsr & update README badge by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/183](https://github.com/open-spaced-repetition/ts-fsrs/pull/183)
- Docs/update badges by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/186](https://github.com/open-spaced-repetition/ts-fsrs/pull/186)
- Test/fix `memory state` unit test by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/187](https://github.com/open-spaced-repetition/ts-fsrs/pull/187)
- Fix/add missing fields to package.json for compatibility by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/191](https://github.com/open-spaced-repetition/ts-fsrs/pull/191)


## [5.0.0](/ts-fsrs/zh-CN/updates/fsrs/5.0.0)

2025-05-12 UTC

[npmx](https://npmx.dev/package/ts-fsrs/v/5.0.0) · [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v5.0.0)

### Historical Release Notes

- Released: 2025-05-12
- Source: [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v5.0.0)
- 1. Upgraded to FSRS-6 algorithm
- 2. New learning\_steps field added to card and revlog
- 3. Added new (re)learning\_steps fields to FSRSParameters
- Feat/FSRS-6 by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/174](https://github.com/open-spaced-repetition/ts-fsrs/pull/174)
- Chore/update release process by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/178](https://github.com/open-spaced-repetition/ts-fsrs/pull/178)
- Bump the devdependencies group across 1 directory with 9 updates by @dependabot in [https://github.com/open-spaced-repetition/ts-fsrs/pull/176](https://github.com/open-spaced-repetition/ts-fsrs/pull/176)
- publish to JSR by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/180](https://github.com/open-spaced-repetition/ts-fsrs/pull/180)
- Feat/(re)learning steps by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/177](https://github.com/open-spaced-repetition/ts-fsrs/pull/177)
- Chore/upgrade typedocs\&ESM by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/170](https://github.com/open-spaced-repetition/ts-fsrs/pull/170)
- Feat/checkParameters by @Luc-Mcgrady in [https://github.com/open-spaced-repetition/ts-fsrs/pull/182](https://github.com/open-spaced-repetition/ts-fsrs/pull/182)
- Docs/Readme by @Luc-Mcgrady in [https://github.com/open-spaced-repetition/ts-fsrs/pull/179](https://github.com/open-spaced-repetition/ts-fsrs/pull/179)
- Export types and release 5.0.0 by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/181](https://github.com/open-spaced-repetition/ts-fsrs/pull/181)


## [4.7.1](/ts-fsrs/zh-CN/updates/fsrs/4.7.1)

2025-04-07 UTC

[npmx](https://npmx.dev/package/ts-fsrs/v/4.7.1) · [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v4.7.1)

### Historical Release Notes

- Released: 2025-04-07
- Source: [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v4.7.1)
- Doc/Improve Examples by @david-allison in [https://github.com/open-spaced-repetition/ts-fsrs/pull/163](https://github.com/open-spaced-repetition/ts-fsrs/pull/163)
- Bump the devdependencies group across 1 directory with 8 updates by @dependabot in [https://github.com/open-spaced-repetition/ts-fsrs/pull/164](https://github.com/open-spaced-repetition/ts-fsrs/pull/164)
- Fix/prevent overwriting default values and parameters by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/165](https://github.com/open-spaced-repetition/ts-fsrs/pull/165)


## [4.7.0](/ts-fsrs/zh-CN/updates/fsrs/4.7.0)

2025-03-15 UTC

[npmx](https://npmx.dev/package/ts-fsrs/v/4.7.0) · [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v4.7.0)

### Historical Release Notes

- Released: 2025-03-15
- Source: [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v4.7.0)
- add nix && update some api by @asukaminato0721 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/149](https://github.com/open-spaced-repetition/ts-fsrs/pull/149)
- Create dependabot.yml by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/153](https://github.com/open-spaced-repetition/ts-fsrs/pull/153)
- Fix/incorrect eslint config by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/152](https://github.com/open-spaced-repetition/ts-fsrs/pull/152)
- Bump the devdependencies group across 1 directory with 13 updates by @dependabot in [https://github.com/open-spaced-repetition/ts-fsrs/pull/157](https://github.com/open-spaced-repetition/ts-fsrs/pull/157)
- Bump the devdependencies group with 6 updates by @dependabot in [https://github.com/open-spaced-repetition/ts-fsrs/pull/158](https://github.com/open-spaced-repetition/ts-fsrs/pull/158)
- Fix/Add Prettier to ci by @Luc-Mcgrady in [https://github.com/open-spaced-repetition/ts-fsrs/pull/160](https://github.com/open-spaced-repetition/ts-fsrs/pull/160)
- Feat/Export the forgetting curve function by @Luc-Mcgrady in [https://github.com/open-spaced-repetition/ts-fsrs/pull/159](https://github.com/open-spaced-repetition/ts-fsrs/pull/159)


## [4.6.1](/ts-fsrs/zh-CN/updates/fsrs/4.6.1)

2025-01-22 UTC

[npmx](https://npmx.dev/package/ts-fsrs/v/4.6.1) · [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v4.6.1)

### Historical Release Notes

- Released: 2025-01-22
- Source: [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v4.6.1)
- Chore/Optimize the build by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/147](https://github.com/open-spaced-repetition/ts-fsrs/pull/147)
- Fix/clamp the `params` and `s` by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/148](https://github.com/open-spaced-repetition/ts-fsrs/pull/148)


## [4.6.0](/ts-fsrs/zh-CN/updates/fsrs/4.6.0)

2025-01-06 UTC

[npmx](https://npmx.dev/package/ts-fsrs/v/4.6.0) · [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v4.6.0)

### Historical Release Notes

- Released: 2025-01-06
- Source: [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v4.6.0)
- Feat/add `next_state` method by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/146](https://github.com/open-spaced-repetition/ts-fsrs/pull/146)


## [4.5.2](/ts-fsrs/zh-CN/updates/fsrs/4.5.2)

2025-01-05 UTC

[npmx](https://npmx.dev/package/ts-fsrs/v/4.5.2) · [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v4.5.2)

### Historical Release Notes

- Released: 2025-01-05
- Source: [GitHub Release](https://github.com/open-spaced-repetition/ts-fsrs/releases/tag/v4.5.2)
- Fix/wrong calc elapsed days by @ishiko732 in [https://github.com/open-spaced-repetition/ts-fsrs/pull/144](https://github.com/open-spaced-repetition/ts-fsrs/pull/144)

[← Newer](https://open-spaced-repetition.github.io/ts-fsrs/zh-CN/updates/index.md) · Page 2 of 6 · [Older →](https://open-spaced-repetition.github.io/ts-fsrs/zh-CN/updates/page/3.md)
