Skip to content

v0.2.0

Choose a tag to compare

@chrislongros chrislongros released this 01 Feb 15:54
· 23 commits to master since this release

What's New

Breaking Changes

  • Low-level functions (fsrs_initial_state, fsrs_next_state, fsrs_next_interval) now accept an optional params argument. Existing code continues to work (defaults to NULL).

New Features

  • fsrs_repeat() - Get all 4 rating outcomes (Again/Hard/Good/Easy) in a single call
  • fsrs_from_sm2() - Convert SM-2 ease factor & interval to FSRS state (for Anki migration)
  • fsrs_memory_state() - Compute memory state from a sequence of reviews
  • fsrs_retrievability_vec() - Vectorized retrievability for large datasets
  • Scheduler$preview_card() - Preview outcomes without modifying the card
  • Card$clone_card() - Deep copy a card
  • fsrs_simulate() - Convenience function to simulate learning

Bug Fixes

  • Scheduler now actually uses custom parameters (was silently ignoring them!)
  • State transitions now correctly match py-fsrs/rs-fsrs behavior

Full Changelog

v0.1.0...v0.2.0