Skip to content

Commit b934639

Browse files
committed
Version 2.0.0
1 parent 1c241f9 commit b934639

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# 2.0.0-dev
1+
# 2.0.0
22

3-
Release date: `202x-xx-xx`
3+
Release date: `2025-01-10`
44

55
## Bug Fixes
66

@@ -20,7 +20,7 @@ Release date: `202x-xx-xx`
2020
- Calendar recipe: added the {func}`recipes.calendar.format_event_date()` function.
2121
- Calendar recipe: moved the {meth}`recipes.calendar.Calendar.forge_header_image()` method to its own {func}`recipes.calendar.forge_header_image()` function.
2222
- Weather recipe: added the {const}`recipes.weather.USER_AGENT` constant.
23-
- Weather recipe: removed the useless {const}`recipes.weather.UNKNOWN` constant.
23+
- Weather recipe: removed the {const}`recipes.weather.UNKNOWN` constant.
2424

2525
# 1.0.0
2626

docs/source/recipes.rst

+13-2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,16 @@ Print daily stuff from your calendar, and birthdays as a bonus!
3131
You can tweak those constants to better fit your needs:
3232

3333
.. autodata:: thermalprinter.recipes.calendar.BIRTHDAY
34+
.. autodata:: thermalprinter.recipes.calendar.MONTH_NAMES
35+
.. autodata:: thermalprinter.recipes.calendar.NICE_DAY
36+
.. autodata:: thermalprinter.recipes.calendar.TOMORROW
37+
38+
.. versionadded:: 2.0.0
39+
40+
.. autodata:: thermalprinter.recipes.calendar.UNTIL
3441

3542
.. versionadded:: 2.0.0
3643

37-
.. autodata:: thermalprinter.recipes.calendar.MONTH_NAMES
38-
.. autodata:: thermalprinter.recipes.calendar.NICE_DAY
3944
.. autodata:: thermalprinter.recipes.calendar.WHOLE_DAY
4045

4146
Installation:
@@ -161,6 +166,12 @@ Here is the API:
161166
Beautiful weather ASCII arts, copied from `schachmat/wego <https://github.com/schachmat/wego/blob/2.3/frontends/ascii-art-table.go>`_.
162167

163168
.. autodata:: thermalprinter.recipes.weather.SAINTS_FILE
169+
170+
.. versionadded:: 2.0.0
171+
164172
.. autodata:: thermalprinter.recipes.weather.URL
165173
.. autodata:: thermalprinter.recipes.weather.USER_AGENT
174+
175+
.. versionadded:: 2.0.0
176+
166177
.. autodata:: thermalprinter.recipes.weather.TIMEZONE

src/thermalprinter/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from thermalprinter.exceptions import ThermalPrinterError
1717
from thermalprinter.thermalprinter import ThermalPrinter
1818

19-
__version__ = "2.0.0-dev"
19+
__version__ = "2.0.0"
2020
__author__ = "Mickaël Schoentgen"
2121
__copyright__ = f"""
2222
Copyright (c) 2016-2025, {__author__}

0 commit comments

Comments
 (0)