diff --git a/.gitignore b/.gitignore index cb8c3e02..c2aaddf5 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,5 @@ tmp/* *.ipynb_checkpoints /dist /wheelhouse +docs/build +docs/src diff --git a/CHANGELOG.md b/CHANGELOG.md index 31403025..5f9894d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,39 @@ This changelog follows the following convention [https://keepachangelog.com/en/1.0.0/](https://keepachangelog.com/en/1.0.0/). +## [1.3.0] - 2020-03-19 + +### Breaking + +- In `tw-make`, can't change grammar options when generating games for TextWorld challenges. [#216](https://github.com/microsoft/TextWorld/pull/216) +- `GameMaker.add_random_quest` -> `GameMaker.generate_random_quests`. [#222](https://github.com/microsoft/TextWorld/pull/222) +- `GameMaker.add_distractors` -> `GameMaker.generate_distractors`. [#222](https://github.com/microsoft/TextWorld/pull/222) + +### Removed + +- Theme "basic1" (use "basic" instead). [#219](https://github.com/microsoft/TextWorld/pull/219) + +### Added + +- Add documentation for `tw-play`, `tw-make`, and `tw-extract`. [#227](https://github.com/microsoft/TextWorld/pull/227) +- Add `feedback` field to `EnvInfos`. [#226](https://github.com/microsoft/TextWorld/pull/226) +- Add `walkthrough` property to `Game` objects. [#225](https://github.com/microsoft/TextWorld/pull/225) +- Add `walkthroughs` subcommand to `tw-extract`. [#223](https://github.com/microsoft/TextWorld/pull/223) +- Add `commands` subcommand to `tw-extract`. [#223](https://github.com/microsoft/TextWorld/pull/223) +- Docker image for TextWorld: [marccote19/textworld](https://hub.docker.com/r/marccote19/textworld). [#222](https://github.com/microsoft/TextWorld/pull/222) +- Add `requirements-full.txt` which contains all Python dependencies for TextWorld. [#222](https://github.com/microsoft/TextWorld/pull/222) +- Use `TEXTWORLD_DEBUG=1` to print Inform7 events detected by TextWorld when playing a game. [#217](https://github.com/microsoft/TextWorld/pull/217) +- Add `ChainingOptions.allowed_types` which is complementary to `ChainingOptions.restricted_types`. [#219](https://github.com/microsoft/TextWorld/pull/219) +- Speed up quest generation when `ChainingOptions.create_variables==True` by fixing `r` to corresponding value in `at(P, r)`. [#219](https://github.com/microsoft/TextWorld/pull/219) + +### Fixed + +- Updated games shipped with the notebooks. [#225](https://github.com/microsoft/TextWorld/pull/225) +- Calling `GameOptions.seeds`, without setting a seed first, will return random seeds. [#222](https://github.com/microsoft/TextWorld/pull/222) +- Challenges shipped with TextWorld now contain a snapshot of the KnowledgeBase to improve reproducibility. [#216](https://github.com/microsoft/TextWorld/pull/216) +- Delete socket files created by `mlglk` on garbage collection. [#215](https://github.com/microsoft/TextWorld/pull/215) +- Issues related to tw-treasure_hunter challenge (#85, #164). + ## [1.2.0] - 2020-02-12 ### Breaking diff --git a/MANIFEST.in b/MANIFEST.in index 22ea8140..4590ccfa 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,7 @@ include requirements.txt include README.md include LICENSE.txt +include CHANGELOG.md include CONTRIBUTING.md include License.md include setup.sh diff --git a/textworld/version.py b/textworld/version.py index 58d478ab..19b4f1d6 100644 --- a/textworld/version.py +++ b/textworld/version.py @@ -1 +1 @@ -__version__ = '1.2.0' +__version__ = '1.3.0' diff --git a/tools/package-impl.sh b/tools/package-impl.sh index 0a80b97c..0724297d 100755 --- a/tools/package-impl.sh +++ b/tools/package-impl.sh @@ -6,7 +6,7 @@ set -e cd /usr/src/TextWorld -for PYTHON in /opt/python/cp3[5-7]*/bin/python; do +for PYTHON in /opt/python/cp3[5-8]*/bin/python; do $PYTHON setup.py bdist_wheel -d wheelhouse done diff --git a/tools/package.sh b/tools/package.sh index 3397a5f1..5d6751ae 100755 --- a/tools/package.sh +++ b/tools/package.sh @@ -15,11 +15,17 @@ fi ./setup.sh # But don't include too much in the source package -rm -rf textworld/thirdparty/I7* textworld/thirdparty/inform7-6M62 +# Temporarily move files related Inform7. +#rm -rf textworld/thirdparty/I7* textworld/thirdparty/inform7-6M62 +mkdir -p /tmp/tw_release_bkp +mv textworld/thirdparty/I7* textworld/thirdparty/inform7-6M62 /tmp/tw_release_bkp/ make -C textworld/thirdparty/glulx/Git-Glulx clean make -C textworld/thirdparty/glulx/cheapglk clean rm -rf build *.egg-info python setup.py sdist +# Move back the Inform7 related files. +mv /tmp/tw_release_bkp/I7* /tmp/tw_release_bkp/inform7-6M62 textworld/thirdparty/ + docker run --dns 1.1.1.1 --rm -v "$PWD":/usr/src/TextWorld quay.io/pypa/manylinux1_x86_64 /usr/src/TextWorld/tools/package-impl.sh