Skip to content

Commit 0034528

Browse files
committed
Rewrite the package public API
1 parent 7f5f956 commit 0034528

20 files changed

+2389
-481
lines changed

CHANGELOG.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,23 @@ All Notable changes to `bakame/aide-ndjon` will be documented in this file.
66

77
### Added
88

9-
- `$flags` parameter to encoding method to allow configuring json flags encoding static methods.
10-
- `$chunkSize` parameter to encoding method to control how many rows are generated per chunk.
11-
- `NdJson::decodeTabularFromString`
12-
- Package specific exceptions `NdJsonException`, `EncodingNdJsonFailed` and `InvalidNdJsonArgument`
9+
**⚠️Package complete rewrite!!⚠️**
10+
11+
- `Codec` to ease API usage
12+
- `ndjons_encode`, `ndjons_decode`, `ndjons_read`, `ndjons_write` global functions to ease usage.
1313

1414
### Deprecated
1515

16-
- `NdJson::readTabularFromString` use `NdJson::decodeTabularFromString` insteaf
16+
- None
1717

1818
### Fixed
1919

2020
- None
2121

2222
### Remove
2323

24-
- None
24+
- `Ndjson` class
25+
- dependency on `league/csv`
2526

2627
## [1.0.0](https://github.com/bakame-php/aide-ndjson/releases/tag/1.0.0) - 2025-09-11
2728

0 commit comments

Comments
 (0)