Releases: punchupworld/sheethuahua
Releases · punchupworld/sheethuahua
Release 3.1.0
3.1.0 (2024-11-20)
Features
- add asArray and include validate schema in transformer (dcee5c5)
- add formatToCsv formatter (0f9cfc2)
- asDate support custom format and timezone using tempo (5e1ba2a)
- optional transformer can accept fallback value (b5b8e7c)
- validate transformer encode input and make optional (fc5bdd2)
Performance Improvements
- upgrade typebox and use tree-shakable function from value module (00eb7c5)
Release 3.0.0
3.0.0 (2024-11-01)
Old API has been deprecated. Please check out the new API at the new official documentation website.
⚠ BREAKING CHANGES
- required name in column to support non object schema
- shorten parser functions name to fetchCsv and parseCsv
- move spreadsheet table name and schema definition to get function
- replace table with typebox object and simplify column type
Features
- bring oneOf back as a schema helper (0aff565)
- move spreadsheet table name and schema definition to get function (340f9e2)
- replace table with typebox object and simplify column type (78bdd52)
- required name in column to support non object schema (471c7b3)
- rewrite parsing logic using type transform (ccbf73d)
- shorten parser functions name to fetchCsv and parseCsv (5573121)
- support root column, tuple, or nested schema (139aaa8)
Bug Fixes
- correct csv schema type and filter undefined from columns (a5a23cc)
- replace typebox with transformer optional variant for corrected typing (ce1dcf7)
Performance Improvements
Release 2.1.0
Release 2.0.0
2.0.0 (2024-05-17)
⚠ BREAKING CHANGES
- parseCSVFromString now return a promise
- remove sheets uncompatible custom header and body row number options
Features
Release 1.0.0
1.0.0 (2024-05-08)
The initial version was released! Please refer to the full documentation here: https://github.com/Th1nkK1D/sheethuahua
Features
- add basic table and spreadsheet type interface (c6ae100)
- add column type (96bf619)
- add exclude unknown columns with options (0b158d4)
- add nullable column type (6ca61d3)
- add one of column type and rename optional (cf09f65)
- add row generic type infer from table (486fa63)
- add trim option and parse empty cell as null (23cc22d)
- add twin optional variant to all column types (6e8ebfc)
- allow passing fetch init config (0be368c)
- config package building (295517c)
- extract parser out of spreadsheet (925ffd2)
- fetch, parse, and validate data in get function (9761c6d)
- improve error messages (527ce1f)
- make parseCSVFromString synchronous (d9ec2ea)
- spreadsheets can specify global options (6851961)
- support anonymous table for csv parser (ce62a34)
- support custom header and body row number (9b840ff)
- use includeUnknownColumns option instead of exclude (7fc0785)
- use typebox convert in csv parser (e0757b3)
- validate table name and narrow down parser schema type (274cf4b)