Skip to content

Latest commit

 

History

History
83 lines (51 loc) · 2.59 KB

CHANGELOG.md

File metadata and controls

83 lines (51 loc) · 2.59 KB

Changelog

All notable changes to this project will be documented here.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

  • JSON Schema Validation
  • Pretty-Print for XML Output
  • Batch Processing

[1.1.1] - 2025-01-10

Added

  • Automation using GitHub Actions to automatically publish to npm when a new release is created.
  • Validates package version to prevent publishing duplicate versions.
  • Executes automated tests (npm test) to ensure package stability.
  • Adds dependency caching to improve CI/CD performance.
  • Configures npm authentication automatically via .npmrc.

[1.1.0] - 2025-01-09

Added

  • JSON to YAML Conversion: Added support for converting JSON to YAML for configurations like Kubernetes and Ansible.
  • JSON to JSONLines (NDJSON): Transform JSON arrays into JSONLines, ideal for incremental processing and data pipelines.
  • JSONLines Stream: Generate readable streams of JSONLines to handle large volumes of data efficiently.

Fixed

  • General improvements in input validation for existing functions.
  • Memory optimizations for large conversions.

[1.0.2] - 2025-01-06

Added

  • Custom header labels for CSV: Allows specifying friendly column names instead of using raw JSON keys.
  • Nested object flattening in CSV: Transforms nested fields (e.g. details.age) into separate columns.
  • Type-based CSV output: Numbers are unquoted, strings are quoted, and null/undefined fields are left empty.
  • Large dataset test coverage: Ensures performance and correctness for bigger JSON arrays.

Fixed

  • Incorrectly quoted numeric fields in CSV outputs.
  • Inconsistent handling of empty or null fields when generating CSV.

[1.0.1] - 2025-01-04

Added

  • Improved XML conversion with options for maximum depth and array handling (wrap or index).
  • Enhanced Markdown table generation with dynamic header extraction.
  • Better error handling for empty JSON arrays in toMarkdownTable and invalid inputs in toXML.
  • New file structure: Organized modules into dedicated files for better maintainability and scalability.

Fixed

  • Corrected edge cases in CSV output when handling missing keys.

[1.0.0] - 2025-01-03

Added

  • 🚀 Convert JSON to CSV, XML, and Markdown tables.
  • 📄 Easy-to-use API: toCSV, toXML, toMarkdownTable.

Fixed

  • Minor bugs in XML formatting.

Notes

  • Minimum Node.js version: 14.0.0.
  • Compatible with JavaScript and TypeScript.

[0.1.0] - 2024-12-25

Added

  • Initial prototype for JSON to CSV conversion.