Byexample Versions Save

Write snippets of code in C++, Python, Ruby, and others as documentation and execute them as regression tests.

10.5.6

1 year ago

Changes from previous version:

Fixes

  • Runners based on Popen now support setecho for #245 but they will ignore the value.

Full Changelog: https://github.com/byexamples/byexample/compare/10.5.5...10.5.6

10.5.5

1 year ago

Changes from previous version:

Fixes

  • Command line argument -x-turn-echo-off introduced on 10.5.4 (#245) must now receive an explicit argument True/False (or yes/no or y/n or 1/0) to decide if the echo us turned off or not.

Full Changelog: https://github.com/byexamples/byexample/compare/10.5.4...10.5.5

10.5.4

1 year ago

Changes from previous version:

Enhancements

  • support -x-turn-echo-off to turn the echo off on each example to be executed (#245). This option is disabled by default on 10.5.x to not break backward compatibility and it is intentionally undocumented. Expected to be formally enabled on 11.0.0

What's Changed

Full Changelog: https://github.com/byexamples/byexample/compare/10.5.3...10.5.4

10.5.3

1 year ago

Changes from previous version:

Enhancements

  • support pyte 0.8.1 (used for ANSI terminal emulation, aka +term) (#243)

What's Changed

Full Changelog: https://github.com/byexamples/byexample/compare/10.5.2...10.5.3

10.5.2

2 years ago

Changes from previous version:

Fixes

  • wait the remain of the example timeout after a stop signal is sent on stop-on-silence instead of waiting the silence's timeout (#228)

Enhancements

  • support use flag followed by a single argument separated by a space in the options file (#226)
  • support comment lines and empty lines in the options file (#226)
  • support quit (SIGQUIT) signal for stop-signal (#230)
  • document how to use different signals with kill when byexample does not support them natively (#230)
  • document the file pattern expansion (glob) introduced in 10.0.3 (#226)
  • document a recipe of how to use byexample with sudo shells (#224)

What's Changed

Full Changelog: https://github.com/byexamples/byexample/compare/10.5.1...10.5.2

10.5.1

2 years ago

Changes from previous version:

Fixes

  • add the modules/plugins into sys.modules (make them pickle-able) (#220 and #221)
  • make the modules/plugins usable across subprocesses using prepare_subprocess_call (#220 and #221)

Notes for modules/plugins developers:

Pre-10.5.0 byexample loaded the modules/plugins using a deprecated library. In Python 3.10 this lib is not longer available so in 10.5.0 byexample changed the way that the modules are loaded.

This broke existing plugins that relayed on 'spawn' start method for multiprocessing (the default in MacOS).

With this new release (10.5.1), a fix is shipped but requires some changes. See https://byexamples.github.io/byexample/contrib/concurrency-model#caveats-on-using-multiprocessing-within-a-moduleplugin

What's Changed

Full Changelog: https://github.com/byexamples/byexample/compare/10.5.0...10.5.1

10.5.0

2 years ago

Changes from previous version:

Fixes

  • Support Python 3.10 (byexample was not fully compatible with it). #216

Enhancements

  • When enabled the first verbose level, byexample will print the version of the runner/interpreter that is running. #12
  • Document what are the versions of the languages and runners/interpreters that we are using for testing in the Github CI. #218

What's Changed

Full Changelog: https://github.com/byexamples/byexample/compare/10.4.2...10.5.0

10.4.2

2 years ago

Changes from previous version:

Improvements

  • pre-commit description
  • version checks

Full Changelog: https://github.com/byexamples/byexample/compare/10.4.1...10.4.2

10.4.1

2 years ago

Changes from previous version:

Fixes

  • Fixes Golang tests (CI uses now Go 1.16 and 1.17 for testing). (#212)
  • Check and fix any deprecated feature. (#210)
  • Fixed deprecated collections.Mapping. (#209 thanks @saraedum)

10.4.0

2 years ago

Changes from previous version:

Fixes

  • Minor doc fixes.

Enhancements

  • Disable optionally the progress bar with --no-progress-bar (#206)
  • Make byexample project compatible with pre-commit so it can be used as a hook (#208). See PR #202 made by @jeertmans.