Skip to content

Tags: byexamples/byexample

Tags

11.0.0

Toggle 11.0.0's commit message
11.0.0

Changes from previous version:

Incompatible changes:
 - Ignore empty space at the begin of the got string (#275).
   This can be disabled with `-ignore-first-empty-lines`
   This may break some tests, but it is unlikely.
 - Filter ANSI escape sequences for terminal colors as a new term (#180)
   This may break some tests, but it is unlikely.

Fixes
 - Replace tabs by spaces to prevent autocompletion (#193)
 - Support encoding error handling (currently only strict is set) (#232)
 - Set `PAGER=cat` and `PROMPT_COMMAND=''` in Bash (taken from `pexpect.replwrap`) (#269)
 - Test newer versions of byexample dependencies (#238)
 - Allow to change the strategy to handle encoding/decoding errors (#86)
 - Python option `+py-doctest` changes byexample's default config
   even for languages other than Python (#203)
 - Fix tests for Python 3.13+ due unmanaged escape control sequences (#282)

Enhancements
 - Strip leading empty lines on timeout (#110)
 - Support for brace-expansion in files (#174)
 - Add an optional `%w` wildcard to the shebang to be replaced
   with the current working directory (#258)
 - Enable `+force-echo-filtering` per interpreter and not only globally (#248)
 - Turn terminal echo off on each source code execution by the interpreter (#245)
 - Simplify runners using new echo algorithm (increase default geometry
   to 2048x1024 and allow cpp to change its geometry) (#272)
 - Bash autocomplete (#75)
 - Explain a possible fix for the `argparse` limitation with `--options` (#249)

Notes for modules/plugins developers:
 - Introduce `cfg` and document that the call to parent's `__init__` is mandatory
   for `ExampleParser`, `ExampleRunner`, `ExampleFinder`, `ZoneDelimiter` and `Concern` (#233)
 - Remove `super` from the extension classes (`ExampleFinder`, `ExampleRunner`, ...)
   as the hierarchy may not support cooperative inheritance (and it isn't required) (#235)

show

Toggle show's commit message
bump: version 11.0.0

10.5.6

Toggle 10.5.6's commit message
10.5.6

Changes from previous version:

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

10.5.5

Toggle 10.5.5's commit message
10.5.5

Changes from previous version:

Fixes
 - Command line argument -x-turn-echo-off introduced on 10.5.4 (#243)
   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.

10.5.4

Toggle 10.5.4's commit message
10.5.4

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

10.5.3

Toggle 10.5.3's commit message
10.5.3

Changes from previous version:

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

10.5.2

Toggle 10.5.2's commit message
10.5.2

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)

10.5.1

Toggle 10.5.1's commit message
10.5.1

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

10.5.0

Toggle 10.5.0's commit message
10.5.0

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

10.4.2

Toggle 10.4.2's commit message
10.4.2

Changes from previous version:

Improvements
 - pre-commit description
 - version checks