Skip to content

Latest commit

 

History

History
executable file
·
161 lines (83 loc) · 3.1 KB

CHANGELOG.md

File metadata and controls

executable file
·
161 lines (83 loc) · 3.1 KB

@rollup/plugin-json ChangeLog

v6.0.1

2023-10-05

Bugfixes

  • fix: ensure rollup 4 compatibility #1595

v6.0.0

2022-12-17

Breaking Changes

  • fix: log more robustly when JSON parsing fails #1361

v5.0.2

2022-11-27

Updates

  • docs: correct minimatch to picomatch #1332

v5.0.1

2022-10-21

Updates

  • chore: update rollup dependencies (3038271)

v5.0.0

2022-10-10

Breaking Changes

  • fix: prepare for Rollup 3 #1291

Updates

  • chore: update dependencies (678125b)

v4.1.0

2020-06-05

Features

  • feat: log the filename when JSON.parse fails (#417)

v4.0.3

2020-04-19

Updates

  • chore: add rollup 2 to peer range (06d9d29)

v4.0.2

2020-02-01

Bugfixes

  • fix: correct type definitions (#161)

Updates

  • chore: update dependencies (e1d317b)

4.0.1

2019-12-21

  • fix(json): cannot be imported by rollup (#81)

4.0.0

2019-03-18

  • Pass all JSON data through dataToEsm to consistently support "compact" formatting, support empty keys, abandon Node 4 support, add prettier, update dependencies (#53)

3.1.0

2018-09-13

  • Expose "compact" and "namedExports" options (#45)
  • Update rollup-pluginutils to support null values in JSON (#44)
  • Update dependencies and ensure rollup@1.0 compatibility (#46)

3.0.0

2018-05-11

  • No longer create a fake AST to support tree-shaking with upcoming versions of rollup (#41)

2.3.1

2018-05-11

  • Update example in readme (#38)
  • Warn when using this version with upcoming rollup versions

2.3.0

2017-06-03

  • Always parse JSON, so malformed JSON is identified at bundle time (#27)

2.2.0

2017-06-03

  • Add indent option (#24)

2.1.1

2017-04-09

  • Add license to package.json (#25)

2.1.0

2016-12-15

  • Add support for preferConst option (#16)
  • Handle JSON files with no valid identifier keys (#19)

2.0.2

2016-09-07

  • Generate correct fake AST

2.0.1

2016-06-23

  • Return a name

2.0.0

2015-11-05

  • Generate fake AST to avoid unnecessary traversals within Rollup

1.1.0

unpublished

  • Generate named exports alongside default exports

1.0.0

2015-10-25

  • First release