Skip to content

Commit

Permalink
Merge pull request #129 from akaihola/release-1.2.3
Browse files Browse the repository at this point in the history
Release version 1.2.3
  • Loading branch information
akaihola authored May 2, 2021
2 parents 3ce672e + 4b89d8d commit c3ef954
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,25 @@ Unreleased_

These features will be included in the next release:


1.2.3_ - 2021-05-02
===================

Added
-----
- A unified ``TextDocument`` class to represent source code file contents
- Move help texts into the separate ``darker.help`` module
- If AST differs with zero context lines, search for the lowest successful number of
context lines using a binary search to improve performance
- Return an exit value of 1 also if there are failures from any of the linters on
modified lines
- Run GitHub Actions for the test build also on Windows and macOS

Fixed
-----
- Compatibility with MyPy 0.812
- Keep newline character sequence and text encoding intact when modifying files
- Installation now works on Windows

- Improve compatibility with pre-commit. Fallback to compare against HEAD if
``--revision :PRE-COMMIT:`` is set, but ``PRE_COMMIT_FROM_REF`` or
``PRE_COMMIT_TO_REF`` are not set.
Expand Down Expand Up @@ -132,7 +138,8 @@ Added
-----
- Initial implementation

.. _Unreleased: https://github.com/akaihola/darker/compare/1.2.2...HEAD
.. _Unreleased: https://github.com/akaihola/darker/compare/1.2.3...HEAD
.. _1.2.3: https://github.com/akaihola/darker/compare/1.2.2...1.2.3
.. _1.2.2: https://github.com/akaihola/darker/compare/1.2.1...1.2.2
.. _1.2.1: https://github.com/akaihola/darker/compare/1.2.0...1.2.1
.. _1.2.0: https://github.com/akaihola/darker/compare/1.1.0...1.2.0
Expand Down
2 changes: 1 addition & 1 deletion src/darker/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""The version number for Darker is governed by this file"""

__version__ = "1.2.3.dev0"
__version__ = "1.2.3"

0 comments on commit c3ef954

Please sign in to comment.