Skip to content

Releases: edward-jazzhands/textual-coloromatic

Release v1.0.1

30 Jul 05:51
f7d729b
Compare
Choose a tag to compare
  • Dropped the required Textual version back down to 3.7.1 (last 3.x.x release) to maintain compatibility with Textual 3.x.x.
  • Made some changes to the demo to make the library compatible with Textual 3.x.x
  • Added /tests directory with unit tests for the ColorOMatic, a [pytest] section in pyproject.toml, and added just test command to the justfile.
  • Added Nox testing and noxfile.py to run tests in different Python versions and across different versions of Textual.
  • Added pytest, pytest-asyncio, and pytest-textual-snapshot to dev dependencies.
  • Deleted ci-requirements.txt as it is no longer needed with the new Nox setup.
  • Changed ci-checks.yml to run Nox instead of individual commands for MyPy, Ruff, Pytest, etc.

v1.0.0

28 Jul 09:34
b4844cc
Compare
Choose a tag to compare

Upgrade to Textual 5, add CI and release workflows (#7)

Usage / API changes

  • Promoted library to 1.0.0 / stable release.
  • Upgraded to Textual 5.0.0.

Code and project changes

  • Renamed Changelog.md to CHANGELOG.md
  • Added 2 workflow to .github/workflows:
    • ci-checks.yml - runs Ruff, MyPy, BasedPyright (will add Pytest later)
    • release.yml - Workflow to publish to PyPI and github releases
  • Added 2 scripts to .github/scripts:
    • adds .github/scripts/validate_main.sh
    • adds .github/scripts/tag_release.py
  • Added 1 new file to root: ci-requirements.txt - this is used by the ci-checks.yml workflow to install the dev dependencies.
  • Added basedpyright as a dev dependency to help with type checking. Made the just typecheck command run it after MyPy and set it to 'strict' mode in the config (added [tool.basedpyright] section to pyproject.toml).
  • Replaced build and publish commands in the justfile with a single release command that runs the two above scripts and then pushes the new tag to Github
  • Workflow update-docs.yml now runs only if the release.yml workflow is successful, so it will only update the docs if a new release is made (Still possible to manually run it if needed, should add a 'docs' tag in the future for this purpose).
  • Changed the .python-version file to use 3.9 instead of 3.12.
  • Deleted the CustomListView class as it is no longer necessary in Textual 5.0.0. (Textual added indexing to the ListView class).