Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@laurynas laurynas released this 20 Aug 17:38
c442ea5

Added

  • detectBatch() for batch detections

Changed

  • Switched to v3 API which uses updated language detection model
  • ⚠️ detect() result fields are language and score
  • Switched to the native fetch API. Minimum supported Node version 8.

Deprecated

  • Calling detect() with array argument. Use detectBatch instead.
  • userStatus() - Use accountStatus() instead.

Removed

  • axios dependency

New Contributors

Full Changelog: v2.1.0...v3.0.0