Releases: byexamples/byexample
Releases · byexamples/byexample
9.2.0
Changes from previous version:
Enhancements
- new option: +force-echo-filtering, allow the user to force
the echo filtering needing in some cases. It is an experimental
feature (see 451b218)
Fixes
- fix the zone finder for python modules (docstring): now find the
examples only in docstrings and in the strings at the module level
(see 6bc53be)
Others
9.1.1
9.1.0
Changes from previous version:
Enhancements
- new option: +input, allow the user to type input in a running example
(1070aa4, 72e6cb9) (closes #78) - InputPrefixNotFound subclass of Timeout exception (ce3f7a9)
- new option: +input-prefix-range, control min/max prefix required for
inputs (bd28195) - minor enhancements in the log's comments (20a07ab)
Incompatible changes (lib)
- _expect_prompt can wait for other things than prompts (3174d48)
- track remaining time with Countdown (5f995f, 895537f, cc1f475,
911719e) - capture_tag_regexs now returns a namedtuple (5985e6d)
Others - refactor and code relocation of Example/Where/Zone (6935cf9)
- _exec_and_wait now receive the example as a context (6b862ee)
- other renames (8278a74)
9.0.1
9.0.0
This is the point where byexample officially drops support for
Python 2.7.
Changes from previous version:
Fixes
- Fix recover mechanism (not always worked), still not perfect. (b48c4ae)
Enhancements
- Allow to wait for a custom prompt during the spawn (84b6d5e)
- PHP interpreter (experimental) (eedb025)
- Elixir interpreter (experimental) (8462de1, 1fce7ec)
- Refactor get output without echoed input (C++ and PHP) (2e4cfd1)
- Several enhancements in the log systems.
Incompatible changes (examples)
- Byexample does not longer support Python 2.7 (2.x). Python 2.7 will reach
to its end of life on January 1st 2020. Due this, having magical code in
the PythonRunner to mask and hide the difference between Python 2.x's
str and unicodes and 3.x's bytes and str has little value: the
str/unicode/bytes marker are not hidden anymore and the "b'" bytes
marker will be visible again.
Incompatible changes (lib)
- Remove common.log (API break) (f7bdda6) (#96)
- Send the formatted logs to Progress; don't format in Progress
(lib-level incompatible change) (8d34657) (#96) - Use clog instead of log (lib-level incompatible change) (b036798)
(#96)
Others:
- Specialized Dockerfile to set up an environment with all the
interpreters supported by byexample, ready to run the tests. - Several fixes in the documentation (thanks @matt17r)
- Several hacks were removed now that we support only one version of
Python.
8.1.3
8.1.2
8.1.1
8.1.0
Changes from previous version:
Fixes
- Fixed typo of class name
PexepctMixin
, replaced byPexpectMixin
(57452bd). Backward compatibility layer implemented in 7eafbb3. - Fixed undefined
sh
shell and set tobash
(3c3f59b). - Default implementation for the
__init__
ofConcern
(de26777).
Enhancements
- Allow to change the shell with some predefined options:
bash
,dash
,
ksh
(3c3f59b) with the new+shell
option. - Add better logs for the initial phases of
byexample
: modules load
and parsing options (b6b371c, part of issue #66 ). - Experimental Conditional Execution (a module) to allow to skip
or not an example based on a condition (797052f). Introduces
the+if
,+on
and+unless
options. - Restricted the set of possible characters for a tag name to letters,
numbers, minus and dot symbols; the names must starts with a letter or a
dot (a5707d4). The:
symbol is allowed too but reserved for future
uses. Related to issue #32 . - Auto hide the non-printable replacement in the enhanced diff
(ec24b30), closes #58. - Warn about non-printable char replaced that could be confused
(add2a0b), closes #30. - Improved how the diff are shown (ec24b30, add2a0b).
- Allow call external diff program (c210b5b). Enable this with
--diff tool
and set the diff command line with--difftool <cmd>
.
Closes #20.
Documentation:
Potential incompatible changes (examples)
- In Debian/Ubuntu based distros,
sh
is a symlink todash
. In
byexample 8.1.0
,sh
is replaced bybash
which it could break
some examples. See the comments in 3c3f59b for a full explanation.
In any case the incompatible changes should be easy to fix and if not,
the user can force to rollback todash
with the option+shell=dash
.
For Red Hat/Fedora based distros,sh
is a symlink tobash
so
it should be ok.