Skip to content

Releases: knotsanimation/kloch

v0.13.1 profile fix

10 Feb 20:15
Compare
Choose a tag to compare
v0.13.1 profile fix Pre-release
Pre-release

Changelog

fixed

  • issue with deeply nested profiles (inheritance)

Full Changelog: v0.13.0...v0.13.1

v0.13.0 fix cli list; improve system launcher

30 Jan 22:20
dfd3a99
Compare
Choose a tag to compare

Changelog

fixed

  • cli: issue with list command on inherited profiles

added

  • launchers : .system launcher new field command_as_str
  • launchers : .system launcher new field expand_first_arg

chores

  • Better launchers and launcher-plugin documentation.

What's Changed

  • 0.13: fix cli.list; feat launchers.system by @MrLixm in #12

Full Changelog: v0.12.0...v0.13.0

v0.12.0 context feature; profile tweaks

15 Nov 19:07
Compare
Choose a tag to compare
Pre-release

What's Changed

  • 0.12: context feature; profile tweaks by @MrLixm in #11

added

  • context system: allow to specify suffix tokens on launchers name to filter
    their visiblity based on the system context on runtime.
  • cli: allow to specify profile to run/resolve as file paths
  • launchers: add priority key to let kloch guess which launcher to use
    when a profile has multiple of them.

changed

  • ! @python launcher renamed to .python because of the new context system
  • ! system launcher renamed to .system for cohesion
    • updated profile version to 4
  • ! system launcher: add subprocess_kwargs field, shell=True is not default anymore.
  • improve error reporting when a launcher is invalid
  • minor logging improvements

fixed

  • issues when picking a launcher through multiple in a profile

Full Changelog: v0.11.2...v0.12.0

v0.11.2 pypi doc

26 Oct 11:30
Compare
Choose a tag to compare
v0.11.2 pypi doc Pre-release
Pre-release

Add PyPI install instructions in documentation.

Full Changelog: v0.11.1...v0.11.2

v0.11.1 fix PyPi publishing

26 Oct 10:06
Compare
Choose a tag to compare
Pre-release

Fix PyPI publishing GitHub action. Doesn't affect code.

Full Changelog: v0.11.0...v0.11.1

v0.11.0 plugin system; pip

26 Oct 09:38
fe2e084
Compare
Choose a tag to compare
Pre-release

This update focus on:

  • refactoring the plugin system
  • improving testing
  • adding PyPI publishing

Changelog

added

  • cli.run_cli, extracted from __main__
  • publish to PyPI and TestPyPI

changed

  • ! full refacto of the plugin system;
    • load_plugin_launchers is now public
    • load_plugin_launchers return a new LoadedPluginsLaunchers object instance
    • remove get_launcher_class and get_launcher_serialized_class; not useful anymore
  • improve error handling (less verbose tracebacks)
  • moved all code in __main__ to cli

chores

  • doc: update the Usage page to reflect the change made in previous version
  • doc: fix missing public-api for kloch.filesyntax
  • ci: add ci to publish to TestPyPI and PyPI.
    • TestPyPI is only triggered on main branch pushes and ready-to-review PRs
    • PyPI is only triggered on GitHub release
  • added CONTRIBUTING.md

Full Changelog: v0.10.0...v0.11.0

v0.10.0 breaking changes in profiles

04 Aug 16:49
e046fa7
Compare
Choose a tag to compare
Pre-release
  • 0.10: breaking changes in profiles by @MrLixm in #9

added

  • profile: new != "if not exists" token
  • the log file parent directory is created if it doesn't exist
  • it's possible to add environment variable in the keys of the config file that are paths

changed

  • ! cli: --profile_paths renamed to --profile_roots
  • ! profile: the default merge rule is now "append" instead of "override"
  • ! profile: renamed the root base key to inherit
  • logs go up to 262144 bytes before being rotated

Full Changelog: v0.9.0...v0.10.0

v0.9.0 config file changes

03 Jul 08:39
Compare
Choose a tag to compare
Pre-release

Changelog

added

  • relative path in the config file are made absolute to the config parent dir.

fixed

  • keys in config file have their type properly casted to the expected type

Full Changelog: v0.8.2...v0.9.0

v0.8.2 fix plugins command

29 Jun 17:29
Compare
Choose a tag to compare
Pre-release

Changelog

fixed

  • cli: plugins command not using self._config

Full Changelog: v0.8.1...v0.8.2

v0.8.1

29 Jun 09:06
Compare
Choose a tag to compare
v0.8.1 Pre-release
Pre-release

Fix documentation not building

Full Changelog: v0.8.0...v0.8.1