Cleanup .gitignore
[stgit.git] / CHANGELOG.md
blob4b22bdea81aafba496af31753baccf7296621679
1 # Changelog
3 ## [Unreleased]
5 ### Removed
7 ### Added
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`
12   configuration option
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
18 - `stg push` and `stg float` learn `--noapply` option; allows patches
19   to be reordered without updating worktree and deferring merge conflict
20   resolution (#144)
22 ### Changed
23 - Use setuptools instead of distutils for packaging
24 - No git or python version checks in setup.py
25 - Use different dynamic versioning system
26 - Install `stg` executable as console_script entry point
27 - More sophisticated search for bash.exe on Windows when running hooks
28 - The editor window text for `stg squash` has been modified to mirror
29   git's behavior -- the squash edit message now includes all commits
30   (#71)
32 ### Fixed
33 - Repair crash when attempting to export empty patch (#112)
34 - Exact command name matches are unambiguous (#110)
35 - Exiting with an empty `stg edit` editor will now abort the edit;
36   previously it would delete your commit message. (#138)
37 - Repair completions when stg.series.description is enabled in config
38 - Workaround child process reaping race on Windows (#78)
39 - Repair crash with `stg float --series` when bad patch name in series
40 - Repair zsh completion for `stg float` to accept multiple patch names
42 ### Internal
43 - Add link to coverage.io project to CONTRIBUTING.md
44 - Set smart `exclude_lines` default for 'coverage'
45 - Expanded test suite for `stg edit`
46 - Add pkgtest.py script to help test StGit packaging
49 ## [1.1] 2021-04-30
51 ### Removed
53 ### Added
54 - StGit GPG-signs patches when `commit.gpgsign` is set (#12)
55 - Support `core.hooksPath` in git config
56 - Add `-C` option for `stg import` and `stg fold` (#18)
58 ### Changed
59 - Allow importing mail and series from urls (#94)
60 - `stg refresh --edit` may also use `--diff` and `--diff-opts` (#98)
61 - `stg goto` allows sha1 of a patch instead of patch name (#93)
63 ### Fixed
64 - Repair hang in `stg pull -m`, `stg goto -m`, and `stg push -m`
65 - Repair `stg mail` to show diffstat of whole series (#104)
66 - Repair MANIFEST.in to include AUTHORS.md and README.md files
69 ## [1.0] 2021-02-07
71 ### Removed
72 - Drop support for Python < 3.5
73 - Remove previously deprecated `stg publish` command
74 - Removed contrib scripts: `stg-swallow`, `stg-fold-files-from`,
75   `stg-dispatch`, `stg-whatchanged`, and `stg-show-old`
77 ### Added
78 - The pre-commit hook is now run for `stg refresh`
79 - New `--spill` option for `stg refresh`
80 - Add stgit.series.description config option (#88)
81 - Official support for Python versions up to 3.9
83 ### Changed
84 - Stack metadata format 4. All metadata now kept in Git objects; no more
85   stack state files in .git/patches. **A one-way auto-upgrade to format
86   version 4 will occur when StGit commands are run on an existing StGit
87   branch.**
88 - Use `python3` in shebangs instead of `python`
89 - `contrib/stgbashprompt.sh` is no longer executable
90 - Internal docstrings now use reStructuredText instead of Epytext
92 ### Fixed
93 - Importing large patches is much, much faster (#66)
94 - Other performance improvements when dealing with large patches
95 - Repair diffstat when outside work tree root (#62)
96 - Use encoded (string) environment variables on Windows (#79)
97 - Fix `stg pull` when no upstream is configured (#83)
98 - Fix `refresh` crash with path limiting and files added to index (#85)
99 - Repair `new` with patchdescr.template crash (#87)
100 - Repair `log` from worktree subdir with patches specified
101 - Repair `import` allowing/generating duplicate patch names (#64)
102 - Repair `mail --auto` to strip comments after addrs (#91)
105 ## [0.23] 2020-06-12
107 ### Removed
108 - Drop support for Python 3.3; Python 2 (2.6 and 2.7) remain
109   deprecated, but supported for one last release
110 - Tutorial is removed; it now exists as part of the website
112 ### Deprecated
113 - Python 2.x support is deprecated and will be removed in a future
114   release
116 ### Added
117 - Support html5 output of docs from asciidoc
118 - Add `--expose` option for `stg pick` to allow picked commit message to
119   be customized
121 ### Changed
122 - Limit mail diffstat to 72 columns
123 - Added pyproject.toml file for black configuration
124 - Minimum Git version is 2.2.0
125 - Quote stg and subcommand in man page synopsis
126 - Replaced RELEASENOTES with this CHANGELOG.md
127 - Replaces Documentation/SubmittingPatches with CONTRIBUTING.md
129 ### Fixed
130 - Repair MANIFEST.in and generated source dist
131 - Repair importing mail with ": " (colon space) in subject
132 - Fix mail cover letter shortlog
133 - Fix mail cover letter diffstat
134 - `stg series` now only outputs colors when `isatty()`
135 - Repair mail SSL check (#57)
136 - Repair `stg mail` with both `-a` and `-e` options (#58)
137 - Remove empty short-opt for `--no-submodules` of `stg refresh`
138 - Repair build.py for Python 2 with explicit `flush()`
139 - `stgit.refreshsubmodules` added to sample gitconfig
141 ### Internal
142 - Update docs build system from upstream Git docs
143 - Use coverage contexts to map commands to covered lines
144 - Improve mail tests
145 - Use GitHub Actions instead of TravisCI
146 - Format StGit source using black formatter
148 ## [0.22] - 2020-03-02
150 ### Removed
151 - Remove debian packaging; downstream Debian uses its own anyway
153 ### Deprecated
154 - Python 2.x support is deprecated and will be removed in the next StGit
155   release
156 - `stg publish` is deprecated and will be removed in the next StGit
157   release
159 ### Added
160 - `stg import` has new --keep-cr option, like `git mailsplit`
162 ### Changed
163 - `stg new` now includes patch name in log message
164 - `stg branch --rename` can now rename the current branch
165 - `stg branch --create` now works even if the workspace is dirty,
166   consistent with `git checkout`
167 - `stg branch --description` now works on both regular and stgit
168   branches
169 - `stg edit --diff` now implies `--edit`
170 - `stg refresh` and `stg edit` now reset the committer information,
171   consistent with `stg push`
172 - git notes are now preserved when patches are modified
173 - Tutorial improvements
174 - Many additional tests and test improvements
175 - All stgit commands now use "new" git library infrastructure
177 ### Fixed
178 - `stg branch --create` inherits remote correctly from parent commitish
179 - Patch names are checked earlier to avoid inconsistent stack states
180 - Improved commit data parsing and handling of non-UTF8 encodings
181 - Repair git error messages when checking stgit version from outside a
182   git repo
185 ## [0.21] - 2019-10-28
187 ### Changed
188 - Faster handling of large patches (#44)
190 ### Fixed
191 - Build reproducibility repairs (Thanks reproducible-builds.org team!)
192 - Python can now be run with optimizations (`python -O`)
193 - `stg log` now prints trailing newline
194 - Improved command line option parsing for `stg log`
197 ## [0.20] - 2019-10-04
199 ### Added
200 - `stg patches -d` can now output colored diffs.
201 - `stg publish --overwrite` allows branch to be overwritten instead of
202   creating new commits.
203 - `stg log --clear` deletes the stack's log history. Use with caution.
204 - Fish shell completions for stg.
205 - Zsh completions for stg.
206 - `stg mail --domain` option overrides the host's domain in the message
207   ID.
209 ### Changed
210 - Branch protection metadata now captured in config instead of
211   .git/patches/<branch>protect file. This updates stgit's metadata
212   format from v2 to v3.
213 - `stg diff` no longer shows binary diffs by default. Use `-O--binary`
214   or add `--binary` to stgit.diff-opts in config.
215 - Diagnostic output is now routed to stderr instead of stdout.
216   Diagnostic output is also now sent to stderr unconditionally, i.e. no
217   more isatty() test (#35).
218 - Converted to "new" lib infrastructure: `show`, `patches`, `diff`,
219   `pick`, `pull`, `rebase`, and `fold`.
221 ### Fixed
222 - `stg show` detects conflicting --applied and --unapplied options.
223 - `stg show --stat` now shows commit headers.
224 - `stg patches --diff` now shows proper diff instead of `b'...'` repr of
225   diff.
226 - `stg diff --range` detects some invalid values (e.g. `-r ..`).
227 - Date parsing is now more portable, only use platform specific `date`
228   as last parsing option. Affects, e.g., `stg refresh --authdate`.
229 - Repaired seach path for templates to avoid looking in Python
230   site-packages directory.
231 - Ensure stdout and stderr are flushed. Rarely affected `stg diff`.
232 - `stg repair` will now fail if extra command line arguments are
233   provided.
234 - Bash completions are now generated in a reproducible manner.
235 - `stg edit --diff` on an empty patch no longer crashes.
236 - `stg pick` no longer fails when picked commit has empty message (#39).
237 - `stg rebase` no longer crashes when there are conflicts (#34).
238 - `stg pick` no longer crashes if --name is not provided when picking a
239   regular commit object.
240 - Improved test coverage for: branch, diff, pick, sync,
241 - New tests for: files, patches, fold, series
242 - Portable use of iconv, sort, and sed in tests.
243 - Linting using flake8 and isort.
244 - All Python code now conforms to PEP-8.
245 - Updated test infrastructure from git 2.20.
246 - Parallel tests with coverage (`make -j4 coverage`) now works.
247 - Documentation build is not included in code coverage.
248 - Repaired log end messages when using `STGIT_SUBPROCESS_LOG=debug`.
249 - Renamed "dunder" instance attributes to improve debugging.
250 - Fail faster when patch name has slash ('/') (#24).
253 ## [0.19] 2018-11-05
255 ### Changed
256 - Python 3 support. StGit supports Python 2.6, 2.7, 3.3, 3.4, 3.5, 3.6,
257   and 3.7. PyPy interpreters are also supported.
258 - Submodules are now ignored when checking if working tree is clean.
259   Submodules are also not included by default when refreshing a patch.
260 - Config booleans are now parsed similarly to git-config.
261 - `contrib/stgit.el` is now licenced with GPLv2.
262 - Add continuous integration (travis-ci) and code coverage (coveralls)
263   support.
264 - Many new test cases were added.
266 ### Fixed
267 - Repair handling of emails with utf-8 bodies containing latin-1
268   characters. Also correctly decode email headers containing quoted
269   encoded words.
270 - StGit's version is now correct/available in the release archive.
273 ## [0.18] 2017-08-14
275 ### Added
276 - `commit-msg` hook support for easier integration with Gerrit, allowing
277   a Change-Id line to be inserted in the commit message
278 - `stg mail` improvements for 'Suggested-by:' tag and auto generation of
279   Cc for the cover letter based on all tags in the series
280 - `stg mail` bash completion for the --to, --cc and --bcc options based
281   on the content of the [mail "alias"] section of Git configuration
282 - `stg edit --review` option to add a 'Reviewed-by:' tag
283 - `stg pop --spill` functionality to allow popping a patch from the
284   stack while keeping its modification in the tree
286 ### Changed
287 - Project page details updated (gna.org has been shut down)
289 ### Fixed
290 - Various fixes and test coverage improvements
293 ## [0.17.1] 2013-09-30
295 ### Changed
296 - Test suite improvements.
297 - Print tracebacks to stderr.
298 - Run test suite in parallel.
300 ### Fixed
301 - Fix dirty index errors when resolving conflicts.
302 - Fix --authdate date parsing.
305 ## [0.17] 2013-06-27
307 ### Added
308 - `stg delete --top` option for deleting the top patch.
309 - `stg branch --merge` option for merging the work tree changes into the
310   other branch.
311 - Support for sending patches both as attachment and inline.
313 ### Changed
314 - `stg mail` no longer filters explicitly added `--cc` sender address.
315 - `stg refresh` warns when index is dirty.
317 ### Fixed
318 - Fix for parsing the commit header correctly.
319 - Several `stgit.el` (Emacs mode) improvements.
320 - Fix `stg status --reset` error messages.
321 - HTML documentation fix.
322 - Email template fixes.
325 ## [0.16] 2012-01-09
327 ### Added
328 - UI adjustments to better match the Git commands.
329   - `stg status` is an alias for `git status`.
330   - `stg reset --hard` behaves similarly to the corresponding git
331     command and option.
332 - `stg branch --cleanup` option to remove the StGit metadata for a
333   given branch.
334 - `stg mail` can use `git send-email` directly.
335 - Vim syntax highlighting for StGit commit messages.
337 ### Fixed
338 - Several improvements to the Emacs mode (stgit.el).
339 - Many bug-fixes.
342 ## [0.15] 2009-10-24
344 ### Removed
345 - The commands "stg add", "stg rm", "stg cp", and "stg resolved" were
346   removed, since there are corresponding Git equivalents.
348 ### Added
349 - New core infrastructure for repository operations, including:
350   - Infinite undo/redo operations and corresponding commands.
351   - Automatic rollback of changes following a failed operation (using
352     transactions)---this ensures that StGit commands either succeed or
353     do nothing. Previously, every commands had its own ad hoc
354     implementation of this.
355 - Some commands were added, including
356   - `stg squash`, for combining two or more patches into one.
357   - `stg publish`, for maintaining merge-friendly branches (which are
358     not rebased).
359   - `stg prev/next` for printing the name of the previous or next patch
360     in the series.
361 - The `stg import` and `stg fold` commands support the `-p N` option for
362   stripping leading slashes from diff paths.
363 - The `stg import` and `stg fold` commands support the `--reject` option
364   for leaving rejected hunks in corresponding `*.rej` files.
365 - New patch identification syntax: `<branch>:<patch>` (see documentation
366   for the "stg id" command).
367 - Autosigning of imported patches when `sign.autosign` configuration
368   option is set.
369 - A powerful Emacs mode for StGit was added to the "contrib" directory.
370   It displays the patch stack in an Emacs buffer, and can handle all
371   common StGit tasks.
372 - Man pages and an improved tutorial.
374 ### Changed
375 - Improved bash tab-completion, automatically generated from the stg
376   command definitions.
379 ## [0.14.3] 2008-06-08
380 ## [0.14.2] 2008-13-24
381 ## [0.14.1] 2007-12-11
382 ## [0.14] 2007-12-09
383 ## [0.13] 2007-07-26
384 ## [0.12] 2007-02-06
385 ## [0.11] 2006-10-21
386 ## [0.10] 2006-06-11
387 ## [0.9] 2006-04-07
388 ## [0.8] 2005-12-23
389 ## [0.7] 2005-10-02
390 ## [0.6] 2005-08-21
391 ## [0.5] 2005-07-30
392 ## [0.4] 2005-07-10