Skip to content

Commit

Permalink
Updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
trag1c committed Dec 1, 2022
1 parent b4f9db7 commit c8cbd33
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 3 deletions.
63 changes: 63 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.2] - 2022-12-01

### Added
- `py.typed` file by [@Lunarmagpie](https://github.com/Lunarmagpie)

### Changed
- `__main__.py:main` now uses `sys.exit` instead of `exit`
- Improved project structure

### Fixed
- Fixed 4-bit colors being entirely unused by the `__get_ansi` function

Also thanks to [@Sigmanificient](https://github.com/Sigmanificient) for minor improvements!

## [2.1.1] - 2022-11-01

### Fixed
- Included `dahlia` and `dprint` functions in the module's `__all__`

## [2.1.0] - 2022-11-01

### Added
- 4-bit colors
- Custom marker support
- Legacy `dahlia` and `dprint` functions
- `black` and `isort` as dev dependencies

## [2.0.0] - 2022-09-24

### Added
- Support for the NO_COLOR environment variable
- `Depth` enum for `Dahlia` construction

### Changed
- Functions `dahlia`, `dprint`, and `dinput` have been replaced by the `Dahlia` class with methods `convert`, `print`, and `input`, respectively

### Remoevd
- Global `config` variable

## [1.1.0] - 2022-08-12

### Added
- `dinput` function
- `reset` function
- `no_reset` parameter for `dahlia`, `dprint`, `dinput`.

## [1.0.0] - 2022-07-12

Initial release 🎉

[1.0.0]: https://github.com/trag1c/Dahlia/releases/tag/1.0.0
[1.1.0]: https://github.com/trag1c/Dahlia/compare/1.0.0...1.1.0
[2.0.0]: https://github.com/trag1c/Dahlia/compare/1.1.0...2.0.0
[2.1.0]: https://github.com/trag1c/Dahlia/compare/2.0.0...2.1.0
[2.1.1]: https://github.com/trag1c/Dahlia/compare/2.1.0...2.1.1
[2.1.2]: https://github.com/trag1c/Dahlia/compare/2.1.1...2.1.2
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
copyright = "2022, trag1c"
author = "trag1c"

release = "2.1.1"
release = "2.1.2"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dahlia"
version = "2.1.1"
version = "2.1.2"
description = "A library allowing you to use Minecraft format codes in strings."
authors = ["trag1c <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/dahlia/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def main() -> None:
if args.test:
d.test()
elif args.version:
print("Dahlia 2.1.1")
print("Dahlia 2.1.2")
sys.exit()
if args.clean:
print(clean(string))
Expand Down

0 comments on commit c8cbd33

Please sign in to comment.