Releases: iuccio/csvToJson
Releases · iuccio/csvToJson
Fix indexHeader is not a funtion, #39
Sync NodeJS Support
🎉 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
🎉 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
browserhelper exposing sync and async methods:browser.csvStringToJson(...)browser.csvStringToJsonAsync(...)browser.csvStringToJsonStringified(...)browser.parseFile(file, options)(returnsPromise)
- TypeScript typings available in
index.d.ts. - No breaking changes to existing Node APIs.
📦 What's new
browserAPI mirrors the library configuration methods (e.g..fieldDelimiter(),.formatValueByType(),.supportQuotedField()).parseFilereadsFile/Blobusing the browserFileReaderAPI 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
🎉 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 parsinggenerateJsonFileFromCsvAsync()- 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
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
From now pushing on master branch will always bump a new release see CI/CD
Migration to jest
- Migration to jest
- NodeJs v12.x no longer supported
Add Support Quoted Fields
No Breaking Changes.
Add Support Quoted Fields: see documentation Support Quoted Fields.
Closes #23
Exclude empty rows from parsing
Fix moderate security vulnerability in dev dependencies, no more support for NodeJs < 12.x
- Fix moderate security vulnerability in dev dependencies
- No more support for NodeJs 10.x
Full Changelog: v1.3.3...v1.4.0