Change Log
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
5.1.0 (2021-10-27)
Features
- option to evaluate logical truthiness, for applications such as fuzzing (#629) (a743b84)
5.0.4 (2021-10-16)
Bug Fixes
- magic-value: make incrementing magic value a manual step (#641) (823010b)
5.0.3 (2021-10-06)
Bug Fixes
5.0.2 (2021-09-13)
Bug Fixes
- build: verfiy automated publication (b232690)
5.0.1 (2021-09-13)
Bug Fixes
- build: verfiy automated publication (74c96bd)
5.0.0 (2021-09-13)
⚠ BREAKING CHANGES
- istanbul-lib-instrument no longer uses babel
Code Refactoring
- istanbul-lib-instrument no longer uses babel (8d3badb)
4.0.3 (2020-05-09)
Bug Fixes
- Prevent readInitialCoverage from reading babel config (#562) (49b4745)
4.0.2 (2020-05-06)
Bug Fixes
4.0.1 (2020-02-03)
Bug Fixes
- Always call coverage initialization function (#524) (c6536c1)
4.0.0 (2019-12-20)
Note: Version bump only for package istanbul-lib-instrument
Note: Version bump only for package istanbul-lib-instrument
Bug Fixes
- Produce properly merged source-maps when inputSourceMap is provided (#487) (8f8c88e)
Bug Fixes
Features
BREAKING CHANGES
- The defaults for
autoWrap
, preserveComments
,
esModules
and produceSourceMap
are now true. This applies only to
the stand-alone instrumenter, the visitor does not use these options.
- The
flow
and jsx
parser plugins are no longer
enabled by default. This applies only to the stand-alone instrumenter,
the visitor does not use this option.
- The
plugins
option of the stand-alone instrumenter
has been renamed to parserPlugins
to match nyc.
Features
- Update dependencies, require Node.js 8 (#401) (bf3a539)
BREAKING CHANGES
- Node.js 8 is now required
3.3.0 (2019-04-24)
Features
- Enable classProperties and classPrivateProperties parsers and coverage. (#379) (c09dc38)
3.2.0 (2019-04-09)
Features
- Add bigInt and importMeta to default parser plugins. (#356) (fb4d6ed), closes #338
3.1.2 (2019-04-03)
Bug Fixes
3.1.1 (2019-03-12)
Bug Fixes
- Honor istanbul ignore next hints placed before export statement. (#298) (f24795d), closes #297
3.1.0 (2019-01-26)
Features
- dont skip for loop initialization instrumentation (#188) (2e0258e)
- New options coverageGlobalScope and coverageGlobalScopeFunc. (#200) (25509c7), closes #199
3.0.1 (2018-12-25)
Note: Version bump only for package istanbul-lib-instrument
3.0.0 (2018-09-06)
Chores
Features
BREAKING CHANGES
- was added which requires an option for the
decorators
plugin. Add it to get tests working again, commit updated api.md.
2.3.2 (2018-07-24)
Note: Version bump only for package istanbul-lib-instrument
2.3.1 (2018-07-07)
Bug Fixes
- Don't ignore src/visitor.js for self test. (#194) (71b815d)
2.3.0 (2018-06-27)
Features
- update pinned babel version to latest release. (#189) (ac8ec07)
2.2.1 (2018-06-26)
Bug Fixes
- Instrument ObjectMethod's. (#182) (126f09d)
- update default args test guard to work on supported versions. (#185) (955511a)
2.2.0 (2018-06-06)
Features
- add support for optional catch binding (#175) (088dd9f)
2.1.0 (2018-05-31)
Features
- add support for optional catch binding (#175) (088dd9f)
2.0.2 (2018-05-31)
Note: Version bump only for package istanbul-lib-instrument
2.0.1 (2018-05-31)
Bug Fixes
2.0.0 (2018-05-31)
Bug Fixes
- parenthesize superClass on non-idetifier case (#158) (6202c88)
Chores
BREAKING CHANGES
- babel@7 drops Node@4 support
1.10.1 (2018-03-09)
Bug Fixes
1.10.0 (2018-03-04)
Features
- allows an array of ignored method names to be provided (#127) (67918e2)
1.9.2 (2018-02-13)
Bug Fixes
- compatibility with babel 7 (#135) (6cac849)
- handle instrumentation when a function is called Function (#131) (b12a07e)
- proper passing of the preserveComments option to babel (#122) (470bb0e)
- update instrument, account for lack of arrow expression (#119) (#125) (0968206)
1.9.1 (2017-10-22)
Bug Fixes
- address issue with class instrumentation (#111) (cbd1c14)
1.9.0 (2017-10-21)
Bug Fixes
- support conditional expression for superClass (#106) (aae256f)
Features
1.8.0 (2017-09-05)
Features
- add support for object-spread syntax (#82) (28d5566)
1.7.5 (2017-08-23)
Bug Fixes
- name of function is now preserved or named exports (#79) (2ce8974)
1.7.4 (2017-07-16)
Bug Fixes
- update increment operator to appropriate expression type (#74) (dc69e66)
1.7.3 (2017-06-25)
1.7.2 (2017-05-27)
Bug Fixes
- hoist statement counter for class variables, so that name is preserved (#60) (120d221)
1.7.1 (2017-04-29)
Bug Fixes
- don't instrument a file if it has already been instrumented (#38) (9c38e4e)
1.7.0 (2017-03-27)
Features
- use extended babylon support; adding features such as jsx (#22) (11c2438)
1.6.2 (2017-03-22)
Bug Fixes
- loc is sometimes not defined, so loc.start fails see #99 (#18) (df85ba6)
1.6.1 (2017-03-21)
1.6.0 (2017-03-21)
Features
- adds line number property back to coverage.json (b03b927)
1.4.2 (2017-01-04)
Bug Fixes
- only hoist counter for a smaller subset of function declarations (9f8931e)
1.4.1 (2017-01-04)
Bug Fixes
1.4.0 (2017-01-02)
Features
1.3.1 (2016-12-27)
Bug Fixes
- function declaration assignment now retains function name (#33) (2d781da)
1.3.0 (2016-11-10)
Features
- allow an input source-map to be passed to instrumentSync() (#23) (b08e4f5)
1.2.0 (2016-10-25)
Features
- implement function to extract empty coverage data from an instrumented file (#28) (06d0ef6)
1.1.4 (2016-10-17)
Bug Fixes
- hoist coverage variable to very top of file (#26) (0225e8c)
1.1.3 (2016-09-13)
Performance Improvements
1.1.2 (2016-09-08)
Performance Improvements
- use zero-based numeric indices for much faster instrumented code (#22) (5b401f5)
1.1.1 (2016-08-30)
Bug Fixes
- upgrade istanbul-lib-coverage (eb9b1f6)
1.1.0 (2016-08-11)
Bug Fixes
Bug Fixes
- require more performant babel-generator (#15) (21b2563)