Skip to content

Commit c8cbd33

Browse files
committed
Updated version
1 parent b4f9db7 commit c8cbd33

File tree

4 files changed

+66
-3
lines changed

4 files changed

+66
-3
lines changed

CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [2.1.2] - 2022-12-01
9+
10+
### Added
11+
- `py.typed` file by [@Lunarmagpie](https://github.com/Lunarmagpie)
12+
13+
### Changed
14+
- `__main__.py:main` now uses `sys.exit` instead of `exit`
15+
- Improved project structure
16+
17+
### Fixed
18+
- Fixed 4-bit colors being entirely unused by the `__get_ansi` function
19+
20+
Also thanks to [@Sigmanificient](https://github.com/Sigmanificient) for minor improvements!
21+
22+
## [2.1.1] - 2022-11-01
23+
24+
### Fixed
25+
- Included `dahlia` and `dprint` functions in the module's `__all__`
26+
27+
## [2.1.0] - 2022-11-01
28+
29+
### Added
30+
- 4-bit colors
31+
- Custom marker support
32+
- Legacy `dahlia` and `dprint` functions
33+
- `black` and `isort` as dev dependencies
34+
35+
## [2.0.0] - 2022-09-24
36+
37+
### Added
38+
- Support for the NO_COLOR environment variable
39+
- `Depth` enum for `Dahlia` construction
40+
41+
### Changed
42+
- Functions `dahlia`, `dprint`, and `dinput` have been replaced by the `Dahlia` class with methods `convert`, `print`, and `input`, respectively
43+
44+
### Remoevd
45+
- Global `config` variable
46+
47+
## [1.1.0] - 2022-08-12
48+
49+
### Added
50+
- `dinput` function
51+
- `reset` function
52+
- `no_reset` parameter for `dahlia`, `dprint`, `dinput`.
53+
54+
## [1.0.0] - 2022-07-12
55+
56+
Initial release 🎉
57+
58+
[1.0.0]: https://github.com/trag1c/Dahlia/releases/tag/1.0.0
59+
[1.1.0]: https://github.com/trag1c/Dahlia/compare/1.0.0...1.1.0
60+
[2.0.0]: https://github.com/trag1c/Dahlia/compare/1.1.0...2.0.0
61+
[2.1.0]: https://github.com/trag1c/Dahlia/compare/2.0.0...2.1.0
62+
[2.1.1]: https://github.com/trag1c/Dahlia/compare/2.1.0...2.1.1
63+
[2.1.2]: https://github.com/trag1c/Dahlia/compare/2.1.1...2.1.2

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
copyright = "2022, trag1c"
1515
author = "trag1c"
1616

17-
release = "2.1.1"
17+
release = "2.1.2"
1818

1919

2020
# -- General configuration ---------------------------------------------------

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "dahlia"
3-
version = "2.1.1"
3+
version = "2.1.2"
44
description = "A library allowing you to use Minecraft format codes in strings."
55
authors = ["trag1c <trag1cdev@yahoo.com>"]
66
license = "MIT"

src/dahlia/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def main() -> None:
3333
if args.test:
3434
d.test()
3535
elif args.version:
36-
print("Dahlia 2.1.1")
36+
print("Dahlia 2.1.2")
3737
sys.exit()
3838
if args.clean:
3939
print(clean(string))

0 commit comments

Comments
 (0)