Skip to content

Latest commit

 

History

History
executable file
·
240 lines (123 loc) · 3.68 KB

CHANGELOG.md

File metadata and controls

executable file
·
240 lines (123 loc) · 3.68 KB

@rollup/plugin-replace ChangeLog

v6.0.1

2024-09-23

Bugfixes

  • fix: The preventAssignment option is treated as a value to replace (#1768)

v6.0.0

2024-09-23

Breaking Changes

  • fix!: objectGuards doesn't take effects (#1764)

v5.0.7

2024-06-05

Bugfixes

  • fix: add missing sourceMap documentation (#1698)

v5.0.6

2024-06-05

Bugfixes

  • fix: ternary operator replacement (#1712)

v5.0.5

2023-10-29

Bugfixes

  • fix: prevent variable before colons from being replaced when preventAssigment is true (#1609)

v5.0.4

2023-10-15

Bugfixes

  • fix: bump magic-string version #1596

v5.0.3

2023-10-05

Bugfixes

  • fix: ensure rollup 4 compatibility #1595

v5.0.2

2022-12-17

Bugfixes

  • fix: update magic-string #1373

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 #1286

v4.0.0

2022-02-22

Breaking Changes

  • fix: do not escape delimiters (#1088)

v3.1.0

2022-02-11

Features

  • feat: typeofReplacements option (#1084)

v3.0.1

2021-12-28

Bugfixes

  • fix: add types for sourceMap option (#1066)

Updates

  • docs: clarify delimiters typing (#1013)

v3.0.0

2021-07-16

Breaking Changes

  • fix!: issues with nested objects replacements (#903)

v2.4.2

2021-03-26

Updates

  • docs: document the values option (#814)

v2.4.1

2021-02-22

Bugfixes

  • fix: add missing types for new preventAssignment option (#813)

v2.4.0

2021-02-22

Features

  • feat: prevent accidental replacement within assignment (#798)

Updates

  • docs: clarify replacement. fixes #737 (#785)

v2.3.4

2020-10-27

Updates

  • docs: describe process.env.NODE_ENV case (#589)
  • chore: update dependencies (53e2b73)
  • docs: linting update in readme (aef7dbc)

v2.3.3

2020-06-05

Updates

  • docs: clarify options for allowed replacement values (#422)

v2.3.2

2020-04-19

Updates

  • chore: add rollup 2 to peer range (3e0d775)

v2.3.1

2020-02-01

Updates

  • chore: update dependencies (aca4a94)

2.3.0

2019-12-21

  • feat(replace): allow plugin to operate as an output plugin (#55)

2.2.1

2019-11-06

  • Move typescript to devDependencies

2.2.0

2019-04-10

  • Add index.d.ts typings file (#31)

2.1.1

2019-03-18

  • Update rollup-pluginutils (#29)
  • Update dependencies (#30)

2.1.0

2018-10-07

  • Do not mutate values passed as option (#22)
  • Update dependencies and improve tests (#26)

2.0.0

  • Only match on word boundaries, unless delimiters are empty strings (#10)

1.2.1

  • Match longest keys first (#8)
  • Escape keys (#9)

1.2.0

  • Allow replacement to be a function that takes a module ID (#1)

1.1.1

  • Return a name

1.1.0

  • Generate sourcemaps by default

1.0.1

  • Include correct files in package

1.0.0

  • First release