MozPhab/Changelog: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(release 0.1.89)
(add 1.5.1 release notes)
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Changelog ==
== Changelog ==
=== 1.5.1 ===
* {{bug|1876257}} AttributeError: 'Config' object has no attribute 'name' when auto-submitting after updating moz-phab to 1.5.0
=== 1.5.0 ===
==== Highlights ====
* "Depends On" is no longer added to commit messages.
* `--check-in-needed` flag is removed.
* The update checker logic has been fixed.
==== Bugs ====                                                                                                                                                                               
* {{bug|1529766}} stop adding "Depends on" messages to Phabricator revision summaries                                                                                                       
* {{bug|1700164}} Removed the "check-in-needed" option                                                                                                                                       
* {{bug|1706667}} moz-phab stops me from updating the patch if the reviewer set their state to away                                                                                         
* {{bug|1826125}} Add a mozphab setting to change the default bookmark/branch name format for patch                                                                                         
* {{bug|1833395}} Automatic self-update appears to be broken as of 1.3.0rc0                                                                                                                 
* {{bug|1833884}} Add Python version and OS info to the `--version` command                                                                                                                 
* {{bug|1864678}} disable Windows CI for moz-phab                                                                                                                                           
* {{bug|1864680}} drop support for Python 3.7 in `moz-phab`                                                                                                                                 
* {{bug|1865709}} remove `importlib-metadata` from moz-phab requirements                                                                                                                     
* {{bug|1868464}} `moz-phab uplift` doesn't warn nor error if the expected head doesn't exist                                                                                               
* {{bug|1870284}} Add type hints to moz-phab                                                                                                                                                 
* {{bug|1870291}} use `ruff` instead of `flake8` in moz-phab                                                                                                                                 
* {{bug|1873754}} `moz-phab uplift` uses an incorrect identifier for base commit during rebase 
=== 1.4.3 ===
* {{bug|1818383}} add a link to Release Management Wiki to `moz-phab uplift --help`
=== 1.4.2 ===
* {{bug|1822104}} Leak of token when using moz-phab for external project without bug tracker
=== 1.4.1 ===
* {{bug|1819042}} Unexpected file type change (normal file -> symlink) causes `moz-phab submit` to fail with Python raise error
=== 1.4.0 ===
==== Highlights ====
* Eliminate many calls to the Phabricator API from moz-phab reorg.
* Fixes several bugs around updates to revision statuses during moz-phab reorg.
* Adds a --no-abandon flag to moz-phab reorg to avoid abandoning revisions during reorg.
==== Bugs ====
* {{bug|1626028}} Can't use moz-phab reorg to drop a revision from a stack that was abandoned already
* {{bug|1654837}} Add an option to not abandon revisions on reorg
* {{bug|1773145}} When reorganizing a stack with already-accepted commits, moz-phab errors
* {{bug|1806479}} use proper punctuation in `moz-phab help` strings
* {{bug|1809187}} add type hints to `moz-phab` command files
* {{bug|1809214}} `moz-phab uplift --train` should take a shortname instead of callsign
* {{bug|1809559}} stop caching Conduit calls for repo information
* {{bug|1809946}} make `moz-phab reorg` use `stackGraph` instead of calls to `edge.search`
* {{bug|1811019}} use `all` and `any` Python builtins instead of checking for `None in list` etc
=== 1.3.0 ===
==== Highlights ====
* Experimental `moz-phab uplift` command is released.
* `moz-phab patch` now takes `--diff-id` to patch an older version of a revision.
* Self updating mechanism is disabled on Windows as it has been broken for some time.
==== Bugs ====                                                                                 
* {{bug|1534707}} `moz-phab patch` can't download specific diff id                                                                                                                           
* {{bug|1754059}} add moz-phab release script to repo
* {{bug|1774074}} moz-phab self-update always fails with incorrect target path
* {{bug|1801696}} Running `install-certificate` prompts user twice if there is no existing token
* {{bug|1804348}} `moz-phab submit` displays escape codes instead of colors on the Windows/MSYS console
* {{bug|1804764}} `moz-phab self-update` should log something indicating success
* {{bug|1805312}} refactor `git cherry` arguments into `_cherry` function for git
* {{bug|1805530}} Many source code files in moz-phab are missing license headers
* {{bug|1805937}} un-hide `uplift` command from `moz-phab` help
* {{bug|1805962}} `moz-phab` self-update doesn't work on Windows
* {{bug|1806160}} Remove "Known Issues" comment
* {{bug|1806440}} fix some linting errors in the readme
* {{bug|1806479}} use proper punctuation in `moz-phab help` strings
* {{bug|1806859}} cleanup fallback flag logic
* {{bug|1808378}} Add type hints to `conduit.py`
* {{bug|1808584}} patch command has `--diff-id` and `--apply-to` as mutually exclusive
* {{bug|1808778}} add type hints to `config.py`
* {{bug|1808779}} explicitly set `should_access_file` in `Config` since it is a kwarg
* {{bug|1808781}} add type hints to `detect_repository.py`
=== 1.2.2 ===
* {{bug|1799685}} - add a warning when `submit` fails in fallback mode
* {{bug|1799685}} - remove "falling back to submit" messaging
* {{bug|1799674}} - migrate from `setup.py` to `pyproject.toml`
* {{bug|1798751}} - rework update checking to make self-update display some information
* {{bug|1799556}} - update Windows dev requirements and environment
* {{bug|1798522}} - consider Mozilla Foundation and Pocket emails as Mozilla-employees
* {{bug|1798406}} - fix BMO API requests by using a deepcopy when sanitizing headers
=== 1.2.1 ===
* {{bug|1798406}} - raise a `BMOAPIError` after maximum retries hitting bmo
=== 1.2.0 ===
* {{bug|1797367}} - enable ANSI colour codes on Windows
* {{bug|1797864}} - Fix a minor grammatical typo in moz-phab warning message
* {{bug|1788719}} - telemetry: make new and existing UUIDs conform to expected Glean schema
* {{bug|1636343}} - add retries to bmo whoami request
* {{bug|1691636}} - validate user's hg/git email during setup and before submit
* {{bug|1784701}} - Add option to create a topic rather than a bookmark
* {{bug|1782619}} - add retries for invalid api token inputs
* {{bug|1649378}} - cache frequently used cat_file method
* {{bug|1649376}} - cache frequently used file_size method
* {{bug|1649382}} - cache frequently used git2hg method
* {{bug|1601023}} - automatically install new api token when not present
* {{bug|1740228}} - provide clearer messaging when falling back to submit
* {{bug|1598560}} - provide clearer messaging when config is invalid
* {{bug|1703872}} - self upgrade with --quiet when not in DEBUG mode
* {{bug|1734864}} - Add command to check if API token is valid
* {{bug|1779081}} - don't generate hunks on empty files (hg)
=== 1.1.0 ===
* {{bug|1754057}} cut a new release for `moz-phab uplift`
* {{bug|1766123}} remove unused function in moz-phab submit
* {{bug|1769773}} stop using `distutils` in moz-phab
* {{bug|1771099}} Bump glean minimum version to bug 1770791 fix
=== 1.1.0rc2 ===
* {{bug|1613328}} Add a warning when moz-phab is used without hg/evolve
* {{bug|1617906}} Display useful advice when CERTIFICATE_VERIFY_FAILED is encountered
* {{bug|1651898}} MozPhab is failing to continue if user has empty primaryEmail field
* {{bug|1676574}} Glean initialisation should be explicit, not during module import
* {{bug|1731811}} `moz-phab reorg` seems to reset the "changes planned" attribute
* {{bug|1753068}} Failed landing due to incorrect diff for empty files/lines.
* {{bug|1762396}} move to next gen CircleCI docker images
* {{bug|1762403}} drop support for Python 3.6 in moz-phab
* {{bug|1762438}} add CI for Python 3.10
=== 1.1.0rc1 ===
* {{bug|1689162}} Help Glean products migrate to new versions of metrics.yaml/pings.yaml schemas
* {{bug|1737838}} Add a `moz-phab uplift` command
* {{bug|1741686}} Relax moz-phab dependency on python-hglib
* {{bug|1748906}} Upgrade black to remedy failing test
* {{bug|1754057}} cut a new release for `moz-phab uplift`
* {{bug|1757076}} `moz-phab uplift` should avoid rebase if commits are already a descendant of the destination
=== 1.0.0 ===
* {{bug|1471687}} Remove local dependency on Arcanist from new Phabricator command-line app
* {{bug|1688201}} `FileNotFoundError` when upgrading moz-phab on Windows
* {{bug|1714646}} moz-phab submits to the wrong branch if you switch between branches in the same local repository
* {{bug|1718540}} moz-phab submit crashes when updating a differential without commit author information
* {{bug|1720931}} moz-phab 1.0.0rc1 is leaking changes between revisions in stack
=== 1.0.0rc2 ===
* {{bug|1714646}} moz-phab submits to the wrong branch if you switch between branches in the same local repository
* {{bug|1720931}} moz-phab 1.0.0rc1 is leaking changes between revisions in stack
=== 1.0.0rc1 ===
* {{bug|1471687}} Remove local dependency on Arcanist from new Phabricator command-line app
* {{bug|1688201}} `FileNotFoundError` when upgrading moz-phab on Windows
* {{bug|1718540}} moz-phab submit crashes when updating a differential without commit author information
=== 0.1.99 ===
* {{bug|1703882}} Support opt-in pre-release functionality
* {{bug|1709704}} Phabricator fails to create a diff if one of the files in the list of changes is empty
=== 0.1.98 ===
* {{bug|1701353}} moz-phab incorrectly displays 'It will be submitted as "Changes Planned"
* {{bug|1701722}} Don't explicitly request review on new revisions
=== 0.1.97 ===
* {{bug|1700485}} Don't request plan-changes on accepted revisions
* {{bug|1700179}} Add --no-wip to prevent reviewerless commits being tagged as WIP
=== 0.1.96 ===
* {{bug|1610403}} Allow to submit a part of a stack as "wip"
* {{bug|1685308}} update glean dependency to fix moz-phab installation on !tier1
* {{bug|1695847}} Files containing lines with just `^L` on a line result in incorrect diffs when deleted
* {{bug|1696346}} Explicitly set `zip_safe` to `False` to prevent unpredictable behaviour when installing
* {{bug|1696357}} Upgrade glean-sdk version
=== 0.1.95 ===
* {{bug|1543963}} moz-phab doesn't accept . (period) in reviewer's name
* {{bug|1675648}} moz-phab incorrectly handles commits with CARRIAGE RETURNs and creates unlandable diffs
* {{bug|1675793}} Make it clear when an error is generated by Phabricator vs. locally
* {{bug|1681005}} mozphab no longer works through HTTP proxy when communicating with BMO
* {{bug|1681604}} Add python 3.9 to the testing matrix in CircleCI
* {{bug|1686291}} Add missing packages to dev-requirements
* {{bug|1686297}} Add support for pip-compile to generate dev-requirements.txt
* {{bug|1686998}} Windows tests are failing due to hard-coded line separators in test
* {{bug|1690649}} Fix `colorama` requirement hash in requirements file for windows builds
* {{bug|1691818}} Fix CircleCI requirements
=== 0.1.94 ===
* {{bug|1678134}} verify api token
* {{bug|1676220}} calls to hg() should always show output
* {{bug|1679431}} use urllib's urlopen to regain http proxy support
* {{bug|1674049}} don't send hg errors to sentry
* {{bug|1680836}} don't send hunks for empty files
=== 0.1.93 ===
* {{bug|1673394}} Don't fail when run from a subdir under mercurial
* {{bug|1676220}} pin glean version to 33.0.4
* {{bug|1671360}} improve diff upload
* {{bug|1674310}} Write commit metadata to diffs straight after creation
* {{bug|1639564}} fix processing of hunks
=== 0.1.92 ===
* {{bug|1673303}} All commands broken with "ValueError: Didn't find any metrics [...]" in latest release 0.1.91
=== 0.1.91 ===
'''Highlights'''
* Operations on Mercurial repositories should now be significantly faster
* Submissions with unchanged commits should now be faster
* <code>moz-phab patch --raw</code> now includes metadata (author, subject)
'''All Changes'''
* {{bug|1671351}} remove all calls to hg via subprocess
* {{bug|1672111}} mention Circle CI in documentation
* {{bug|1649090}} HG - caching retrieving commit metadata
* {{bug|1481543}} Do not update if commit isn't changed
* {{bug|1651970}} Save metadata after commit description is amended
* {{bug|1558389}} Add --check-in_needed flag
* {{bug|1653429}} moz-phab patch --raw should include patch metadata
* {{bug|1656254}} Force integration tests to use clean config
* {{bug|1655385}} Measure rejected submit stack size
* {{bug|1658817}} bump black version
* {{bug|1666897}} Allow execution via "python -m mozphab"
* {{bug|1641199}} Various fixes for Windows development
* {{bug|1649353}} Close open logs before spawning updated script
* {{bug|1649353}} don't log output of `git rev-list`
* {{bug|1647993}} Show a hint that on the default --help page that submit is the default command and more help is available
* {{bug|1618192}} Refine sentry logging to only include actionable exceptions
* {{bug|1619855}} Require Python 3.6
=== 0.1.90 ===
* {{bug|1619855}} Warn about Python version < 3.6
* {{bug|1645300}} Do not search for parent-child relationship if single
* {{bug|1641199}} Reduce the number of failed tests in Windows
=== 0.1.89 ===
=== 0.1.89 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1646060 1646060] Ability to upload large (>8MiB) binary files.
* {{bug|1646060}} Ability to upload large (>8MiB) binary files.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1565502 1565502] Bring back the Spinner.
* {{bug|1565502}} Bring back the Spinner.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1621025 1621025] Measuring MozPhab usage.  
* {{bug|1621025}} Measuring MozPhab usage.


=== 0.1.88 ===
=== 0.1.88 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1646831 1646831] ```P1``` Do not create hunks for empty files.
* {{bug|1646831}} Do not create hunks for empty files.


=== 0.1.87 ===
=== 0.1.87 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1623403 1623403] Add a warning about closed revisions.
* {{bug|1623403}} Add a warning about closed revisions.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1625594 1625594] Add phab- prefix to patched revision number.
* {{bug|1625594}} Add phab- prefix to patched revision number.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1637177 1637177] Fix "no cinnabar" error message
* {{bug|1637177}} Fix "no cinnabar" error message


=== 0.1.86 ===
=== 0.1.86 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1627405 1627405] ```P1``` Fix deletion of the source when copying to multiple targets.
* {{bug|1627405}} Fix deletion of the source when copying to multiple targets.


=== 0.1.85 ===
=== 0.1.85 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1630504 1630504] Timestamp fix.
* {{bug|1630504}} Timestamp fix.


=== 0.1.84 ===
=== 0.1.84 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1627767 1627767] ```P1``` Submit commit date info.
* {{bug|1627767}} Submit commit date info.


=== 0.1.83 ===
=== 0.1.83 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1625551 1625551] Fix --trace and other logging issues
* {{bug|1625551}} Fix --trace and other logging issues
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1602573 1602573] Fix debug log file encoding on Windows
* {{bug|1602573}} Fix debug log file encoding on Windows
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1624354 1624354] [https://bugzilla.mozilla.org/show_bug.cgi?id=1624354 1624354] CI - Install and sanity check package
* {{bug|1624354}} {{bug|1624354}} CI - Install and sanity check package


=== 0.1.82 ===
=== 0.1.82 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1624332 1624332] ```P1``` Added `commands` module to the package
* {{bug|1624332}} Added `commands` module to the package


=== 0.1.81 ===
=== 0.1.81 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1623370 1623370] Fixed restarting on Windows after an automated update
* {{bug|1623370}} Fixed restarting on Windows after an automated update
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1621731 1621731] Improve performance on large HG repos
* {{bug|1621731}} Improve performance on large HG repos
=== 0.1.80 ===
=== 0.1.80 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1617903 1617903] Fixed updates on Windows
* {{bug|1617903}} Fixed updates on Windows
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1619310 1619310] Checked the stage before submitting
* {{bug|1619310}} Checked the stage before submitting


=== 0.1.79 ===
=== 0.1.79 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1619589 1619589] ```P1``` Fixed commands
* {{bug|1619589}} Fixed commands


=== 0.1.78 ===
=== 0.1.78 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1580734 1580734] Configurable Hg and Git commands
* {{bug|1580734}} Configurable Hg and Git commands
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1617687 1617687] <code>--version</code> and <code>--help</code> allowed
* {{bug|1617687}} <code>--version</code> and <code>--help</code> allowed


=== 0.1.77 ===
=== 0.1.77 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1616467 1616467] '''P1''' MozPhab directory issue solved
* {{bug|1616467}} MozPhab directory issue solved


=== 0.1.76 ===
=== 0.1.76 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1532433 1532433] <code>--single</code> added to submit one commit only
* {{bug|1532433}} <code>--single</code> added to submit one commit only
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1616023 1616023] '''P1''' <code>libphutil</code> installed from the <code>stable</code> branch
* {{bug|1616023}} <code>libphutil</code> installed from the <code>stable</code> branch
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1471687 1471687] <code>self-update</code> doesn't require Git
* {{bug|1471687}} <code>self-update</code> doesn't require Git


=== 0.1.75 ===
=== 0.1.75 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1607517 1607517] '''P1''' Patching with non-ASCII author name fixed
* {{bug|1607517}} Patching with non-ASCII author name fixed
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1603530 1603530] Auto update fixed on Windows
* {{bug|1603530}} Auto update fixed on Windows
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1608293 1608293] Sending errors to Sentry
* {{bug|1608293}} Sending errors to Sentry


=== 0.1.74 ===
=== 0.1.74 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1610583 1610583] '''P1''' Fix handling of files without trailing newlines on hg
* {{bug|1610583}} Fix handling of files without trailing newlines on hg


=== 0.1.73 ===
=== 0.1.73 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1606175 1606175] Detecting if installed with <code>--user</code> option fixed.
* {{bug|1606175}} Detecting if installed with <code>--user</code> option fixed.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1609207 1609207] Show the right error when trying to reorganize a split stack
* {{bug|1609207}} Show the right error when trying to reorganize a split stack


=== 0.1.71 ===
=== 0.1.71 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1605465 1605465] '''P1''' Resolved "patching revision" exception
* {{bug|1605465}} Resolved "patching revision" exception
[https://github.com/mozilla-conduit/review/compare/v0.1.70...v0.1.71 All changes]


=== 0.1.70 ===
=== 0.1.70 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1605124 1605124] '''P1''' "unable to apply patch" for Python < 3.6 fixed
* {{bug|1605124}} "unable to apply patch" for Python < 3.6 fixed
[https://github.com/mozilla-conduit/review/compare/0.1.69...v0.1.70 All changes]


=== 0.1.69 ===
=== 0.1.69 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1604097 1604097] [https://bugzilla.mozilla.org/show_bug.cgi?id=1604458 1604458] '''<code>\o/</code> P1''' Recognizing file copy fixed.
* {{bug|1604097}} {{bug|1604458}} Recognizing file copy fixed.
[https://github.com/mozilla-conduit/review/compare/0.1.68...0.1.69 All changes]


=== 0.1.68 ===
=== 0.1.68 ===
* '''<code>/o\</code>''' Back to Arcanist by default due to [https://bugzilla.mozilla.org/show_bug.cgi?id=1603447 1603447]
* Back to Arcanist by default due to {{bug|1603447}}


=== 0.1.67 ===
=== 0.1.67 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1481539 1481539] The long awaited reorganize the stack in Phabricator
* {{bug|1481539}} The long awaited reorganize the stack in Phabricator
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1602533 1602533] Support for truly empty files
* {{bug|1602533}} Support for truly empty files
[https://github.com/mozilla-conduit/review/compare/0.1.66...0.1.67 All changes]


=== 0.1.66 ===
=== 0.1.66 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1602545 1602545] MozPhab is able to submit to vanilla Phabricator instances
* {{bug|1602545}} MozPhab is able to submit to vanilla Phabricator instances
 
[https://github.com/mozilla-conduit/review/compare/0.1.65...0.1.66 All changes]


=== 0.1.65 ===
=== 0.1.65 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1600930 1600930] Fixed "Work in progress"
* {{bug|1600930}} Fixed "Work in progress"
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1600137 1600137] Check if revision id is unique across commits
* {{bug|1600137}} Check if revision id is unique across commits
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1600696 1600696] '''<code>\o/</code> Do not use Arcanist by default''' (use <code>--arc</code> as a backup).
* {{bug|1600696}} Do not use Arcanist by default (use <code>--arc</code> as a backup).


=== 0.1.64 ===
=== 0.1.64 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1599596 1599596] '''P1''' Fix <code>--no-bug</code> for updating existing revisions using <code>--no-arc</code>
* {{bug|1599596}} Fix <code>--no-bug</code> for updating existing revisions using <code>--no-arc</code>


=== 0.1.63 ===
=== 0.1.63 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1599184 1599184] '''P1''' Fix <code>--no-bug</code> for submitting  new revisions using <code>--no-arc</code>
* {{bug|1599184}} Fix <code>--no-bug</code> for submitting  new revisions using <code>--no-arc</code>


=== 0.1.62 ===
=== 0.1.62 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1481537 1481537] <code>--no-bug</code> for bugless commits support
* {{bug|1481537}} <code>--no-bug</code> for bugless commits support
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1597894 1597894] ''(Git)'' Cinnabar detection improved
* {{bug|1597894}} Cinnabar detection improved
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1597264 1597264] '''P1''' Binary files upload fixed
* {{bug|1597264}} Binary files upload fixed


=== 0.1.61 ===
=== 0.1.61 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1596549 1596549] '''P1''' ''(Git)'' Fix checking for cinnabar.
* {{bug|1596549}} Fix checking for cinnabar.


=== 0.1.60 ===
=== 0.1.60 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1592130 1592130] ''(Windows)'' <code>patch</code> command fixed
* {{bug|1592130}} <code>patch</code> command fixed
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1593712 1593712] ''(Git)'' Fail early if cinnabar required, but not installed
* {{bug|1593712}} Fail early if cinnabar required, but not installed
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1595104 1595104] Display full branches in <code>submit</code> command
* {{bug|1595104}} Display full branches in <code>submit</code> command


=== 0.1.59 ===
=== 0.1.59 ===
* Windows users can again submit patches with the <code>--no-arc</code> option  
* Windows users can again submit patches with the <code>--no-arc</code> option
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1591015 1591015] '''P1''' CRLF fix
* {{bug|1591015}} CRLF fix
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1591248 1591248] Fix the <code>~/.arcrc</code> file mode if needed
* {{bug|1591248}} Fix the <code>~/.arcrc</code> file mode if needed
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1593981 1593981] Do not check if Arcanist is configured when <code>--no-arc</code> is used.
* {{bug|1593981}} Do not check if Arcanist is configured when <code>--no-arc</code> is used.
 
=== 0.1.58 ===
=== 0.1.58 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1590953 1590953] Improved self-upgrade
* {{bug|1590953}} Improved self-upgrade
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1591048 1591048] ''(Windows)'' Fixed restarting after self-upgrade.
* {{bug|1591048}} Fixed restarting after self-upgrade.
 
=== 0.1.57 ===
=== 0.1.57 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1589994 1589994] ''(Mercurial)'' In-memory rebasing (speed improvement).
* {{bug|1589994}} In-memory rebasing (speed improvement).
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1591092 1591092] '''P1''' ''(Mercurial/Windows)'' Fixed 3-digit file mode.
* {{bug|1591092}} Fixed 3-digit file mode.
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1592451 1592451] '''P1''' Fixed sending wrong metadata when renaming a file.
* {{bug|1592451}} Fixed sending wrong metadata when renaming a file.
 
=== 0.1.56 ===
=== 0.1.56 ===
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1591015 1591015] '''P1''' ''(Windows)'' Switched off the ability to submit without Arcanist.
* {{bug|1591015}} Switched off the ability to submit without Arcanist.

Latest revision as of 14:48, 24 January 2024

Changelog

1.5.1

  • bug 1876257 AttributeError: 'Config' object has no attribute 'name' when auto-submitting after updating moz-phab to 1.5.0

1.5.0

Highlights

  • "Depends On" is no longer added to commit messages.
  • `--check-in-needed` flag is removed.
  • The update checker logic has been fixed.

Bugs

  • bug 1529766 stop adding "Depends on" messages to Phabricator revision summaries
  • bug 1700164 Removed the "check-in-needed" option
  • bug 1706667 moz-phab stops me from updating the patch if the reviewer set their state to away
  • bug 1826125 Add a mozphab setting to change the default bookmark/branch name format for patch
  • bug 1833395 Automatic self-update appears to be broken as of 1.3.0rc0
  • bug 1833884 Add Python version and OS info to the `--version` command
  • bug 1864678 disable Windows CI for moz-phab
  • bug 1864680 drop support for Python 3.7 in `moz-phab`
  • bug 1865709 remove `importlib-metadata` from moz-phab requirements
  • bug 1868464 `moz-phab uplift` doesn't warn nor error if the expected head doesn't exist
  • bug 1870284 Add type hints to moz-phab
  • bug 1870291 use `ruff` instead of `flake8` in moz-phab
  • bug 1873754 `moz-phab uplift` uses an incorrect identifier for base commit during rebase

1.4.3

  • bug 1818383 add a link to Release Management Wiki to `moz-phab uplift --help`

1.4.2

  • bug 1822104 Leak of token when using moz-phab for external project without bug tracker

1.4.1

  • bug 1819042 Unexpected file type change (normal file -> symlink) causes `moz-phab submit` to fail with Python raise error

1.4.0

Highlights

  • Eliminate many calls to the Phabricator API from moz-phab reorg.
  • Fixes several bugs around updates to revision statuses during moz-phab reorg.
  • Adds a --no-abandon flag to moz-phab reorg to avoid abandoning revisions during reorg.

Bugs

  • bug 1626028 Can't use moz-phab reorg to drop a revision from a stack that was abandoned already
  • bug 1654837 Add an option to not abandon revisions on reorg
  • bug 1773145 When reorganizing a stack with already-accepted commits, moz-phab errors
  • bug 1806479 use proper punctuation in `moz-phab help` strings
  • bug 1809187 add type hints to `moz-phab` command files
  • bug 1809214 `moz-phab uplift --train` should take a shortname instead of callsign
  • bug 1809559 stop caching Conduit calls for repo information
  • bug 1809946 make `moz-phab reorg` use `stackGraph` instead of calls to `edge.search`
  • bug 1811019 use `all` and `any` Python builtins instead of checking for `None in list` etc

1.3.0

Highlights

  • Experimental `moz-phab uplift` command is released.
  • `moz-phab patch` now takes `--diff-id` to patch an older version of a revision.
  • Self updating mechanism is disabled on Windows as it has been broken for some time.

Bugs

  • bug 1534707 `moz-phab patch` can't download specific diff id
  • bug 1754059 add moz-phab release script to repo
  • bug 1774074 moz-phab self-update always fails with incorrect target path
  • bug 1801696 Running `install-certificate` prompts user twice if there is no existing token
  • bug 1804348 `moz-phab submit` displays escape codes instead of colors on the Windows/MSYS console
  • bug 1804764 `moz-phab self-update` should log something indicating success
  • bug 1805312 refactor `git cherry` arguments into `_cherry` function for git
  • bug 1805530 Many source code files in moz-phab are missing license headers
  • bug 1805937 un-hide `uplift` command from `moz-phab` help
  • bug 1805962 `moz-phab` self-update doesn't work on Windows
  • bug 1806160 Remove "Known Issues" comment
  • bug 1806440 fix some linting errors in the readme
  • bug 1806479 use proper punctuation in `moz-phab help` strings
  • bug 1806859 cleanup fallback flag logic
  • bug 1808378 Add type hints to `conduit.py`
  • bug 1808584 patch command has `--diff-id` and `--apply-to` as mutually exclusive
  • bug 1808778 add type hints to `config.py`
  • bug 1808779 explicitly set `should_access_file` in `Config` since it is a kwarg
  • bug 1808781 add type hints to `detect_repository.py`

1.2.2

  • bug 1799685 - add a warning when `submit` fails in fallback mode
  • bug 1799685 - remove "falling back to submit" messaging
  • bug 1799674 - migrate from `setup.py` to `pyproject.toml`
  • bug 1798751 - rework update checking to make self-update display some information
  • bug 1799556 - update Windows dev requirements and environment
  • bug 1798522 - consider Mozilla Foundation and Pocket emails as Mozilla-employees
  • bug 1798406 - fix BMO API requests by using a deepcopy when sanitizing headers

1.2.1

  • bug 1798406 - raise a `BMOAPIError` after maximum retries hitting bmo

1.2.0

  • bug 1797367 - enable ANSI colour codes on Windows
  • bug 1797864 - Fix a minor grammatical typo in moz-phab warning message
  • bug 1788719 - telemetry: make new and existing UUIDs conform to expected Glean schema
  • bug 1636343 - add retries to bmo whoami request
  • bug 1691636 - validate user's hg/git email during setup and before submit
  • bug 1784701 - Add option to create a topic rather than a bookmark
  • bug 1782619 - add retries for invalid api token inputs
  • bug 1649378 - cache frequently used cat_file method
  • bug 1649376 - cache frequently used file_size method
  • bug 1649382 - cache frequently used git2hg method
  • bug 1601023 - automatically install new api token when not present
  • bug 1740228 - provide clearer messaging when falling back to submit
  • bug 1598560 - provide clearer messaging when config is invalid
  • bug 1703872 - self upgrade with --quiet when not in DEBUG mode
  • bug 1734864 - Add command to check if API token is valid
  • bug 1779081 - don't generate hunks on empty files (hg)

1.1.0

1.1.0rc2

  • bug 1613328 Add a warning when moz-phab is used without hg/evolve
  • bug 1617906 Display useful advice when CERTIFICATE_VERIFY_FAILED is encountered
  • bug 1651898 MozPhab is failing to continue if user has empty primaryEmail field
  • bug 1676574 Glean initialisation should be explicit, not during module import
  • bug 1731811 `moz-phab reorg` seems to reset the "changes planned" attribute
  • bug 1753068 Failed landing due to incorrect diff for empty files/lines.
  • bug 1762396 move to next gen CircleCI docker images
  • bug 1762403 drop support for Python 3.6 in moz-phab
  • bug 1762438 add CI for Python 3.10

1.1.0rc1

  • bug 1689162 Help Glean products migrate to new versions of metrics.yaml/pings.yaml schemas
  • bug 1737838 Add a `moz-phab uplift` command
  • bug 1741686 Relax moz-phab dependency on python-hglib
  • bug 1748906 Upgrade black to remedy failing test
  • bug 1754057 cut a new release for `moz-phab uplift`
  • bug 1757076 `moz-phab uplift` should avoid rebase if commits are already a descendant of the destination

1.0.0

  • bug 1471687 Remove local dependency on Arcanist from new Phabricator command-line app
  • bug 1688201 `FileNotFoundError` when upgrading moz-phab on Windows
  • bug 1714646 moz-phab submits to the wrong branch if you switch between branches in the same local repository
  • bug 1718540 moz-phab submit crashes when updating a differential without commit author information
  • bug 1720931 moz-phab 1.0.0rc1 is leaking changes between revisions in stack

1.0.0rc2

  • bug 1714646 moz-phab submits to the wrong branch if you switch between branches in the same local repository
  • bug 1720931 moz-phab 1.0.0rc1 is leaking changes between revisions in stack

1.0.0rc1

  • bug 1471687 Remove local dependency on Arcanist from new Phabricator command-line app
  • bug 1688201 `FileNotFoundError` when upgrading moz-phab on Windows
  • bug 1718540 moz-phab submit crashes when updating a differential without commit author information

0.1.99

  • bug 1703882 Support opt-in pre-release functionality
  • bug 1709704 Phabricator fails to create a diff if one of the files in the list of changes is empty

0.1.98

  • bug 1701353 moz-phab incorrectly displays 'It will be submitted as "Changes Planned"
  • bug 1701722 Don't explicitly request review on new revisions

0.1.97

  • bug 1700485 Don't request plan-changes on accepted revisions
  • bug 1700179 Add --no-wip to prevent reviewerless commits being tagged as WIP

0.1.96

  • bug 1610403 Allow to submit a part of a stack as "wip"
  • bug 1685308 update glean dependency to fix moz-phab installation on !tier1
  • bug 1695847 Files containing lines with just `^L` on a line result in incorrect diffs when deleted
  • bug 1696346 Explicitly set `zip_safe` to `False` to prevent unpredictable behaviour when installing
  • bug 1696357 Upgrade glean-sdk version

0.1.95

  • bug 1543963 moz-phab doesn't accept . (period) in reviewer's name
  • bug 1675648 moz-phab incorrectly handles commits with CARRIAGE RETURNs and creates unlandable diffs
  • bug 1675793 Make it clear when an error is generated by Phabricator vs. locally
  • bug 1681005 mozphab no longer works through HTTP proxy when communicating with BMO
  • bug 1681604 Add python 3.9 to the testing matrix in CircleCI
  • bug 1686291 Add missing packages to dev-requirements
  • bug 1686297 Add support for pip-compile to generate dev-requirements.txt
  • bug 1686998 Windows tests are failing due to hard-coded line separators in test
  • bug 1690649 Fix `colorama` requirement hash in requirements file for windows builds
  • bug 1691818 Fix CircleCI requirements

0.1.94

0.1.93

0.1.92

  • bug 1673303 All commands broken with "ValueError: Didn't find any metrics [...]" in latest release 0.1.91

0.1.91

Highlights

  • Operations on Mercurial repositories should now be significantly faster
  • Submissions with unchanged commits should now be faster
  • moz-phab patch --raw now includes metadata (author, subject)

All Changes

0.1.90

  • bug 1619855 Warn about Python version < 3.6
  • bug 1645300 Do not search for parent-child relationship if single
  • bug 1641199 Reduce the number of failed tests in Windows

0.1.89

0.1.88

0.1.87

0.1.86

  • bug 1627405 Fix deletion of the source when copying to multiple targets.

0.1.85

0.1.84

0.1.83

0.1.82

0.1.81

  • bug 1623370 Fixed restarting on Windows after an automated update
  • bug 1621731 Improve performance on large HG repos

0.1.80

0.1.79

0.1.78

0.1.77

0.1.76

0.1.75

0.1.74

  • bug 1610583 Fix handling of files without trailing newlines on hg

0.1.73

  • bug 1606175 Detecting if installed with --user option fixed.
  • bug 1609207 Show the right error when trying to reorganize a split stack

0.1.71

0.1.70

  • bug 1605124 "unable to apply patch" for Python < 3.6 fixed

0.1.69

0.1.68

0.1.67

0.1.66

  • bug 1602545 MozPhab is able to submit to vanilla Phabricator instances

0.1.65

0.1.64

  • bug 1599596 Fix --no-bug for updating existing revisions using --no-arc

0.1.63

  • bug 1599184 Fix --no-bug for submitting new revisions using --no-arc

0.1.62

0.1.61

0.1.60

0.1.59

  • Windows users can again submit patches with the --no-arc option
  • bug 1591015 CRLF fix
  • bug 1591248 Fix the ~/.arcrc file mode if needed
  • bug 1593981 Do not check if Arcanist is configured when --no-arc is used.

0.1.58

0.1.57

0.1.56

  • bug 1591015 Switched off the ability to submit without Arcanist.