Skip to content

Release notes

Zoran Simic edited this page Sep 9, 2021 · 7 revisions

Release notes

3.4.1 (2021-09-08)

  • Made all API calls consistent

    • All "getters" now do fatal=False, logger=False, meaning they don't abort by default, and trace() their activity

    • All "operations" default to fatal=True, logger=UNSET, meaning they abort on failure, and use the default logger

  • Allow to turn on trace logging in cli.run(), more type annotations

3.3.7 (2021-09-06)

  • changed default: flattened() and joined() have now keep_empty=False by default. Found that in 99% of cases, empty items are NOT interesting, so changing the default to reflect that

  • Friendlier stack trace on forbidden remote http calls in tests

  • (de)compress() have a consistent behavior for all compression types

  • Automatically apply validate #sha256= checksum in http.download(), if checksum stated as url fragment

  • Added 'SYS_INFO.platform_id`

  • Colors can be now reference by their name

3.2.4 (2021-08-31)

  • Much better find_caller() interface and implementation

  • basename() can optionally follow= symlinks

  • Added ls_dir(), a --dryrun friendly version of Path.iterdir()

3.1.9 (2021-08-23)

  • Automatically relativize symlink()

  • run(passthrough=) now accepts a file-like object (and passes through to it)

  • [un]tar() renamed to [de]compress(), support .gz, .xz or .zip (from filename extension)

  • Added overwrite= flag in file operation functions

  • Simplified default log formats

  • Added checksum()

  • Enhanced python detection in pyenv module

3.0.8 (2021-07-22)

  • Replaced auto_install() function with @AutoInstall decorator

  • Accept pathlib.Path in run()

3.0.3 (2021-07-15)

  • Dropped support for python2

  • Corrected @thread_local_property decorator

  • Added runez.http