All notable changes to this project will be documented in this file.
The format is based on CHANGELOG.md and this project adheres to Semantic Versioning.
Moved py.typed to the correct location.
- Fixed type annotation support when imported.
Fixed an issue with the Ruff workflow.
- Fixed Ruff running on tag releases
Completely overhauled the escapyde.ansi.AnsiEscape
class. This release breaks
backwards compatibility with manual use of the class, however use of the
provided colour shortcuts is not affected. README.md
has also been updated.
- Added support for chaining formatting options
- Added new validators
- Added new examples to
README.md
, with screenshots - New unit tests
SECURITY.md
- Updated dependencies
- Moved screenshots to an asset directory
escapyde.ansi.AnsiEscape
now works a lot differently
- Fixed chaining escape sequences
Remembered to include py.typed
in the package, and fixed a bug with the
escape_format
function. Furthermore, identified a major bug with chained
escapes, which will be fixed in the next major update as it may require breaking
changes.
- Added
py.typed
- this time for real - Added unit tests
- Updated dependencies
- Fixed a bug where
escape_format
was forcing any replaced substrings to be lowercase. The casing in the output now matches the input.
Updated dependencies, and added py.typed
to show the package
is type-hinted.
- Added
py.typed
- Updated dependencies
Updated metadata files, workflows, and dependencies.
- Added a whole bunch of new workflows
- Added Dependabot auto-updates
- Added a pull request template
- Updated dependencies
- Updated some metadata
This release adds a new function, escapyde.escape_format
, which can be used
to format known substrings in a string with ANSI escape sequences. In addition
the codebase now uses type hints thorough.
The new feature was inspired by this Reddit thread.
- Added
escapyde.escape_format
- Added more type hints for better typing coverage
- Updated the localisation files
This release adds support for arbitrary types; previously AnsiEscape
only
supported strings.
- Changed
AnsiEscape
to support any type - Updated the localisation files
A hotfix release that fixes a problem in the README example code, and adds a screenshot of the code running.
- Added a screenshot of the example code running in IPython
- Updated the localisation files
- Fixed a mistake in the
README.md
example code related to string formatters - Fixed the package name in
CHANGELOG.md
This is the beginning of the changelog. Previously made commits have not been tracked, and there are no plans to distinguish them. You may consider this the initial commit.
- Added Poetry files and build system
- Added a Lorem Ipsum example text snippet
- Added GitHub Actions
- Added autonatic PyPI releases
- Added 'clear' as a built-in formatting option
- Added a
Makefile
- Added docstrings thorought the package
- The releases are now built on the latest version of Ubuntu, using Python 3.9
README.md
now has more content, including example usage- Default colours are now available from the top level of the package
(eg.
escapyde.FRED
instead ofescapyde.colours.FRED
) - Updated the localisation files
- Fixed an oversight related to chaining ANSI escape sequences
- Fixed linter issues