Skip to content

Releases: byexamples/byexample

10.3.0

10 Jul 19:44
Compare
Choose a tag to compare

Changes from previous version:

Enhancements

  • Disable named capture tags without disabling all the tags (#199)
  • New language: Java (#194 #198 #194).

10.2.0

06 Jul 14:13
Compare
Choose a tag to compare

Changes from previous version:

Fixes

  • Fix some edge RC on recovering/interpreter.

Enhancements

  • New advanced flag: -x-delayafterprompt. Wait n secs to capture more
    output after the last prompt. See #176.
  • New language: Go (#183).
  • New language: Rust (#176).

10.1.0

28 Jun 14:02
Compare
Choose a tag to compare

Changes from previous version:

Fixes

  • Fix incompatibility with irb 1.2.1 (#162) (already in byexample
    10.0.4)

Enhancements

  • Query the interpreter to get its version (#172 #162).
  • Capture environment variables and put them in the byexample's
    clipboard so they can be pasted and used in the conditionals (#177)
  • Support send an interrupt (^C) and an EOF (^D) in addition to a
    suspend (^Z) on shell's stop-on-silence/stop-on-timeout (#184)
  • New language: iasm an interactive assembler (#179 #185).
  • New language: PowerShell (#175 #186).

Unsupported languages

  • Elixir and PHP are currently unsupported but contributions are
    welcome! (#187)

10.0.4

24 May 00:26
Compare
Choose a tag to compare

Changes from previous version:

Fixes

  • Fix incompatibility with irb > 1.2.1 (#162)
  • Add +ruby-start-large-output-in-new-line option to add a newline
    after the => marker for large outputs (for irb >= 1.2.2), see #162

Enhancements

  • Add get_version method to ExampleRunner. Currently only ruby
    supports it (#172). No API break.

10.0.3

01 May 02:30
Compare
Choose a tag to compare

Changes from previous version:

Fixes

  • Minor fixes in the documentation and help messages.

Enhancements

  • Parameters that are files support now glob patterns so
    it is easy to write things like '**/*.py' in the command line and
    in a config file (#107).
  • Make +type and alias of +input flags. Improves readability (#169).

10.0.0

24 Mar 18:01
Compare
Choose a tag to compare

This major version adds little features but introduces fundamental
changes in the architecture of byexample specially in the area of
concurrency.

This version also drops support for Python 3.5 which it is in the end of
life since a few months.

The good news is that this major version does not add any incompatible
change to the examples which it is proof that byexample 10.0.0 reached
to a Production/Stable level.

Changes from previous version:

Fixes

  • Fix incompatibility with doctest (#10, #147)

Enhancements

  • Use multithreading instead of multiprocessing which is much
    lightweight and faster. On the other hand, it looses a little of
    parallelism (#131, #143, #154).
  • Several enhancements in the log systems (#131).

Incompatible changes (lib)

  • Required the use of byexample.regex instead of Python's re
    module (#144)
  • The ExampleFinder, ExampleParser, ExampleRunner, ZoneDelimiter and
    Concerns objects will be instantiated once in the main thread and once
    per worker thread. This is N+1. (#131)
  • The concurrency model of byexample by default is multithreading
    (#131) but the developers of modules must not make any assumption. If
    they need to share data among the workers or synchronize them, use
    sharer and namespace which hide the concurrency model (#143, #154).
  • New parameters accessible to the modules: job_number, sharer and
    namespace (#143, #154)
  • Minor changes to PexpectMixin to hide more the internal object
    (pexpect.spawn) (#142)

Others:

  • Implemented a profile system (#1).
  • Updated the specialized Dockerfile to set up an environment with all the
    interpreters supported by byexample, ready to run the tests based on
    Debian Buster; cpp and elixir are missing and php tests are
    not well supported.
  • Added more documentation including the concurrency model.

9.2.6

01 Mar 22:12
18f0539
Compare
Choose a tag to compare

Changes from previous version:

Enhancements

  • better logs for when a prompt is not found (timeout), the interpreter
    is not found or the interpreter closed unexpectedly.

Others

  • added a "troubleshooting" page

9.2.5

24 Feb 12:23
Compare
Choose a tag to compare

Changes from previous version:

Fixes

  • The byexample-repl.js file was missed and not bundled in the tar.gz
    and wheel packages. Now it is shipped.

Note: this 9.2.5 is meant to override the previous 9.2.3/9.2.4 which
were tagged from master by mistake.

9.2.2

16 Jul 18:20
Compare
Choose a tag to compare

Changes from previous version:

Fixes

  • When searching examples in a .py (python), do not fail if the file
    contains a syntax error. Instead, try to keep searching and warn about
    the situation.

9.2.1

07 Jul 00:10
Compare
Choose a tag to compare

Changes from previous version:

Fixes

  • Force the use of 'fork' as the start method (629064c, #116)
    This makes byexample to work on MacOS with Python 3.8 again.

Others