Skip to content

Releases: iuccio/csvToJson

Fix indexHeader is not a funtion, #39

30 Nov 16:56

Choose a tag to compare

🎉 Fix indexHeader is not a function

📝 Summary

What's Changed

Full Changelog: v3.18.0...v3.19.0

Sync NodeJS Support

23 Nov 09:46

Choose a tag to compare

🎉 Sync NodeJS Support

📝 Summary

  • Remove NodeJS Support for version 14.x and 16.x
  • Add Support for NodeJS 25.x

What's Changed

Full Changelog: v3.15.0...v3.16.0

Support for Browser API

22 Nov 20:39

Choose a tag to compare

🎉 New Release: Browser API

📝 Summary

This release adds first-class Browser support and a dedicated Browser API so convert-csv-to-json can be used directly in frontend apps and bundlers. The Browser API provides browser-friendly helpers for parsing CSV strings and File/Blob objects and includes TypeScript typings.

See the Browser API Usage documentation


✨ Highlights

  • Browser support (usable in modern browsers via bundlers or ESM imports).
  • New browser helper exposing sync and async methods:
    • browser.csvStringToJson(...)
    • browser.csvStringToJsonAsync(...)
    • browser.csvStringToJsonStringified(...)
    • browser.parseFile(file, options) (returns Promise)
  • TypeScript typings available in index.d.ts.
  • No breaking changes to existing Node APIs.

📦 What's new

  • browser API mirrors the library configuration methods (e.g. .fieldDelimiter(), .formatValueByType(), .supportQuotedField()).
  • parseFile reads File/Blob using the browser FileReader API and resolves with a parsed array of objects.
  • Added browser-focused tests and TypeScript test coverage.

What's Changed

Full Changelog: v3.14.0...v3.15.0

Async Support

01 Nov 08:52

Choose a tag to compare

🎉 New Release: Async Support

✨ Highlights

  • Promise-based async API for modern JavaScript applications
  • Improved memory handling for large files
  • Full backward compatibility maintained
  • Comprehensive documentation and migration guide

📦 Added

  • getJsonFromCsvAsync() - Promise-based CSV parsing
  • generateJsonFileFromCsvAsync() - Async file generation
  • Migration guide with best practices
  • TypeScript definitions for async API
  • Performance optimization examples

🔧 Enhanced

  • Documentation structure and examples
  • Large file processing capabilities
  • Error handling and recovery patterns
  • TypeScript support

📝 Notes

  • Zero breaking changes
  • Existing sync API remains unchanged
  • Gradual migration path available

Change license to MIT

02 May 14:05

Choose a tag to compare

Starting with version v3.0.0, csvToJson is released under the MIT license, which is more permissive than GPL-3.0.

CI/CD from github action

25 Feb 18:33

Choose a tag to compare

From now pushing on master branch will always bump a new release see CI/CD

Migration to jest

17 Feb 19:59

Choose a tag to compare

  • Migration to jest
  • NodeJs v12.x no longer supported

Add Support Quoted Fields

24 Feb 20:17

Choose a tag to compare

No Breaking Changes.
Add Support Quoted Fields: see documentation Support Quoted Fields.

Closes #23

Exclude empty rows from parsing

22 Dec 12:42

Choose a tag to compare

Fix moderate security vulnerability in dev dependencies, no more support for NodeJs < 12.x

13 Nov 13:53

Choose a tag to compare

  • Fix moderate security vulnerability in dev dependencies
  • No more support for NodeJs 10.x

Full Changelog: v1.3.3...v1.4.0