From b817a5f8148c41911b2593ca401008e16467206f Mon Sep 17 00:00:00 2001 From: "Xunnamius (Romulus)" Date: Mon, 16 Jan 2023 14:29:59 -0800 Subject: [PATCH] release: 11.0.0-canary.1 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [11.0.0-canary.1](https://github.com/babel-utils/babel-plugin-tester/compare/v10.1.0...v11.0.0-canary.1) (2023-01-16) ### 💥 BREAKING CHANGES 💥 * In previous versions, the lodash.mergeWith customizer skipped source properties that resolved to `undefined`. With this version, the customizer now unsets these properties (sets them to `undefined`), allowing the end user to easily unset defaults (e.g. `filename`). * `babelOptions.filename` is now set to `filepath` by default rather than `undefined`. * **Implicit "global" options merging is no longer supported** In previous versions of babel-plugin-tester, any test object and fixture configuration option could be passed directly to babel-plugin-tester and apply "globally" across all test objects and fixtures. This was even the case for options that made no sense in a "global" context, such as `only`, `skip`, and `code`. In this version of babel-plugin-tester, only options explicitly listed in the documentation can be passed directly and applied globally. Unrecognized "rest" options are silently ignored. * **Test/fixture configuration is resolved early and consistently** In previous versions of babel-plugin-tester, test object and fixture configuration options were resolved in various places, with some options getting finalized before `it(...)` and `describe(...)` were called and others being determined as Jest was executing the test. In this version, all configuration options are resolved and finalized before `it(...)` and `describe(...)` are called. This also means configurations are finalized _before_ hooks like `beforeAll` get called by the testing framework. * **Fixture configuration schema is standardized** In previous versions of babel-plugin-tester, you could provide any key to `options.json` and it would be passed as-is to the plugin under test. This made it impossible to allow fixtures to be configured with the same flexibility as test objects. In this version of babel-plugin-tester, fixture `options.json` (and `options.js`) files must return a standard set of options. Non-standard properties are silently ignored. For instance: to pass options to the plugin under test, they must be provided via `pluginOptions`. * **Global `setup`/`teardown` no longer overwrites local versions** In previous versions of babel-plugin-tester, test-level `setup` and `teardown` functions overrode global `setup` and `teardown` functions. In this version of babel-plugin-tester, the global `setup` and `teardown` functions will be called alongside their test-level counterparts for each test and in a well-defined order (see documentation). * **`TypeError` for config error; `AssertionError` for test error** All configuration-related issues now throw `TypeError` instead of `AssertionError`. `AssertionError` is now exclusively used for failing tests. Additionally, the text of some error messages has been updated. * **`error` only captures exceptions from Babel** `error` (aka `throws`) no longer potentially captures exceptions thrown by the `formatResult` function. If the `formatResult` function throws, the entire test will fail immediately. * **`error` no longer accepts arbitrary class constructors** `error` (aka `throws`) no longer accepts arbitrary class constructors. Any provided class constructor must extend `Error`, e.g. built-ins like `SyntaxError` or custom error classes like `class MyError extends Error`. Thanks to the nature of JavaScript, **providing a class constructor that does not extend `Error` will lead to undefined behavior**. * **Built-in TypeScript support** TypeScript types are now included within the package itself, obviating the need to install a separate types package. Installing the old types package alongside this version of babel-plugin-tester will cause conflicts. * **Global `describe` and `it` functions must be defined** babel-plugin-tester will refuse to run if `describe`, `it`, `it.only`, or `it.skip` are not globally available. * **All test titles are now numbered** All test titles are now numbered (e.g. `"1. ..."`, `"2. ..."`, etc), including fixtures tests and tests with custom titles. * Minimum recommended node version bumped from 10.13.0 to 14.20.0 * Plugin names are once again automatically determined by analyzing the return value of the plugin function. Though this is implemented in a backwards-compatible way, there is a [small caveat](https://github.com/babel-utils/babel-plugin-tester#pluginname-inference-caveat). #### ✨ Features * Add support for testing presets ([73b90b3](https://github.com/babel-utils/babel-plugin-tester/commit/73b90b347051661ccc37d663419c1d89348dedfb)) * Implement default filepath inference using Error stack trace ([9d1b321](https://github.com/babel-utils/babel-plugin-tester/commit/9d1b321e162f337963faf84c2e7a9323c55c5155)) * **src:** add `exec`/`execFixture` support via Node's VM module ([4754f42](https://github.com/babel-utils/babel-plugin-tester/commit/4754f42d0a6e66b9cd0c26f8ec7b4bc935ac79d4)) * **src:** add support for "only", "skip", and "title" test options in fixtures ([#90](https://github.com/babel-utils/babel-plugin-tester/issues/90)) ([89b58b5](https://github.com/babel-utils/babel-plugin-tester/commit/89b58b5c39b2b43dff77fac7243e7a17c5297053)) * **src:** add support for arbitrary run order of plugin under test ([#91](https://github.com/babel-utils/babel-plugin-tester/issues/91)) ([8c8b858](https://github.com/babel-utils/babel-plugin-tester/commit/8c8b858eb8e73493616563552360fb8e7fe8c452)) * **src:** add support for loading prettier configuration files in fixtures ([f54deda](https://github.com/babel-utils/babel-plugin-tester/commit/f54dedaa9c1cf6f7546d2f1bceaa44407049dd6e)) * **src:** add TEST_SKIP/TEST_NUM_SKIP/TEST_ONLY/TEST_NUM_ONLY env variable support ([13626d1](https://github.com/babel-utils/babel-plugin-tester/commit/13626d16b655a241bdffcb904b085ec62c79c6ec)) * **src:** bring back (lightweight) plugin name inference ([#92](https://github.com/babel-utils/babel-plugin-tester/issues/92)) ([f9ad903](https://github.com/babel-utils/babel-plugin-tester/commit/f9ad9034e062c48ae0aeab85248ee0cefc991853)) * **src:** implement `titleNumbering` and `restartTitleNumbering` options ([09e792d](https://github.com/babel-utils/babel-plugin-tester/commit/09e792da2de0c5ac802c58096fb3dd03b7eb0b52)) * **src:** implement standard `setup`/`teardown` run order ([4ea283f](https://github.com/babel-utils/babel-plugin-tester/commit/4ea283f4e73d69b7e77abb982c76cf4ff0d6b0e4)) * **src:** provide debug output support via debug package ([4c7c6e7](https://github.com/babel-utils/babel-plugin-tester/commit/4c7c6e7094680d21ab59786b7f87fcfcfde332d2)) * Windows support ([f214995](https://github.com/babel-utils/babel-plugin-tester/commit/f214995024e8c86ada4f9fd4b2a927e1767920a7)) #### 🪄 Fixes * **src:** ensure test function errors are not swallowed by teardown function errors ([2acfe37](https://github.com/babel-utils/babel-plugin-tester/commit/2acfe37996080c26d96504b9837bc2dc5284eaa2)) * **src:** fix fixtureOutputExt being ignored in root options.json ([#89](https://github.com/babel-utils/babel-plugin-tester/issues/89)) ([481be19](https://github.com/babel-utils/babel-plugin-tester/commit/481be191651b3b5d4a0fd550146a76a6e1e819c4)) * **src:** fix plugin run order for fixtures to match tests ([#88](https://github.com/babel-utils/babel-plugin-tester/issues/88)) ([fbb6c19](https://github.com/babel-utils/babel-plugin-tester/commit/fbb6c1924f7f44d72ec12892cdce1df9aea09528)) #### ⚙️ Build system * **deps:** bump prettier from 2.8.0 to 2.8.1 ([#98](https://github.com/babel-utils/babel-plugin-tester/issues/98)) ([0bdb351](https://github.com/babel-utils/babel-plugin-tester/commit/0bdb3515c69a0eaef2e9cb251772083e946e425a)) * **package:** restore @babel/core@7.11.6 as minimum supported version ([00712c0](https://github.com/babel-utils/babel-plugin-tester/commit/00712c067253599c37b43cdf648c232be414e0a9)) * Transmute codebase to TypeScript ([#96](https://github.com/babel-utils/babel-plugin-tester/issues/96)) ([5f588e9](https://github.com/babel-utils/babel-plugin-tester/commit/5f588e9b8e38eb265037a8af54f442e42c302368)) * Update tooling ([d5b4d9c](https://github.com/babel-utils/babel-plugin-tester/commit/d5b4d9c207c3499851025b06449114585f494d1f)) #### 🔥 Reverted * *"test: make debugging names shorter and sweeter"* ([0b869bb](https://github.com/babel-utils/babel-plugin-tester/commit/0b869bb1c7ecfab115293a33233e175cf0738b64)) #### 🧙🏿 Refactored * Lodash.mergeWith customizer now allows unsetting options by setting them to `undefined` ([74af680](https://github.com/babel-utils/babel-plugin-tester/commit/74af680467dbc663cb82a5cd9c6581d1b5216ae5)) * Reorganize source into unified extensible tester pipeline w/ first-class fixtures support ([0c44392](https://github.com/babel-utils/babel-plugin-tester/commit/0c4439292839da87508d027cbfbf2b7a96e7d6e7)) --- CHANGELOG.md | 711 +++++++++++++++++++++++++++++++++++++++++++++- package-lock.json | 4 +- package.json | 2 +- 3 files changed, 709 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 633c5b5..2eac45f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,708 @@ -# CHANGELOG +# Changelog -The changelog is automatically updated using [semantic-release][1]. You can see -it on the [releases page][2]. +All notable changes to this project will be documented in this auto-generated +file. The format is based on [Conventional Commits][1]; +this project adheres to [Semantic Versioning][2]. -[1]: https://github.com/semantic-release/semantic-release -[2]: ../../releases +## [11.0.0-canary.1][3] (2023-01-16) + +### 💥 Breaking Changes 💥 + +- In previous versions, the lodash.mergeWith customizer skipped source properties + that resolved to `undefined`. With this version, the customizer now unsets these properties + (sets them to `undefined`), allowing the end user to easily unset defaults (e.g. `filename`). + +- `babelOptions.filename` is now set to `filepath` + by default rather than `undefined`. + +- **Implicit "global" options merging is no longer supported** + + In previous versions of babel-plugin-tester, any test object and fixture + configuration option could be passed directly to babel-plugin-tester and apply + "globally" across all test objects and fixtures. This was even the case for + options that made no sense in a "global" context, such as `only`, `skip`, and + `code`. In this version of babel-plugin-tester, only options explicitly listed + in the documentation can be passed directly and applied globally. Unrecognized + "rest" options are silently ignored. + +- **Test/fixture configuration is resolved early and consistently** + + In previous versions of babel-plugin-tester, test object and fixture + configuration options were resolved in various places, with some options getting + finalized before `it(...)` and `describe(...)` were called and others being + determined as Jest was executing the test. In this version, all configuration + options are resolved and finalized before `it(...)` and `describe(...)` are + called. This also means configurations are finalized _before_ hooks like + `beforeAll` get called by the testing framework. + +- **Fixture configuration schema is standardized** + + In previous versions of babel-plugin-tester, you could provide any key to + `options.json` and it would be passed as-is to the plugin under test. This made + it impossible to allow fixtures to be configured with the same flexibility as + test objects. In this version of babel-plugin-tester, fixture `options.json` + (and `options.js`) files must return a standard set of options. Non-standard + properties are silently ignored. For instance: to pass options to the plugin + under test, they must be provided via `pluginOptions`. + +- **Global `setup`/`teardown` no longer overwrites local versions** + + In previous versions of babel-plugin-tester, test-level `setup` and `teardown` + functions overrode global `setup` and `teardown` functions. In this version of + babel-plugin-tester, the global `setup` and `teardown` functions will be called + alongside their test-level counterparts for each test and in a well-defined + order (see documentation). + +- **`TypeError` for config error; `AssertionError` for test error** + + All configuration-related issues now throw `TypeError` instead of + `AssertionError`. `AssertionError` is now exclusively used for failing tests. + Additionally, the text of some error messages has been updated. + +- **`error` only captures exceptions from Babel** + + `error` (aka `throws`) no longer potentially captures exceptions thrown by the + `formatResult` function. If the `formatResult` function throws, the entire test + will fail immediately. + +- **`error` no longer accepts arbitrary class constructors** + + `error` (aka `throws`) no longer accepts arbitrary class constructors. Any + provided class constructor must extend `Error`, e.g. built-ins like + `SyntaxError` or custom error classes like `class MyError extends Error`. Thanks + to the nature of JavaScript, **providing a class constructor that does not + extend `Error` will lead to undefined behavior**. + +- **Built-in TypeScript support** + + TypeScript types are now included within the package itself, obviating the need + to install a separate types package. Installing the old types package alongside + this version of babel-plugin-tester will cause conflicts. + +- **Global `describe` and `it` functions must be defined** + + babel-plugin-tester will refuse to run if `describe`, `it`, `it.only`, or + `it.skip` are not globally available. + +- **All test titles are now numbered** + + All test titles are now numbered (e.g. `"1. ..."`, `"2. ..."`, etc), including + fixtures tests and tests with custom titles. + +- Minimum recommended node version bumped from + 10.13.0 to 14.20.0 + +- Plugin names are once again automatically determined + by analyzing the return value of the plugin function. Though this is + implemented in a backwards-compatible way, there is a + [small caveat][4]. + +#### ✨ Features + +- Add support for testing presets ([73b90b3][5]) +- Implement default filepath inference using Error stack trace ([9d1b321][6]) +- **src:** add `exec`/`execFixture` support via Node's VM module ([4754f42][7]) +- **src:** add support for "only", "skip", and "title" test options in fixtures ([#90][8]) ([89b58b5][9]) +- **src:** add support for arbitrary run order of plugin under test ([#91][10]) ([8c8b858][11]) +- **src:** add support for loading prettier configuration files in fixtures ([f54deda][12]) +- **src:** add TEST\_SKIP/TEST\_NUM\_SKIP/TEST\_ONLY/TEST\_NUM\_ONLY env variable support ([13626d1][13]) +- **src:** bring back (lightweight) plugin name inference ([#92][14]) ([f9ad903][15]) +- **src:** implement `titleNumbering` and `restartTitleNumbering` options ([09e792d][16]) +- **src:** implement standard `setup`/`teardown` run order ([4ea283f][17]) +- **src:** provide debug output support via debug package ([4c7c6e7][18]) +- Windows support ([f214995][19]) + +#### 🪄 Fixes + +- **src:** ensure test function errors are not swallowed by teardown function errors ([2acfe37][20]) +- **src:** fix fixtureOutputExt being ignored in root options.json ([#89][21]) ([481be19][22]) +- **src:** fix plugin run order for fixtures to match tests ([#88][23]) ([fbb6c19][24]) + +#### ⚙️ Build System + +- **deps:** bump prettier from 2.8.0 to 2.8.1 ([#98][25]) ([0bdb351][26]) +- **package:** restore @babel/core\@7.11.6 as minimum supported version ([00712c0][27]) +- Transmute codebase to TypeScript ([#96][28]) ([5f588e9][29]) +- Update tooling ([d5b4d9c][30]) + +#### 🔥 Reverted + +- _"test: make debugging names shorter and sweeter"_ ([0b869bb][31]) + +#### 🧙🏿 Refactored + +- Lodash.mergeWith customizer now allows unsetting options by setting them to `undefined` ([74af680][32]) +- Reorganize source into unified extensible tester pipeline w/ first-class fixtures support ([0c44392][33]) + +## [0.0.0-semantically-released][34] (2023-01-16) + +### 💥 Breaking Changes 💥 + +- **`error` no longer accepts arbitrary class constructors** + + `error` (aka `throws`) no longer accepts arbitrary class constructors. Any + provided class constructor must extend `Error`, e.g. built-ins like + `SyntaxError` or custom error classes like `class MyError extends Error`. Thanks + to the nature of JavaScript, **providing a class constructor that does not + extend `Error` will lead to undefined behavior**. + +- **`error` only captures exceptions from Babel** + + `error` (aka `throws`) no longer potentially captures exceptions thrown by the + `formatResult` function. If the `formatResult` function throws, the entire test + will fail immediately. + +- **`TypeError` for config error; `AssertionError` for test error** + + All configuration-related issues now throw `TypeError` instead of + `AssertionError`. `AssertionError` is now exclusively used for failing tests. + Additionally, the text of some error messages has been updated. + +- **All test titles are now numbered** + + All test titles are now numbered (e.g. `"1. ..."`, `"2. ..."`, etc), including + fixtures tests and tests with custom titles. + +- **Built-in TypeScript support** + + TypeScript types are now included within the package itself, obviating the need + to install a separate types package. Installing the old types package alongside + this version of babel-plugin-tester will cause conflicts. + +- **Fixture configuration schema is standardized** + + In previous versions of babel-plugin-tester, you could provide any key to + `options.json` and it would be passed as-is to the plugin under test. This made + it impossible to allow fixtures to be configured with the same flexibility as + test objects. In this version of babel-plugin-tester, fixture `options.json` + (and `options.js`) files must return a standard set of options. Non-standard + properties are silently ignored. For instance: to pass options to the plugin + under test, they must be provided via `pluginOptions`. + +- **Global `describe` and `it` functions must be defined** + + babel-plugin-tester will refuse to run if `describe`, `it`, `it.only`, or + `it.skip` are not globally available. + +- **Global `setup`/`teardown` no longer overwrites local versions** + + In previous versions of babel-plugin-tester, test-level `setup` and `teardown` + functions overrode global `setup` and `teardown` functions. In this version of + babel-plugin-tester, the global `setup` and `teardown` functions will be called + alongside their test-level counterparts for each test and in a well-defined + order (see documentation). + +- **Implicit "global" options merging is no longer supported** + + In previous versions of babel-plugin-tester, any test object and fixture + configuration option could be passed directly to babel-plugin-tester and apply + "globally" across all test objects and fixtures. This was even the case for + options that made no sense in a "global" context, such as `only`, `skip`, and + `code`. In this version of babel-plugin-tester, only options explicitly listed + in the documentation can be passed directly and applied globally. Unrecognized + "rest" options are silently ignored. + +- **Test/fixture configuration is resolved early and consistently** + + In previous versions of babel-plugin-tester, test object and fixture + configuration options were resolved in various places, with some options getting + finalized before `it(...)` and `describe(...)` were called and others being + determined as Jest was executing the test. In this version, all configuration + options are resolved and finalized before `it(...)` and `describe(...)` are + called. This also means configurations are finalized _before_ hooks like + `beforeAll` get called by the testing framework. + +- `babelOptions.filename` is now set to `filepath` + by default rather than `undefined`. + +- In previous versions, the lodash.mergeWith customizer skipped source properties + that resolved to `undefined`. With this version, the customizer now unsets these properties + (sets them to `undefined`), allowing the end user to easily unset defaults (e.g. `filename`). + +- Minimum recommended node version bumped from + 10.13.0 to 14.20.0 + +- Plugin names are once again automatically determined + by analyzing the return value of the plugin function. Though this is + implemented in a backwards-compatible way, there is a + [small caveat][4]. + +#### ✨ Features + +- Add support for testing presets ([73b90b3][5]) +- Implement default filepath inference using Error stack trace ([9d1b321][6]) +- **src:** add `exec`/`execFixture` support via Node's VM module ([4754f42][7]) +- **src:** add support for "only", "skip", and "title" test options in fixtures ([#90][8]) ([89b58b5][9]) +- **src:** add support for arbitrary run order of plugin under test ([#91][10]) ([8c8b858][11]) +- **src:** add support for loading prettier configuration files in fixtures ([f54deda][12]) +- **src:** add TEST\_SKIP/TEST\_NUM\_SKIP/TEST\_ONLY/TEST\_NUM\_ONLY env variable support ([13626d1][13]) +- **src:** bring back (lightweight) plugin name inference ([#92][14]) ([f9ad903][15]) +- **src:** implement `titleNumbering` and `restartTitleNumbering` options ([09e792d][16]) +- **src:** implement standard `setup`/`teardown` run order ([4ea283f][17]) +- **src:** provide debug output support via debug package ([4c7c6e7][18]) +- Windows support ([f214995][19]) + +#### 🪄 Fixes + +- **src:** ensure test function errors are not swallowed by teardown function errors ([2acfe37][20]) +- **src:** fix fixtureOutputExt being ignored in root options.json ([#89][21]) ([481be19][22]) +- **src:** fix plugin run order for fixtures to match tests ([#88][23]) ([fbb6c19][24]) + +#### ⚙️ Build System + +- **deps:** bump prettier from 2.8.0 to 2.8.1 ([#98][25]) ([0bdb351][26]) +- **package:** restore @babel/core\@7.11.6 as minimum supported version ([00712c0][27]) +- Transmute codebase to TypeScript ([#96][28]) ([5f588e9][29]) +- Update tooling ([d5b4d9c][30]) + +#### 🔥 Reverted + +- _"test: make debugging names shorter and sweeter"_ ([0b869bb][31]) + +#### 🧙🏿 Refactored + +- Lodash.mergeWith customizer now allows unsetting options by setting them to `undefined` ([74af680][32]) +- Reorganize source into unified extensible tester pipeline w/ first-class fixtures support ([0c44392][33]) + +## [10.1.0][35] (2021-05-29) + +#### ✨ Features + +- Use babel.transformAsync when it's available ([#84][36]) ([969be11][37]) + +## [10.0.0][38] (2020-10-02) + +### 💥 Breaking Changes 💥 + +- Plugin name inference is no longer supported + +#### 🪄 Fixes + +- **pluginnameinference:** remove the inference. Default to "unknown plugin" ([#78][39]) ([91c22ec][40]) closes [#60][41] + +## [9.2.0][42] (2020-05-27) + +#### ✨ Features + +- Add 'fixtureOutputExt' configuration option ([#73][43]) ([ae67eee][44]) + +## [9.1.0][45] (2020-05-20) + +#### ✨ Features + +- Add types from definitely typed ([#70][46]) ([b5569f4][47]) + +### [9.0.1][48] (2020-04-10) + +#### 🪄 Fixes + +- Apply fix line endings to code and output in two spots ([#68][49]) ([f1c17ef][50]) + +## [9.0.0][51] (2020-03-23) + +### 💥 Breaking Changes 💥 + +- Requires Node >= 10.13.0 + +#### 🪄 Fixes + +- **node:** update to prettier\@2 and drop Node < 10.13 ([#66][52]) ([1e7ad06][53]) + +### [8.0.1][54] (2019-12-01) + +#### 🪄 Fixes + +- Avoid crash when importing without global expect ([#56][55]) ([a134785][56]) + +## [8.0.0][57] (2019-11-15) + +### 💥 Breaking Changes 💥 + +- Your snapshots will probably need to be updated with these changes. If you don't like the changes, then take a look at the README about overriding the formatResult and disabling the un-string snapshot serializer + +#### ✨ Features + +- Format result with prettier and unstring snapshots ([#55][58]) ([60e5c07][59]) + +### [7.0.4][60] (2019-11-14) + +#### 🪄 Fixes + +- Set configFile to false by default ([7b97a6f][61]) + +### [7.0.3][62] (2019-11-11) + +#### 🪄 Fixes + +- Support all babelrc files ([#54][63]) ([dd01d8b][64]) + +### [7.0.2][65] (2019-11-09) + +#### 🪄 Fixes + +- Remove unnecessary packages ([#52][66]) ([9d1b8ff][67]) + +### [7.0.1][68] (2019-08-19) + +#### 🪄 Fixes + +- Remove try/catch. ([523fc9a][69]) + +## [7.0.0][70] (2019-08-19) + +### 💥 Breaking Changes 💥 + +- Require Node 8 + +#### ✨ Features + +- Update all the things ([7c8296b][71]) + +## [6.5.0][72] (2019-08-18) + +#### ✨ Features + +- Jsx and tsx support ([#48][73]) ([9ea1783][74]) + +## [6.4.0][75] (2019-06-12) + +#### ✨ Features + +- Control which linefeed character to use ([#45][76]) ([8c38231][77]) + +### [6.3.1][78] (2019-06-12) + +#### 🪄 Fixes + +- Trim input and output correctly ([#44][79]) ([1d22086][80]) + +## [6.3.0][81] (2019-06-12) + +#### ✨ Features + +- Concat arrays in `babelOptions` ([#43][82]) ([b63e8e1][83]) + +### [6.2.1][84] (2019-05-12) + +#### 🪄 Fixes + +- **fixtures:** get options from root options.json ([#42][85]) ([556ca0d][86]) + +## [6.2.0][87] (2019-05-12) + +#### ✨ Features + +- **fixtures:** get plugin options for fixtures from options.json ([#41][88]) ([7b9e76d][89]) + +## [6.1.0][90] (2019-05-04) + +#### ✨ Features + +- **fixtures:** allow formatting fixtures results ([#39][91]) ([e6c219f][92]) + +### [6.0.1][93] (2019-03-14) + +#### 🪄 Fixes + +- Avoid returning values in describe blocks ([#38][94]) ([f3d7b5b][95]) + +## [6.0.0][96] (2019-02-14) + +### 💥 Breaking Changes 💥 + +- This upgrades to babel 7. You'll need to use babel 7 as well. + +#### ✨ Features + +- Upgrade to babel 7 ([#37][97]) ([a174a76][98]) closes [#23][99] + +### [5.5.2][100] (2018-11-17) + +#### 🪄 Fixes + +- **output:** allow empty output ([#35][101]) ([0a8d279][102]) + +### [5.5.1][103] (2018-08-17) + +#### 🪄 Fixes + +- Change babel-core import to optional require in default param ([#33][104]) ([2b33b36][105]) + +## [5.5.0][106] (2018-08-05) + +#### ✨ Features + +- Add typescript file extension support ([#32][107]) ([c8e49be][108]) + +## [5.4.0][109] (2018-06-10) + +#### ✨ Features + +- Read nested fixture directories ([#28][110]) ([1efc84a][111]) + +## [5.3.0][112] (2018-06-04) + +#### ✨ Features + +- Create automatically fixtures output.js files for new tests ([#27][113]) ([d48a8fc][114]) + +## [5.2.0][115] (2018-06-04) + +#### ✨ Features + +- Accept fixtureOutputName option for fixtures mode ([#26][116]) ([f3e1ad2][117]) + +## [5.1.0][118] (2018-06-02) + +#### ✨ Features + +- Provide your own implementation of babel ([#25][119]) ([cb230ec][120]) + +## [5.0.0][121] (2017-11-25) + +### 💥 Breaking Changes 💥 + +- You'll have to install `babel-core` yourself now. + +#### 🪄 Fixes + +- Move babel-core to peerDependencies & devDependencies ([#20][122]) ([46c70d1][123]) + +## [4.0.0][124] (2017-08-16) + +### 💥 Breaking Changes 💥 + +- Your snapshots will break (for the better). Just update them. Nothing else changed. + +#### ✨ Features + +- **test-numbers:** only use numbers for tests without titles ([#19][125]) ([6cd36d1][126]) + +## [3.3.0][127] (2017-07-18) + +#### ✨ Features + +- **formatresult:** add `formatResult` option ([#17][128]) ([6085c16][129]) + +### [3.2.2][130] (2017-07-06) + +#### 🪄 Fixes + +- Exclude transform-regenerator ([#16][131]) ([10d2b4f][132]) + +### [3.2.1][133] (2017-07-05) + +#### 🪄 Fixes + +- Assert should be (actual, expected) ([9fcb418][134]) + +## [3.2.0][135] (2017-06-30) + +#### ✨ Features + +- **tests:** add setup/teardown functions ([#14][136]) ([9b30ca3][137]) + +## [3.1.0][138] (2017-06-12) + +#### ✨ Features + +- Add ability to pass plugin options ([#13][139]) ([d7aa18a][140]) + +## [3.0.0][141] (2017-05-23) + +### 💥 Breaking Changes 💥 + +- Default parser options changed to remove recast + +#### 🪄 Fixes + +- **release:** manually release a major version ([c78460b][142]) closes [#11][143] + +## [2.0.0][144] (2017-05-19) + +### 💥 Breaking Changes 💥 + +- `fixtures` has been repurposed. See the docs. + +- `modifier` has been removed, use `only` and `skip` instead + +#### ✨ Features + +- **errors:** add errors config ([#5][145]) ([c157316][146]) +- **fixtures:** add `fixtures` directory ([#6][147]) ([6e1554d][148]) +- **tests:** add `only` and `skip`, remove `modifier` ([#7][149]) ([ad1d1b1][150]) + +### [1.1.1][151] (2017-05-16) + +#### 🪄 Fixes + +- Properly deindent and trim code and output ([eb60549][152]) + +## [1.1.0][153] (2017-05-16) + +#### ✨ Features + +- **tests:** add object API ([df54a40][154]) + +## [1.0.0][155] (2017-05-16) + +#### ✨ Features + +- **lib:** initial release ([fe80771][156]) + +[1]: https://conventionalcommits.org +[2]: https://semver.org +[3]: https://github.com/babel-utils/babel-plugin-tester/compare/v10.1.0...v11.0.0-canary.1 +[4]: https://github.com/babel-utils/babel-plugin-tester#pluginname-inference-caveat +[5]: https://github.com/babel-utils/babel-plugin-tester/commit/73b90b347051661ccc37d663419c1d89348dedfb +[6]: https://github.com/babel-utils/babel-plugin-tester/commit/9d1b321e162f337963faf84c2e7a9323c55c5155 +[7]: https://github.com/babel-utils/babel-plugin-tester/commit/4754f42d0a6e66b9cd0c26f8ec7b4bc935ac79d4 +[8]: https://github.com/babel-utils/babel-plugin-tester/issues/90 +[9]: https://github.com/babel-utils/babel-plugin-tester/commit/89b58b5c39b2b43dff77fac7243e7a17c5297053 +[10]: https://github.com/babel-utils/babel-plugin-tester/issues/91 +[11]: https://github.com/babel-utils/babel-plugin-tester/commit/8c8b858eb8e73493616563552360fb8e7fe8c452 +[12]: https://github.com/babel-utils/babel-plugin-tester/commit/f54dedaa9c1cf6f7546d2f1bceaa44407049dd6e +[13]: https://github.com/babel-utils/babel-plugin-tester/commit/13626d16b655a241bdffcb904b085ec62c79c6ec +[14]: https://github.com/babel-utils/babel-plugin-tester/issues/92 +[15]: https://github.com/babel-utils/babel-plugin-tester/commit/f9ad9034e062c48ae0aeab85248ee0cefc991853 +[16]: https://github.com/babel-utils/babel-plugin-tester/commit/09e792da2de0c5ac802c58096fb3dd03b7eb0b52 +[17]: https://github.com/babel-utils/babel-plugin-tester/commit/4ea283f4e73d69b7e77abb982c76cf4ff0d6b0e4 +[18]: https://github.com/babel-utils/babel-plugin-tester/commit/4c7c6e7094680d21ab59786b7f87fcfcfde332d2 +[19]: https://github.com/babel-utils/babel-plugin-tester/commit/f214995024e8c86ada4f9fd4b2a927e1767920a7 +[20]: https://github.com/babel-utils/babel-plugin-tester/commit/2acfe37996080c26d96504b9837bc2dc5284eaa2 +[21]: https://github.com/babel-utils/babel-plugin-tester/issues/89 +[22]: https://github.com/babel-utils/babel-plugin-tester/commit/481be191651b3b5d4a0fd550146a76a6e1e819c4 +[23]: https://github.com/babel-utils/babel-plugin-tester/issues/88 +[24]: https://github.com/babel-utils/babel-plugin-tester/commit/fbb6c1924f7f44d72ec12892cdce1df9aea09528 +[25]: https://github.com/babel-utils/babel-plugin-tester/issues/98 +[26]: https://github.com/babel-utils/babel-plugin-tester/commit/0bdb3515c69a0eaef2e9cb251772083e946e425a +[27]: https://github.com/babel-utils/babel-plugin-tester/commit/00712c067253599c37b43cdf648c232be414e0a9 +[28]: https://github.com/babel-utils/babel-plugin-tester/issues/96 +[29]: https://github.com/babel-utils/babel-plugin-tester/commit/5f588e9b8e38eb265037a8af54f442e42c302368 +[30]: https://github.com/babel-utils/babel-plugin-tester/commit/d5b4d9c207c3499851025b06449114585f494d1f +[31]: https://github.com/babel-utils/babel-plugin-tester/commit/0b869bb1c7ecfab115293a33233e175cf0738b64 +[32]: https://github.com/babel-utils/babel-plugin-tester/commit/74af680467dbc663cb82a5cd9c6581d1b5216ae5 +[33]: https://github.com/babel-utils/babel-plugin-tester/commit/0c4439292839da87508d027cbfbf2b7a96e7d6e7 +[34]: https://github.com/babel-utils/babel-plugin-tester/compare/v10.1.0...v0.0.0-semantically-released +[35]: https://github.com/babel-utils/babel-plugin-tester/compare/v10.0.0...v10.1.0 +[36]: https://github.com/babel-utils/babel-plugin-tester/issues/84 +[37]: https://github.com/babel-utils/babel-plugin-tester/commit/969be117ee279603244d0b413156c7995f403bd1 +[38]: https://github.com/babel-utils/babel-plugin-tester/compare/v9.2.0...v10.0.0 +[39]: https://github.com/babel-utils/babel-plugin-tester/issues/78 +[40]: https://github.com/babel-utils/babel-plugin-tester/commit/91c22ecc29598db2a99b16df29d986087e9cd1b4 +[41]: https://github.com/babel-utils/babel-plugin-tester/issues/60 +[42]: https://github.com/babel-utils/babel-plugin-tester/compare/v9.1.0...v9.2.0 +[43]: https://github.com/babel-utils/babel-plugin-tester/issues/73 +[44]: https://github.com/babel-utils/babel-plugin-tester/commit/ae67eeee0c344f066ebb518ae61498383f2e9167 +[45]: https://github.com/babel-utils/babel-plugin-tester/compare/v9.0.1...v9.1.0 +[46]: https://github.com/babel-utils/babel-plugin-tester/issues/70 +[47]: https://github.com/babel-utils/babel-plugin-tester/commit/b5569f48a90b3163ab7bdab8ab8d7f3bd50a49e8 +[48]: https://github.com/babel-utils/babel-plugin-tester/compare/v9.0.0...v9.0.1 +[49]: https://github.com/babel-utils/babel-plugin-tester/issues/68 +[50]: https://github.com/babel-utils/babel-plugin-tester/commit/f1c17ef49a3fc06cf030c34c9fa95c52a56ea929 +[51]: https://github.com/babel-utils/babel-plugin-tester/compare/v8.0.1...v9.0.0 +[52]: https://github.com/babel-utils/babel-plugin-tester/issues/66 +[53]: https://github.com/babel-utils/babel-plugin-tester/commit/1e7ad06bd20c26d1f933867bada159ec5d52e94f +[54]: https://github.com/babel-utils/babel-plugin-tester/compare/v8.0.0...v8.0.1 +[55]: https://github.com/babel-utils/babel-plugin-tester/issues/56 +[56]: https://github.com/babel-utils/babel-plugin-tester/commit/a13478519634702e87802ee5d761c88c04854098 +[57]: https://github.com/babel-utils/babel-plugin-tester/compare/v7.0.4...v8.0.0 +[58]: https://github.com/babel-utils/babel-plugin-tester/issues/55 +[59]: https://github.com/babel-utils/babel-plugin-tester/commit/60e5c078cd6d60894dd3bc20cb062d09eae562af +[60]: https://github.com/babel-utils/babel-plugin-tester/compare/v7.0.3...v7.0.4 +[61]: https://github.com/babel-utils/babel-plugin-tester/commit/7b97a6f3931bf1f13727b220c5dd6e468286f09b +[62]: https://github.com/babel-utils/babel-plugin-tester/compare/v7.0.2...v7.0.3 +[63]: https://github.com/babel-utils/babel-plugin-tester/issues/54 +[64]: https://github.com/babel-utils/babel-plugin-tester/commit/dd01d8bf5698b8517be7e1bbb9a273618a33d5ae +[65]: https://github.com/babel-utils/babel-plugin-tester/compare/v7.0.1...v7.0.2 +[66]: https://github.com/babel-utils/babel-plugin-tester/issues/52 +[67]: https://github.com/babel-utils/babel-plugin-tester/commit/9d1b8ff0e3145166639c27017da6bb935572fb2c +[68]: https://github.com/babel-utils/babel-plugin-tester/compare/v7.0.0...v7.0.1 +[69]: https://github.com/babel-utils/babel-plugin-tester/commit/523fc9a0489d5a4edb4d21b305e6eb71335e273f +[70]: https://github.com/babel-utils/babel-plugin-tester/compare/v6.5.0...v7.0.0 +[71]: https://github.com/babel-utils/babel-plugin-tester/commit/7c8296b7e8f9af13de2c7879f8c3a0098c9a957b +[72]: https://github.com/babel-utils/babel-plugin-tester/compare/v6.4.0...v6.5.0 +[73]: https://github.com/babel-utils/babel-plugin-tester/issues/48 +[74]: https://github.com/babel-utils/babel-plugin-tester/commit/9ea178305756496e1d5039665af6fddd4419630b +[75]: https://github.com/babel-utils/babel-plugin-tester/compare/v6.3.1...v6.4.0 +[76]: https://github.com/babel-utils/babel-plugin-tester/issues/45 +[77]: https://github.com/babel-utils/babel-plugin-tester/commit/8c382315912a2df755c17aa767c947f4538f5616 +[78]: https://github.com/babel-utils/babel-plugin-tester/compare/v6.3.0...v6.3.1 +[79]: https://github.com/babel-utils/babel-plugin-tester/issues/44 +[80]: https://github.com/babel-utils/babel-plugin-tester/commit/1d220860c4b2f10c78592fbe0d87c53639b897aa +[81]: https://github.com/babel-utils/babel-plugin-tester/compare/v6.2.1...v6.3.0 +[82]: https://github.com/babel-utils/babel-plugin-tester/issues/43 +[83]: https://github.com/babel-utils/babel-plugin-tester/commit/b63e8e13208d6724494c1bbbe9ff8aefffb412ca +[84]: https://github.com/babel-utils/babel-plugin-tester/compare/v6.2.0...v6.2.1 +[85]: https://github.com/babel-utils/babel-plugin-tester/issues/42 +[86]: https://github.com/babel-utils/babel-plugin-tester/commit/556ca0d37c753d9a0e0653fa956853f2299967e4 +[87]: https://github.com/babel-utils/babel-plugin-tester/compare/v6.1.0...v6.2.0 +[88]: https://github.com/babel-utils/babel-plugin-tester/issues/41 +[89]: https://github.com/babel-utils/babel-plugin-tester/commit/7b9e76d1dc8f5dc2a787fd9897647613ccde2e37 +[90]: https://github.com/babel-utils/babel-plugin-tester/compare/v6.0.1...v6.1.0 +[91]: https://github.com/babel-utils/babel-plugin-tester/issues/39 +[92]: https://github.com/babel-utils/babel-plugin-tester/commit/e6c219f8ce1f57837e8bc3e17127c0f4e07843a6 +[93]: https://github.com/babel-utils/babel-plugin-tester/compare/v6.0.0...v6.0.1 +[94]: https://github.com/babel-utils/babel-plugin-tester/issues/38 +[95]: https://github.com/babel-utils/babel-plugin-tester/commit/f3d7b5b4b7384e601233e1967764be5c91266991 +[96]: https://github.com/babel-utils/babel-plugin-tester/compare/v5.5.2...v6.0.0 +[97]: https://github.com/babel-utils/babel-plugin-tester/issues/37 +[98]: https://github.com/babel-utils/babel-plugin-tester/commit/a174a762f4a20a08ea67816ca0040488156655d3 +[99]: https://github.com/babel-utils/babel-plugin-tester/issues/23 +[100]: https://github.com/babel-utils/babel-plugin-tester/compare/v5.5.1...v5.5.2 +[101]: https://github.com/babel-utils/babel-plugin-tester/issues/35 +[102]: https://github.com/babel-utils/babel-plugin-tester/commit/0a8d27909c6afd055d89f940c2cf3182491b4e6c +[103]: https://github.com/babel-utils/babel-plugin-tester/compare/v5.5.0...v5.5.1 +[104]: https://github.com/babel-utils/babel-plugin-tester/issues/33 +[105]: https://github.com/babel-utils/babel-plugin-tester/commit/2b33b362f5fff648a76265a96b54afb2958cf765 +[106]: https://github.com/babel-utils/babel-plugin-tester/compare/v5.4.0...v5.5.0 +[107]: https://github.com/babel-utils/babel-plugin-tester/issues/32 +[108]: https://github.com/babel-utils/babel-plugin-tester/commit/c8e49be56250c552c2d117305170d51e5febf389 +[109]: https://github.com/babel-utils/babel-plugin-tester/compare/v5.3.0...v5.4.0 +[110]: https://github.com/babel-utils/babel-plugin-tester/issues/28 +[111]: https://github.com/babel-utils/babel-plugin-tester/commit/1efc84a7fbe56973890d1398da59b459929c1b65 +[112]: https://github.com/babel-utils/babel-plugin-tester/compare/v5.2.0...v5.3.0 +[113]: https://github.com/babel-utils/babel-plugin-tester/issues/27 +[114]: https://github.com/babel-utils/babel-plugin-tester/commit/d48a8fc2ea941dddf50dbcedaf136ab7d2618522 +[115]: https://github.com/babel-utils/babel-plugin-tester/compare/v5.1.0...v5.2.0 +[116]: https://github.com/babel-utils/babel-plugin-tester/issues/26 +[117]: https://github.com/babel-utils/babel-plugin-tester/commit/f3e1ad2417a27560fb9ac4de1effdb0e4e57234d +[118]: https://github.com/babel-utils/babel-plugin-tester/compare/v5.0.0...v5.1.0 +[119]: https://github.com/babel-utils/babel-plugin-tester/issues/25 +[120]: https://github.com/babel-utils/babel-plugin-tester/commit/cb230ec291a18a7298451aec2128eceb15712abf +[121]: https://github.com/babel-utils/babel-plugin-tester/compare/v4.0.0...v5.0.0 +[122]: https://github.com/babel-utils/babel-plugin-tester/issues/20 +[123]: https://github.com/babel-utils/babel-plugin-tester/commit/46c70d1fd0fd3d1c683230b8a5639ee3759770a3 +[124]: https://github.com/babel-utils/babel-plugin-tester/compare/v3.3.0...v4.0.0 +[125]: https://github.com/babel-utils/babel-plugin-tester/issues/19 +[126]: https://github.com/babel-utils/babel-plugin-tester/commit/6cd36d153598ba0356642cbdedc1c7ab5206d3b6 +[127]: https://github.com/babel-utils/babel-plugin-tester/compare/v3.2.2...v3.3.0 +[128]: https://github.com/babel-utils/babel-plugin-tester/issues/17 +[129]: https://github.com/babel-utils/babel-plugin-tester/commit/6085c16ff6d15c2651b0ade26d536e42838d337f +[130]: https://github.com/babel-utils/babel-plugin-tester/compare/v3.2.1...v3.2.2 +[131]: https://github.com/babel-utils/babel-plugin-tester/issues/16 +[132]: https://github.com/babel-utils/babel-plugin-tester/commit/10d2b4f09750bf29454800becdd6224807dd4b97 +[133]: https://github.com/babel-utils/babel-plugin-tester/compare/v3.2.0...v3.2.1 +[134]: https://github.com/babel-utils/babel-plugin-tester/commit/9fcb41816267f360a04f040135c8965cb2c5affd +[135]: https://github.com/babel-utils/babel-plugin-tester/compare/v3.1.0...v3.2.0 +[136]: https://github.com/babel-utils/babel-plugin-tester/issues/14 +[137]: https://github.com/babel-utils/babel-plugin-tester/commit/9b30ca31c4e165372aaa95bd5a8111d2b1e79207 +[138]: https://github.com/babel-utils/babel-plugin-tester/compare/v3.0.0...v3.1.0 +[139]: https://github.com/babel-utils/babel-plugin-tester/issues/13 +[140]: https://github.com/babel-utils/babel-plugin-tester/commit/d7aa18ac37fd19e74f6755143cf3152fcc6fa8f7 +[141]: https://github.com/babel-utils/babel-plugin-tester/compare/v2.0.0...v3.0.0 +[142]: https://github.com/babel-utils/babel-plugin-tester/commit/c78460bf77561c6b61c0a3191ccacb188f23fefc +[143]: https://github.com/babel-utils/babel-plugin-tester/issues/11 +[144]: https://github.com/babel-utils/babel-plugin-tester/compare/v1.1.1...v2.0.0 +[145]: https://github.com/babel-utils/babel-plugin-tester/issues/5 +[146]: https://github.com/babel-utils/babel-plugin-tester/commit/c157316dd261ada775910e21b7a6eedbaf147582 +[147]: https://github.com/babel-utils/babel-plugin-tester/issues/6 +[148]: https://github.com/babel-utils/babel-plugin-tester/commit/6e1554d5036225bb31a211e9efd3929b5d5c8509 +[149]: https://github.com/babel-utils/babel-plugin-tester/issues/7 +[150]: https://github.com/babel-utils/babel-plugin-tester/commit/ad1d1b13ccb3f31d47c15360b8f80ccc742e74be +[151]: https://github.com/babel-utils/babel-plugin-tester/compare/v1.1.0...v1.1.1 +[152]: https://github.com/babel-utils/babel-plugin-tester/commit/eb60549ebfe9a520f3fe3ca6852d50ab84464831 +[153]: https://github.com/babel-utils/babel-plugin-tester/compare/v1.0.0...v1.1.0 +[154]: https://github.com/babel-utils/babel-plugin-tester/commit/df54a4063df7b7ef9c73ddea2864dccff64ffbb8 +[155]: https://github.com/babel-utils/babel-plugin-tester/compare/fe80771efd866473899de03d66fcf940236ac753...v1.0.0 +[156]: https://github.com/babel-utils/babel-plugin-tester/commit/fe80771efd866473899de03d66fcf940236ac753 diff --git a/package-lock.json b/package-lock.json index d70579c..a5b1dd8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "babel-plugin-tester", - "version": "0.0.0-semantically-released", + "version": "11.0.0-canary.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "babel-plugin-tester", - "version": "0.0.0-semantically-released", + "version": "11.0.0-canary.1", "license": "MIT", "dependencies": { "debug": "^4.3.4", diff --git a/package.json b/package.json index 5479fdf..86aae65 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-tester", - "version": "0.0.0-semantically-released", + "version": "11.0.0-canary.1", "description": "Utilities for testing babel plugins", "keywords": [ "babel",