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