8 - `stg rebase ` learns `--interactive`; easily re-order, edit, squash,
9 fixup, or delete patches via your editor
10 - `stg rebase` learns `--autostash`; stash changes before the rebase and
11 apply them after. Also configurable with the `stgit.autostash`
13 - `stg edit` can now rename patches (#119)
14 - `stg edit` gains helpful instructions (#138)
15 - `stg new` learns `--verbose`, which includes a diff in the editor
16 window (similar to `git commit --verbose`). This behavior is also
17 configurable with the `commit.verbose` configuration option
20 - The editor window text for `stg squash` has been modified to mirror
21 git's behavior -- the squash edit message now includes all commits
25 - Repair crash when attempting to export empty patch (#112)
26 - Exact command name matches are unambiguous (#110)
27 - Exiting with an empty `stg edit` editor will now abort the edit;
28 previously it would delete your commit message. (#138)
29 - Repair completions when stg.series.description is enabled in config
32 - Add link to coverage.io project to CONTRIBUTING.md
33 - Set smart `exclude_lines` default for 'coverage'
34 - Expanded test suite for `stg edit`
42 - StGit GPG-signs patches when `commit.gpgsign` is set (#12)
43 - Support `core.hooksPath` in git config
44 - Add `-C` option for `stg import` and `stg fold` (#18)
47 - Allow importing mail and series from urls (#94)
48 - `stg refresh --edit` may also use `--diff` and `--diff-opts` (#98)
49 - `stg goto` allows sha1 of a patch instead of patch name (#93)
52 - Repair hang in `stg pull -m`, `stg goto -m`, and `stg push -m`
53 - Repair `stg mail` to show diffstat of whole series (#104)
54 - Repair MANIFEST.in to include AUTHORS.md and README.md files
60 - Drop support for Python < 3.5
61 - Remove previously deprecated `stg publish` command
62 - Removed contrib scripts: `stg-swallow`, `stg-fold-files-from`,
63 `stg-dispatch`, `stg-whatchanged`, and `stg-show-old`
66 - The pre-commit hook is now run for `stg refresh`
67 - New `--spill` option for `stg refresh`
68 - Add stgit.series.description config option (#88)
69 - Official support for Python versions up to 3.9
72 - Stack metadata format 4. All metadata now kept in Git objects; no more
73 stack state files in .git/patches. **A one-way auto-upgrade to format
74 version 4 will occur when StGit commands are run on an existing StGit
76 - Use `python3` in shebangs instead of `python`
77 - `contrib/stgbashprompt.sh` is no longer executable
78 - Internal docstrings now use reStructuredText instead of Epytext
81 - Importing large patches is much, much faster (#66)
82 - Other performance improvements when dealing with large patches
83 - Repair diffstat when outside work tree root (#62)
84 - Use encoded (string) environment variables on Windows (#79)
85 - Fix `stg pull` when no upstream is configured (#83)
86 - Fix `refresh` crash with path limiting and files added to index (#85)
87 - Repair `new` with patchdescr.template crash (#87)
88 - Repair `log` from worktree subdir with patches specified
89 - Repair `import` allowing/generating duplicate patch names (#64)
90 - Repair `mail --auto` to strip comments after addrs (#91)
96 - Drop support for Python 3.3; Python 2 (2.6 and 2.7) remain
97 deprecated, but supported for one last release
98 - Tutorial is removed; it now exists as part of the website
101 - Python 2.x support is deprecated and will be removed in a future
105 - Support html5 output of docs from asciidoc
106 - Add `--expose` option for `stg pick` to allow picked commit message to
110 - Limit mail diffstat to 72 columns
111 - Added pyproject.toml file for black configuration
112 - Minimum Git version is 2.2.0
113 - Quote stg and subcommand in man page synopsis
114 - Replaced RELEASENOTES with this CHANGELOG.md
115 - Replaces Documentation/SubmittingPatches with CONTRIBUTING.md
118 - Repair MANIFEST.in and generated source dist
119 - Repair importing mail with ": " (colon space) in subject
120 - Fix mail cover letter shortlog
121 - Fix mail cover letter diffstat
122 - `stg series` now only outputs colors when `isatty()`
123 - Repair mail SSL check (#57)
124 - Repair `stg mail` with both `-a` and `-e` options (#58)
125 - Remove empty short-opt for `--no-submodules` of `stg refresh`
126 - Repair build.py for Python 2 with explicit `flush()`
127 - `stgit.refreshsubmodules` added to sample gitconfig
130 - Update docs build system from upstream Git docs
131 - Use coverage contexts to map commands to covered lines
133 - Use GitHub Actions instead of TravisCI
134 - Format StGit source using black formatter
136 ## [0.22] - 2020-03-02
139 - Remove debian packaging; downstream Debian uses its own anyway
142 - Python 2.x support is deprecated and will be removed in the next StGit
144 - `stg publish` is deprecated and will be removed in the next StGit
148 - `stg import` has new --keep-cr option, like `git mailsplit`
151 - `stg new` now includes patch name in log message
152 - `stg branch --rename` can now rename the current branch
153 - `stg branch --create` now works even if the workspace is dirty,
154 consistent with `git checkout`
155 - `stg branch --description` now works on both regular and stgit
157 - `stg edit --diff` now implies `--edit`
158 - `stg refresh` and `stg edit` now reset the committer information,
159 consistent with `stg push`
160 - git notes are now preserved when patches are modified
161 - Tutorial improvements
162 - Many additional tests and test improvements
163 - All stgit commands now use "new" git library infrastructure
166 - `stg branch --create` inherits remote correctly from parent commitish
167 - Patch names are checked earlier to avoid inconsistent stack states
168 - Improved commit data parsing and handling of non-UTF8 encodings
169 - Repair git error messages when checking stgit version from outside a
173 ## [0.21] - 2019-10-28
176 - Faster handling of large patches (#44)
179 - Build reproducibility repairs (Thanks reproducible-builds.org team!)
180 - Python can now be run with optimizations (`python -O`)
181 - `stg log` now prints trailing newline
182 - Improved command line option parsing for `stg log`
185 ## [0.20] - 2019-10-04
188 - `stg patches -d` can now output colored diffs.
189 - `stg publish --overwrite` allows branch to be overwritten instead of
190 creating new commits.
191 - `stg log --clear` deletes the stack's log history. Use with caution.
192 - Fish shell completions for stg.
193 - Zsh completions for stg.
194 - `stg mail --domain` option overrides the host's domain in the message
198 - Branch protection metadata now captured in config instead of
199 .git/patches/<branch>protect file. This updates stgit's metadata
200 format from v2 to v3.
201 - `stg diff` no longer shows binary diffs by default. Use `-O--binary`
202 or add `--binary` to stgit.diff-opts in config.
203 - Diagnostic output is now routed to stderr instead of stdout.
204 Diagnostic output is also now sent to stderr unconditionally, i.e. no
205 more isatty() test (#35).
206 - Converted to "new" lib infrastructure: `show`, `patches`, `diff`,
207 `pick`, `pull`, `rebase`, and `fold`.
210 - `stg show` detects conflicting --applied and --unapplied options.
211 - `stg show --stat` now shows commit headers.
212 - `stg patches --diff` now shows proper diff instead of `b'...'` repr of
214 - `stg diff --range` detects some invalid values (e.g. `-r ..`).
215 - Date parsing is now more portable, only use platform specific `date`
216 as last parsing option. Affects, e.g., `stg refresh --authdate`.
217 - Repaired seach path for templates to avoid looking in Python
218 site-packages directory.
219 - Ensure stdout and stderr are flushed. Rarely affected `stg diff`.
220 - `stg repair` will now fail if extra command line arguments are
222 - Bash completions are now generated in a reproducible manner.
223 - `stg edit --diff` on an empty patch no longer crashes.
224 - `stg pick` no longer fails when picked commit has empty message (#39).
225 - `stg rebase` no longer crashes when there are conflicts (#34).
226 - `stg pick` no longer crashes if --name is not provided when picking a
227 regular commit object.
228 - Improved test coverage for: branch, diff, pick, sync,
229 - New tests for: files, patches, fold, series
230 - Portable use of iconv, sort, and sed in tests.
231 - Linting using flake8 and isort.
232 - All Python code now conforms to PEP-8.
233 - Updated test infrastructure from git 2.20.
234 - Parallel tests with coverage (`make -j4 coverage`) now works.
235 - Documentation build is not included in code coverage.
236 - Repaired log end messages when using `STGIT_SUBPROCESS_LOG=debug`.
237 - Renamed "dunder" instance attributes to improve debugging.
238 - Fail faster when patch name has slash ('/') (#24).
244 - Python 3 support. StGit supports Python 2.6, 2.7, 3.3, 3.4, 3.5, 3.6,
245 and 3.7. PyPy interpreters are also supported.
246 - Submodules are now ignored when checking if working tree is clean.
247 Submodules are also not included by default when refreshing a patch.
248 - Config booleans are now parsed similarly to git-config.
249 - `contrib/stgit.el` is now licenced with GPLv2.
250 - Add continuous integration (travis-ci) and code coverage (coveralls)
252 - Many new test cases were added.
255 - Repair handling of emails with utf-8 bodies containing latin-1
256 characters. Also correctly decode email headers containing quoted
258 - StGit's version is now correct/available in the release archive.
264 - `commit-msg` hook support for easier integration with Gerrit, allowing
265 a Change-Id line to be inserted in the commit message
266 - `stg mail` improvements for 'Suggested-by:' tag and auto generation of
267 Cc for the cover letter based on all tags in the series
268 - `stg mail` bash completion for the --to, --cc and --bcc options based
269 on the content of the [mail "alias"] section of Git configuration
270 - `stg edit --review` option to add a 'Reviewed-by:' tag
271 - `stg pop --spill` functionality to allow popping a patch from the
272 stack while keeping its modification in the tree
275 - Project page details updated (gna.org has been shut down)
278 - Various fixes and test coverage improvements
281 ## [0.17.1] 2013-09-30
284 - Test suite improvements.
285 - Print tracebacks to stderr.
286 - Run test suite in parallel.
289 - Fix dirty index errors when resolving conflicts.
290 - Fix --authdate date parsing.
296 - `stg delete --top` option for deleting the top patch.
297 - `stg branch --merge` option for merging the work tree changes into the
299 - Support for sending patches both as attachment and inline.
302 - `stg mail` no longer filters explicitly added `--cc` sender address.
303 - `stg refresh` warns when index is dirty.
306 - Fix for parsing the commit header correctly.
307 - Several `stgit.el` (Emacs mode) improvements.
308 - Fix `stg status --reset` error messages.
309 - HTML documentation fix.
310 - Email template fixes.
316 - UI adjustments to better match the Git commands.
317 - `stg status` is an alias for `git status`.
318 - `stg reset --hard` behaves similarly to the corresponding git
320 - `stg branch --cleanup` option to remove the StGit metadata for a
322 - `stg mail` can use `git send-email` directly.
323 - Vim syntax highlighting for StGit commit messages.
326 - Several improvements to the Emacs mode (stgit.el).
333 - The commands "stg add", "stg rm", "stg cp", and "stg resolved" were
334 removed, since there are corresponding Git equivalents.
337 - New core infrastructure for repository operations, including:
338 - Infinite undo/redo operations and corresponding commands.
339 - Automatic rollback of changes following a failed operation (using
340 transactions)---this ensures that StGit commands either succeed or
341 do nothing. Previously, every commands had its own ad hoc
342 implementation of this.
343 - Some commands were added, including
344 - `stg squash`, for combining two or more patches into one.
345 - `stg publish`, for maintaining merge-friendly branches (which are
347 - `stg prev/next` for printing the name of the previous or next patch
349 - The `stg import` and `stg fold` commands support the `-p N` option for
350 stripping leading slashes from diff paths.
351 - The `stg import` and `stg fold` commands support the `--reject` option
352 for leaving rejected hunks in corresponding `*.rej` files.
353 - New patch identification syntax: `<branch>:<patch>` (see documentation
354 for the "stg id" command).
355 - Autosigning of imported patches when `sign.autosign` configuration
357 - A powerful Emacs mode for StGit was added to the "contrib" directory.
358 It displays the patch stack in an Emacs buffer, and can handle all
360 - Man pages and an improved tutorial.
363 - Improved bash tab-completion, automatically generated from the stg
367 ## [0.14.3] 2008-06-08
368 ## [0.14.2] 2008-13-24
369 ## [0.14.1] 2007-12-11