Skip to content

fix: use semicolon by default for meter-reading CSV - #3

Merged
StefaniOSApps merged 1 commit into
mainfrom
fix/csv-semicolon-default
Sep 30, 2026
Merged

StefaniOSApps merged 1 commit into
mainfrom
fix/csv-semicolon-default

Conversation

@StefaniOSApps

Copy link
Copy Markdown
Contributor

Meter-reading CSV exports without an explicit delimiter now use semicolon, matching the backend's existing default. Previously, the client explicitly sent comma.

Explicit comma, semicolon and tab remain supported. Callers that require the previous output must pass delimiter: CsvDelimiter.COMMA. Document the new default in the public type and usage example.

Import the updated shared contracts from energy-tracker/api-client-python#6, pinned to commit 54ff998357ffa7c191f4538b5b3c49308b777d49 with updated checksums. Tests cover default semicolon output and explicit comma/tab selections alongside the existing semicolon case.

Validation: npm run check passes with 158 tests, 99.67% line coverage, formatting, type checking, build, npm package installation, CJS/ESM imports and TypeScript 5.8/7 consumers. No version bump, tag or publication.

Align omitted CSV delimiters with the backend default. Callers that need comma-separated output must select CsvDelimiter.COMMA explicitly.
@StefaniOSApps
StefaniOSApps merged commit a661334 into main Sep 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant