Skip to content

Tags: chukamorka/cz-cli

Tags

v3.1.0

Toggle v3.1.0's commit message
feat(cli): Implement --hook option for git hooks integration (commiti…

…zen#615)

fixes commitizen#448 (re commitizen#462)

This pr allows project maintainers to enforce Commitizen generated commit messages as part of the workflow triggered by the `git commit` command. 

* implements the `--hook` flag, which directs Commitizen to edit the `.git/COMMIT_EDITMSG` file directly. 
* documents the use of the `--hook` flag in the `README`, both through traditional `git hooks` and `husky`.

v3.0.7

Toggle v3.0.7's commit message
fix(config loader): deal with config file charset (commitizen#584)

Make sure that config file charset is utf-8, or throw detail to notify

v3.0.6

Toggle v3.0.6's commit message
fix(deps): update dependency find-node-modules to v2 (commitizen#611)

This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| find-node-modules | dependencies | major | `1.0.4` -> `2.0.0` | [source](https://togithub.com/callumacrae/find-node-modules) |

---

### Release Notes

<details>
<summary>callumacrae/find-node-modules</summary>

### [`v2.0.0`](https://togithub.com/callumacrae/find-node-modules/compare/v1.0.4...v2.0.0)

[Compare Source](https://togithub.com/callumacrae/find-node-modules/compare/v1.0.4...v2.0.0)

</details>

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#commitizen/cz-cli).

v3.0.5

Toggle v3.0.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(package): avoid depending on flatmap-stream (commitizen#591)

v3.0.4

Toggle v3.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: Revert deal with config file charset (commitizen#525) (commitize…

…n#583)

This reverts commit c74eeb9.

v3.0.3

Toggle v3.0.3's commit message
fix(config loader): deal with config file charset (commitizen#525)

make sure that config file charset is utf-8, or throw detail to notify.
for commitizen#465 [Question] SyntaxError: Parsing JSON at for commitizen config failed

v3.0.2

Toggle v3.0.2's commit message
fix(cli): Make `gz -a` working again (commitizen#573)

closes commitizen#543

v3.0.1

Toggle v3.0.1's commit message
fix(deps): update dependency inquirer to v6 (commitizen#541)

This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| inquirer | dependencies | major | `1.2.3` -> `6.2.0` | [source](https://renovatebot.com/gh/SBoudrias/Inquirer.js) |

---

### Release Notes

<details>
<summary>SBoudrias/Inquirer.js</summary>

### [`v6.0.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v6.0.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v5.2.0...v6.0.0)

##### Breaking

-   Update to Rx.js v6

##### New features

-   New prompt type `number`.
-   `transformer` option now receive `{ isFinal }` as a flag to allow transforming the final answer differently.
-   Use `name` as default message if `message` isn't provided.
-   Hide default values for `password` prompt.

### [`v5.2.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v5.2.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v5.1.0...v5.2.0)

Now passing the `answers` hash in the `transformer` function arguments.

### [`v5.1.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v5.1.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v5.0.1...v5.1.0)

-   Added a `transformer` option to the `input` prompt allowing you to modify the displayed user input. (Useful to modify colors as user type, etc)

### [`v5.0.1`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v5.0.1)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v5.0.0...v5.0.1)

-   Fix bug with the `editor` prompt.

### [`v5.0.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v5.0.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v4.0.2...v5.0.0)

**Breaking**: Upgrade to RxJS v5 which updates a bunch of Reactive interface method names.

For people not using the Reactive interface directly, this new major release should just work out of the box.

### [`v4.0.2`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v4.0.2)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v4.0.1...v4.0.2)

Improve Windows rendering to properly match terminal size

### [`v4.0.1`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v4.0.1)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v4.0.0...v4.0.1)

-   Update dependency to fix a LGPL license issue.

### [`v4.0.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v4.0.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.3.0...v4.0.0)

#### Breaking

The core codebase went through a major es5 to 6 refactor. As such, we're **dropping support for Node 4**.

This change will likely require **changes to the community Plugins** as es6 classes are enforcing more restriction (like `constructor` can only be invoked with `new`).

#### New features / Bug fixes

-   `list`, `expand` and `rawlist` prompts now accepts the value as default (previously it would only accept the choice index).
-   The pagination now properly handles multiline choices.
-   Fix bug where invalid default choices would break the UI.

### [`v3.3.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.3.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.2.3...v3.3.0)

-   Added `prefix` and `suffix` options to question object to allow you to edit the `?` prefix or add a custom suffix.

### [`v3.2.3`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.2.3)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.2.2...v3.2.3)

-   Fix bug where user input prompt containing ANSI code would offset the cursor.

### [`v3.2.2`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.2.2)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.2.1...v3.2.2)

-   Fix `BottomBar` with multi-line content.

### [`v3.2.1`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.2.1)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.2.0...v3.2.1)

-   Fix: gracefully exit process on `SIGINT` (stopped calling `process.exit()` directly)

### [`v3.2.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.2.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.1.1...v3.2.0)

-   Change to list prompts `default` handling:
    -   If number, default is the choice index
    -   Any other defined values, find the value in the choice array. (previously it'd only support strings)
-   Bug: SIGINT was not properly exiting the process for some users
-   Cleanup: bump dependencies

### [`v3.1.1`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.1.1)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.1.0...v3.1.1)

-   Fix bug where password would show after a validation error.

### [`v3.1.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.1.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.6...v3.1.0)

-   `password` prompt can now rendered hidden input (Unix style)
-   `filter` function now also receive the current answers as argument
-   Smaller package size

### [`v3.0.6`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.6)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.5...v3.0.6)

-   Fix help message not always disappearing after interaction in list prompt
-   Fix command line not properly cleaned when sending a SIGINT (`ctrl-c`) signal on Ubuntu

### [`v3.0.5`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.5)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.4...v3.0.5)

Properly respect the pageSize option when deciding whether to paginate or not.

### [`v3.0.4`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.4)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.3...v3.0.4)

Fix extra whitespace being printed [#&#8203;506](https://renovatebot.com/gh/SBoudrias/Inquirer.js/issues/506)

### [`v3.0.3`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.3)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.2...v3.0.3)

-   Unsure we properly unmute the stdout on force close.

### [`v3.0.2`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.2)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.1...v3.0.2)

-   Properly reset the prompt state when a SIGINT signal is emitted. (this fix bug where texts under the input wouldn't be cleared off the terminal after emitting ctrl-c)
-   Fix bug with scrollable list centering

### [`v3.0.1`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.1)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.0...v3.0.1)

-   Fix import bug

### [`v3.0.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v2.0.0...v3.0.0)

-   Drop support for Node &lt; 4
-   Allow failing async validation by rejecting the returned Promise
-   Fix bug with bottom bar

### [`v2.0.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v2.0.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v1.2.3...v2.0.0)

-   Answer `name` with `.` are now expand in the answer object. e.g. `name.sub` would generate an answer object formatted as `{name: {sub: 'answer'}}`.
-   `expand` prompt default value if not specified is now `help`.
-   Drop support for node 0.10 and 0.12

</details>

---

### Renovate configuration

:date: **Schedule**: No schedule defined.

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#commitizen/cz-cli).

v3.0.0

Toggle v3.0.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
feat: Drop support for Node.js <6.x, update dependencies (commitizen#566

)

BREAKING CHANGE: Older versions of Node.js are no longer supported

Includes most updates with the exception of semantic-release which breaks on windows. To be investigated in a later release.

v2.10.1

Toggle v2.10.1's commit message
chore(deps): update dependency eslint-plugin-standard to v2.3.1 (comm…

…itizen#492)

This Pull Request updates dependency [eslint-plugin-standard](https://github.com/xjamundx/eslint-plugin-standard) from `v2.0.1` to `v2.3.1`



<details>
<summary>Release Notes</summary>

### [`v2.3.1`](standard/eslint-plugin-standard@v2.3.0...v2.3.1)
[Compare Source](standard/eslint-plugin-standard@v2.3.0...v2.3.1)


---

### [`v2.3.0`](standard/eslint-plugin-standard@v2.2.0...v2.3.0)
[Compare Source](standard/eslint-plugin-standard@v2.2.0...v2.3.0)


---

### [`v2.2.0`](standard/eslint-plugin-standard@c9a1dfb...v2.2.0)
[Compare Source](standard/eslint-plugin-standard@c9a1dfb...v2.2.0)


---

### [`v2.1.1`](standard/eslint-plugin-standard@v2.1.0...c9a1dfb)
[Compare Source](standard/eslint-plugin-standard@v2.1.0...c9a1dfb)


---

### [`v2.1.0`](standard/eslint-plugin-standard@v2.0.1...v2.1.0)
[Compare Source](standard/eslint-plugin-standard@v2.0.1...v2.1.0)


---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).