|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [2.0.0-alpha.1] 2022-06-17 |
| 4 | + |
| 5 | +### Removed |
| 6 | + |
| 7 | +### Added |
| 8 | +- `stg series` gains the `-i/--commit-id` option to display patches' |
| 9 | + commit ids. |
| 10 | +- `stg series` colorized output is modified. The main change is that |
| 11 | + patch descriptions are no longer yellow. |
| 12 | +- `stg version` now displays copyright and license statements. |
| 13 | +- `stg version` gains `-s/--short` flag to show shortened version info. |
| 14 | +- The `stgit.diff-opts` configuration variable is now respected as it |
| 15 | + was in the Python implementation. |
| 16 | +- `stg completion` command provides runtime support for shell completions. |
| 17 | +- `stg completion bash` generates bash shell completion script. |
| 18 | +- `stg completion fish` generates fish shell completion script. |
| 19 | +- `stg completion zsh` outputs zsh shell completion script. |
| 20 | +- `stg completion list` shows StGit commands and aliases and is used at |
| 21 | + completion-time by shell completion scripts. |
| 22 | + |
| 23 | +### Changed |
| 24 | +- The `-O/--diff-opts` flag now allows both multiple space separated |
| 25 | + opts in one value as well as multiple occurrences of `-O/--diff-opts` |
| 26 | + on the same command line. This behavior is compatible with the Python |
| 27 | + implementation. |
| 28 | +- `stg series` help output splits options into a few sections. |
| 29 | +- Dependencies are updated to more recent versions in Cargo.lock. |
| 30 | + |
| 31 | +### Fixed |
| 32 | +- `stg edit --set-tree` no longer causes the interactive editor to be |
| 33 | + implicitly invoked. |
| 34 | +- Repair build for non-Linux unix targets (including MacOS) and Windows |
| 35 | + targets. |
| 36 | +- Avoid case insensitive patch name collisions. On operating systems |
| 37 | + with case-insensitive paths, patch names that only differ by case lead |
| 38 | + to patch reference collisions. StGit now ensures that patch names are |
| 39 | + distinct under case insensitive comparisions. |
| 40 | +- Add missing `-t` short option for `--set-tree` for `stg edit`. |
| 41 | +- Add missing `-k` short option for `--keep`. |
| 42 | + |
| 43 | + |
| 44 | +## [2.0.0-alpha.0] 2022-05-17 |
| 45 | + |
| 46 | +### Removed |
| 47 | +- `stg edit` no longer accepts `-O/--diff-opts`. Custom diff options is |
| 48 | + in conflict with editable diffs since many (most?) diff options cause |
| 49 | + the diff to no long be applicable. |
| 50 | +- `stg files` no longer accepts `-O/--diff-opts`. This option was of |
| 51 | + marginal value since it only had a possible side effect when `--stat` |
| 52 | + was being used. |
| 53 | +- `stg clone` is removed (at least for the time being). Use `git clone` |
| 54 | + and `stg init` instead. |
| 55 | +- `stg mail` is removed, but will be re-added or replaced prior to the |
| 56 | + 2.0.0 release. |
| 57 | + |
| 58 | +### Added |
| 59 | +- `stg new --refresh` allows a new patch to be refreshed with changes in |
| 60 | + one step. The `-i/--index`, `-F/--force`, `-s/--submodules`, and |
| 61 | + `--no-submodules` options from `stg refresh` are also available to |
| 62 | + `stg new`. |
| 63 | +- `stg id` now accepts the `-b/--branch` option. |
| 64 | +- `stg spill` replaces `stg refresh --spill`. |
| 65 | + |
| 66 | +### Changed |
| 67 | +- The `--ack` and `--review` options now optionally take a value. The |
| 68 | + `--ack-by` and `--review-by` options are deprecated. |
| 69 | +- Commands such as `stg goto`, `stg push`, and `stg pop` now require |
| 70 | + full/correct patch names on the command line and no longer accept |
| 71 | + unambiguous patch name prefixes. When an inexact patch name is |
| 72 | + provided on the command line, the error message will now indicate |
| 73 | + similar valid patch names. |
| 74 | +- `stg branch` output is now generally less verbose. |
| 75 | +- `stg branch --describe` replaces `stg branch --description`. The |
| 76 | + `--description` subcommand remains supported as a hidden alias to |
| 77 | + `--describe`, but the description string must now be provided as its |
| 78 | + own argument; i.e. `--description="description string"` is no longer |
| 79 | + supported. |
| 80 | +- `stg branch --list` now produces colorized output. The `--color` |
| 81 | + option or `NO_COLOR` environment variable may be used to affect this |
| 82 | + behavior. |
| 83 | +- `stg branch --rename` now supports renaming regular git branches in |
| 84 | + addition to StGit-enabled branches. |
| 85 | +- `stg clean` now uses `-A` and `-U` short options for `--applied` and |
| 86 | + `--unapplied` instead of `-a` and `-u`. This is done for consistency |
| 87 | + with `stg series` and `stg show`. |
| 88 | +- `stg import` now only recognizes compressed patches by their file |
| 89 | + extension (`.bz2` or `.gz`) and no longer attempts to decompress using |
| 90 | + all known decompressors. |
| 91 | +- `stg import` support for compressed input files is selectable at |
| 92 | + compile time using the `import-compressed` feature. |
| 93 | +- `stg import` support for importing from a URL is selectable at compile |
| 94 | + time using the `import-url` feature. |
| 95 | +- `stg log` now colorizes output by default. The `--color` option or |
| 96 | + `NO_COLOR` environment variable may be used to affect this behavior. |
| 97 | +- `stgit.new.verbose` changed to `stgit.edit.verbose` and now affects edit |
| 98 | + behavior for `edit`, `refresh`, and `squash` along with `new`. |
| 99 | +- `stg new` now accepts `-e/--edit` and `-d/--diff` instead of `-v/--verbose` |
| 100 | +- `stg pick` now allows a mix of commits and patches to be picked |
| 101 | + whereas previously only a single commit xor multiple patches could be |
| 102 | + picked. |
| 103 | +- `stg pick` now performs a single stack transaction for all the picked |
| 104 | + patches/commits instead of one transaction per pick. |
| 105 | +- `stg rebase --interactive` the "squash" and "fixup" instructions may |
| 106 | + no longer be applied to the first patch in the instruction list. The |
| 107 | + stated semantics of both "squash" and "fixup" is that they squash the |
| 108 | + labeled patch with the preceding patch, which is not possible/valid |
| 109 | + when there is no preceding patch. |
| 110 | +- `stg refresh` no longer has the `--spill` flag. Use `stg spill` |
| 111 | + instead. |
| 112 | +- Updated colorized output for `stg series`. |
| 113 | +- `stg series` now requires patch range arguments to be both in-order |
| 114 | + and contiguous. Constraining patch ranges in this manner ensures that |
| 115 | + the output from `stg series` is always a valid/correct view of a |
| 116 | + subset of the series. |
| 117 | +- `stg show` diff can now be limited to certain paths by specifying path |
| 118 | + limits on the command line. |
| 119 | +- `stg show` diff output respects the `--color` option. |
| 120 | +- The new `--signoff` patch edit option supercedes the deprecated |
| 121 | + `--sign` and `--sign-by` options. `--signoff` without its optional |
| 122 | + value does the same thing as `--sign`, while `--signoff=<value>` does |
| 123 | + the same thing as `--sign-by=<value>`. |
| 124 | +- `stg squash` now allows the full suite of patch edit options, |
| 125 | + including `-d/--diff`. Previously only a few message-related options |
| 126 | + were available. |
| 127 | + |
| 128 | +### Fixed |
| 129 | +- `stg branch --create` inherits the current branch's remote branch |
| 130 | + configuration, if available. The Python implementation had an apparent |
| 131 | + bug that prevented inheriting the remote branch configuration when |
| 132 | + creating from the current branch. |
| 133 | + |
| 134 | + |
3 | 135 | ## [1.5] 2022-01-28 |
4 | 136 |
|
5 | 137 | ### Removed |
|
0 commit comments