Skip to content

v1.0.0

Latest

Choose a tag to compare

@magrinj magrinj released this 24 Mar 16:18
· 2 commits to main since this release
c0f061c

@magrinj/parse-ingredients v1.0.0

First release under the @magrinj scope. Complete modernization of the library.

Highlights

  • 6 languages: English, French, Spanish, Italian, German, Portuguese
  • Dual CJS/ESM build with tsdown
  • Zero runtime dependencies
  • Full TypeScript support with strict types

What's new

  • Renamed from parse-ingredients to @magrinj/parse-ingredients
  • Added 4 new locales: Spanish, Italian, German, Portuguese
  • Added CI/CD with GitHub Actions
  • Added automated releases with release-it
  • Added documentation site with Docusaurus + TypeDoc
  • Migrated from Yarn to Bun
  • Upgraded TypeScript 5.7, ESLint 9, Jest 29, Prettier 3

Bug fixes

  • Fixed "pinchs" → "pinches" (English plural)
  • Fixed "littre" → "litre" (French translation)
  • Fixed accent stripping in article extraction
  • Fixed potential crash in fraction conversion
  • Fixed regex matching for quantities like "about 1/2"
  • Fixed coffeespoon symbol/translation conflation with tablespoon

Breaking Changes

  • Package renamed: parse-ingredients@magrinj/parse-ingredients
  • Locale imports changed: parse-ingredients/lib/locale/fr@magrinj/parse-ingredients/locale/fr