Skip to content

Release 3.1.0

Compare
Choose a tag to compare
@Benezivas Benezivas released this 13 Nov 20:45
· 1398 commits to main since this release
3807d67

This version fixes a rather nasty bug that was exploitable during the build process, described in #64.
It also fixes the default decoding and enconding methods of the parser class, that did not handle unicode correctly, as described in #63.

Both fixes courtesy to Imogen, in PRs #65 and #66.

The fixes brought along slight API changes that should be backwards compatible.
Parts of the image building of the match._build method have been moved into a util.build method.
The match object now takes an additional optional argument unsafe_build.

You should notice a performance drop when starting the battle script, since the fix introduces file I/O to temporarily store built docker images on the drive in order to isolate them from one another during the build process. This hit can be slightly mitigated by the --unsafe-build option that can now be passed to the battle script. Since newly built images are now by default deleted after a run, a rebuild still has to happen when building a match object.

We will try to improve the build speed back to the expected one in a forthcoming release.