Skip to content

Commit cfb1626

Browse files
authored
Merge pull request #564 from akaihola/release-2.1.0
Release 2.1.0
2 parents 0dc70b3 + 07630f5 commit cfb1626

File tree

5 files changed

+28
-14
lines changed

5 files changed

+28
-14
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If applicable, add copy/paste the output or attach a screenshots to help explain
3636
- OS: [e.g. Windows / macos / Linux distribution & version]
3737
- Python version [e.g. 3.10.4]
3838
- Git version [e.g. 2.36.0]
39-
- Darker version [e.g. 2.0.0]
39+
- Darker version [e.g. 2.1.0]
4040
- Black version [e.g. 22.3.0]
4141
- other reformatter and linter versions [e.g. `isort==5.10.1`, `mypy==0.942`
4242

CHANGES.rst

+15-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ Unreleased_
33

44
These features will be included in the next release:
55

6+
Added
7+
-----
8+
9+
Fixed
10+
-----
11+
12+
13+
2.1.0_ - 2024-03-27
14+
===================
15+
616
Added
717
-----
818
- Mark the Darker package as annotated with type hints.
@@ -11,6 +21,8 @@ Added
1121
- Update to Black 24.2.x and isort 5.13.x in pre-commit configuration.
1222
- Test against Flynt ``master`` branch in the CI build.
1323
- Update to Darkgraylib 1.1.1 to get fixes for README formatting.
24+
- Improved "How does it work?" section in the README.
25+
- README section on limitations and work-arounds.
1426

1527
Removed
1628
-------
@@ -22,6 +34,7 @@ Fixed
2234
-----
2335
- Bump-version pre-commit hook pattern: ``rev: vX.Y.Z`` instead of ``X.Y.Z``.
2436
- Escape pipe symbols (``|``) in the README to avoid RestructuredText rendering issues.
37+
- Compatibility with Flynt 0.78.0 and newer.
2538

2639

2740
2.0.0_ - 2024-03-13
@@ -565,7 +578,8 @@ Added
565578
-----
566579
- Initial implementation
567580

568-
.. _Unreleased: https://github.com/akaihola/darker/compare/2.0.0...HEAD
581+
.. _Unreleased: https://github.com/akaihola/darker/compare/2.1.0...HEAD
582+
.. _2.1.0: https://github.com/akaihola/darker/compare/2.0.0...2.1.0
569583
.. _2.0.0: https://github.com/akaihola/darker/compare/1.7.3...2.0.0
570584
.. _1.7.3: https://github.com/akaihola/darker/compare/1.7.2...1.7.3
571585
.. _1.7.2: https://github.com/akaihola/darker/compare/1.7.1...1.7.2

README.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
.. |changelog-badge| image:: https://img.shields.io/badge/-change%20log-purple
2323
:alt: Change log
2424
.. _changelog-badge: https://github.com/akaihola/darker/blob/master/CHANGES.rst
25-
.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/21?color=red&label=release%202.1.0
25+
.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/24?color=red&label=release%202.1.1
2626
:alt: Next milestone
27-
.. _next-milestone: https://github.com/akaihola/darker/milestone/21
27+
.. _next-milestone: https://github.com/akaihola/darker/milestone/24
2828

2929

3030
What?
@@ -137,11 +137,11 @@ How?
137137

138138
To install or upgrade, use::
139139

140-
pip install --upgrade darker~=2.0.0
140+
pip install --upgrade darker~=2.1.0
141141

142142
Or, if you're using Conda_ for package management::
143143

144-
conda install -c conda-forge darker~=2.0.0 isort
144+
conda install -c conda-forge darker~=2.1.0 isort
145145
conda update -c conda-forge darker
146146

147147
..
@@ -639,7 +639,7 @@ do the following:
639639
.. code-block:: yaml
640640
641641
- repo: https://github.com/akaihola/darker
642-
rev: v2.0.0
642+
rev: v2.1.0
643643
hooks:
644644
- id: darker
645645
@@ -658,7 +658,7 @@ other reformatter/linter tools you use to known compatible versions, for example
658658
.. code-block:: yaml
659659
660660
- repo: https://github.com/akaihola/darker
661-
rev: v2.0.0
661+
rev: v2.1.0
662662
hooks:
663663
- id: darker
664664
args:
@@ -689,7 +689,7 @@ Note the inclusion of the isort Python package under ``additional_dependencies``
689689
.. code-block:: yaml
690690
691691
- repo: https://github.com/akaihola/darker
692-
rev: v2.0.0
692+
rev: v2.1.0
693693
hooks:
694694
- id: darker
695695
args: [--isort]
@@ -734,11 +734,11 @@ Create a file named ``.github/workflows/darker.yml`` inside your repository with
734734
with:
735735
fetch-depth: 0
736736
- uses: actions/setup-python@v5
737-
- uses: akaihola/darker@2.0.0
737+
- uses: akaihola/darker@2.1.0
738738
with:
739739
options: "--check --diff --isort --color"
740740
src: "./src"
741-
version: "~=2.0.0"
741+
version: "~=2.1.0"
742742
lint: "flake8,pylint==2.13.1"
743743
744744
There needs to be a working Python environment, set up using ``actions/setup-python``

action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ inputs:
1414
required: false
1515
default: "."
1616
version:
17-
description: 'Version of Darker to use, e.g. "~=2.0.0", "2.0.0", "@master"'
17+
description: 'Version of Darker to use, e.g. "~=2.1.0", "2.1.0", "@master"'
1818
required: false
19-
default: "~=2.0.0"
19+
default: "~=2.1.0"
2020
revision:
2121
description: >-
2222
Git revision range to compare when determining modified lines.

src/darker/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""The version number for Darker is governed by this file"""
22

3-
__version__ = "2.0.0"
3+
__version__ = "2.1.0"

0 commit comments

Comments
 (0)