Release Notes

Features and bugfixes in our latest releases. Please see the Download page for links to source and binaries.

Note that Mercurial follows a time-based release plan with major releases every three months and minor (bugfix) releases on the first of every month (see TimeBasedReleasePlan).

{i} Be sure to read the upgrade notes when upgrading.

(See the archive for older versions)

1. Mercurial 4.4-rc (2017-10-20)

1.1. Notable changes

1.1.1. Control whitespace settings for annotation on hgweb

/annotate URLs on hgweb now accept query string arguments to influence how whitespace changes impact results.

The arguments "ignorews," "ignorewsamount," "ignorewseol," and "ignoreblanklines" now have the same meaning as their [annotate] config section counterparts. Any provided setting overrides the server default.

HTML checkboxes have been added to the paper and gitweb themes to expose current whitespace settings and to easily modify the current view.

1.1.2. Fast, heuristic copy-tracing

A new fast heuristic algorithm for copytracing which assumes that the files moves are either:

  1. renames in the same directory
  2. moves in other directories with same names

You can use this algorithm by setting 'experimental.copytrace=heuristics'. This setting performs full copytracing if both source and destination branches contains non-public changesets only.

1.1.3. Other changes

1.2. Backwards Compatibility Changes

1.3. Bug Fixes

1.4. Performance Improvements

1.5. API Changes

1.5.1. remove peer.batch()

Replace with peer.iterbatch().

1.5.2. Other Changes

2. Mercurial 4.3.3 (2017-10-01)

3. Mercurial 4.3.2 (2017-09-18)

4. Mercurial 4.3 / 4.3.1 (2017-08-10)

(4.3.1 was released immediately after 4.3 to fix a release oversight.)

An overview of new features available. This is a regularly-scheduled quarterly feature release.

4.1. Notable changes

4.2. CVE-2017-1000115

Mercurial's symlink auditing was incomplete prior to 4.3, and could be abused to write to files outside the repository.

4.3. CVE-2017-1000116

Mercurial was not sanitizing hostnames passed to ssh, allowing shell injection attacks on clients by specifying a hostname starting with -oProxyCommand. This is also present in Git (CVE-2017-1000117) and Subversion (CVE-2017-9800), so please patch those tools as well if you have them installed.

5. Mercurial 4.2.3 (2017-08-10)

This was an out-of-cycle backport of security fixes from 4.3 for users stuck on Python 2.6.

6. Mercurial 4.2.2 (2017-07-05)

This is a regularly-scheduled bugfix release.

7. Mercurial 4.2.1 (2017-6-4)

This is a regularly-scheduled bugfix release.

8. Mercurial 4.2 (2017-5-2)

An overview of new features available. This is a regularly-scheduled quarterly feature release.

8.1. Notable changes

8.2. commands

8.3. core

8.4. extensions

8.5. hgweb

8.6. Behavior changes

8.7. Internal API changes

9. Mercurial 4.1.3 (2017-4-18)

This is an out of cycle release to address a security issue:

10. Mercurial 4.1.2 (2017-4-3)

This is a regularly-scheduled bugfix release.

11. Mercurial 4.1.1 (2017-3-2)

This is a regularly-scheduled bugfix release.

12. Mercurial 4.1 (2017-2-1)

An overview of new features available. This is a regularly-scheduled quarterly feature release.

12.1. commands

12.2. core

12.3. extensions

12.4. hgweb

12.5. chg

12.6. Behavior Changes

12.7. Internal API Changes

13. Mercurial 4.0.2 (2017-01-04)

This is a regularly-scheduled bugfix release.

14. Mercurial 4.0.1 (2016-12-1)

This is a regularly-scheduled bugfix release.

15. Mercurial 4.0 (2016-11-1)

An overview of new features available. This is a regularly-scheduled quarterly feature release. Unlike other 4.0 software releases, this is simply 3.9 + .1, so it should be the usual pain-free upgrade.

15.1. commands

15.2. core

15.3. extensions

15.4. hgweb