Releases: Farama-Foundation/ViZDoom
ViZDoom 1.3.0: Mature Farama Release
ViZDoom 1.3.0 Release Notes
Highlights of this release
- Farama General Standards compliance - ViZDoom now meets Farama General Standards for projects
- Original Doom levels - added as Gymnasium environments
- New methods for setting rewards for common actions like kill/item pickup/secret discovery/frag/death/level etc.
- Audio buffer and notification buffer - access in-game audio and messages and notifications in both original and Gymnasium APIs
- Python 3.13 & 3.14 support
- Better docstrings and type hints via .pyi file
- Semantic segmentation - category labels now available for objects in labels buffer
What's Changed (since 1.2.4)
Core
- Remove signal trapping by ViZDoom thread by @mwydmuch in #599
- Add kill/item/secret/frag etc. reward methods by @mwydmuch in #611
- Add notification buffer to a state (text that contains in-game messages and notifications, available both in original and Gymnasium API) by @mwydmuch and @melnimr in #636, #654, #655, #657, #674, #675, and #658
- Add ViZDoom Python interface file to aid an IDE for hinting by @Trenza1ore in #620, #625, and #667
- Add category as label attribute that can be used for semantic segmentation by @Trenza1ore in #626
- Add option to set configuration using config string or dict (
DoomGame.set_config) by @mwydmuch in #664 - Add getters for some
DoomGameattributes by @mwydmuch in #665 - Rename
ViZDoomOpenALSoundExceptiontoViZDoomNoOpenALSoundExceptionby @mwydmuch in #646 - Refactor and make
ServerStatemore efficient by @mwydmuch in #646
Gymnasium
- Add support for truncation in Gymnasium wrapper based on episode timeout by @mwydmuch in #587, and #614
- Binary buttons now use
MultiBinaryaction space by @mwydmuch in #615 - Add the audio buffer to the observation state in Gymnasium wrapper by @melnimr in #623
OpenAI Gym
Scenarios and environments
- Add original Doom levels as Gymnasium environments by @mwydmuch in #662 and #676
- Unified configurations (resolution, rendering, etc) for all default environments and bump their version from
v0tov1by @mwydmuch in #662 - Update freedoom to version 0.13 by @mwydmuch in #613
Determinism improvements
- Make animated textures to reset at the beginning of each episode to ensure screen buffer determinism (make envs with animated textures deterministic) by @mwydmuch in #672
- Make audio backend to restart at the beginning of each episode to ensure audio buffer determinism by @mwydmuch in #673
Audio buffer
- Add OpenAL init check when using AudioBuffer and other improvments by @mwydmuch in #645 and #651
- Add
basic_audio.wadby @mwydmuch in #648
Automap buffer
- Add an option to use sprites with automap (
DoomGame.set_automap_render_objects_as_sprites) by @mwydmuch in #671 - Fix automap rendering issues by @mwydmuch in #672
Documentation
- Add the HASARD benchmark to the third-party projects list by @TTomilin in #639
- Add gifs presenting each default environment by @mwydmuch in #677, and #679
- Add docs page about SLADE - Doom map editor - configuration with ViZDoom by @mwydmuch in #669
- Fix numerous typos and small issues with documentation by @mwydmuch in #612, #646, #667, #679, #681, #682
Examples
- Add example benchmarking the VizDoom as Gymnasium vectorized env by @melnimr in #616
- Update learning_stable_baselines3.py to support audio and notifications buffers by @melnimr and @mwydmuch in #638, and github.com//pull/674
Building, tests, CI/CD, and dependencies
- Pre-commit fixes and workflow updates by @mwydmuch in #603, #604, #605, #593, #594, #596, #597, #598
- Add support for version suffixes by @mwydmuch in #609, and #610
- Misc Boost related fixes by @Trenza1ore and @mwydmuch in #631, #641, #642, #643 and #644
- Add tests for exceptions by @mwydmuch in #646
- Update workflows to use trusted-publishing by @mwydmuch in #650
- Windows workflow fixes by @mwydmuch and @Trenza1ore in #628, #629 and #652
- Run apt-get update before building docs by @Trenza1ore in #630
- Drop wheels building for Intel macOS by @mwydmuch in #660
- Switch to pygame-ce by @mwydmuch in #653
- Update pybind11 and workflows to include Python 3.13 and Python 3.14 by @mwydmuch in #608, and #666
- Parallel tests via pytest-xdist by @Trenza1ore in #668
- Add support for editable mode (
pip install -e) by @mwydmuch in #670 - Add test for a basic processing loop by @mwydmuch in #672
New Contributors
- @melnimr made their first contribution in #616
- @Trenza1ore made their first contribution in #620
Full Changelog: 1.2.4...1.3.0
ViZDoom 1.3.0rc1: Original Doom levels, Python 3.14
ViZDoom 1.3.0rc1 Release Notes
This is the release candidate for ViZDoom 1.3.0 version.
What's Changed
New features
- Adding the notifications buffer to ViZDoom Gymnasium wrapper by @melnimr and @mwydmuch in #657, #674, #675, and #658
- Add option to set configuration using config string or dict by @mwydmuch in #664
- Add additional getters for some DoomGame attributes by @mwydmuch in #665
- Add original Doom levels as Gymnasium environments by @mwydmuch in #662 and #676
- Add an option to use sprites with automap by @mwydmuch in #671
Determinism improvements
- Make animated textures to reset at the beginning of each episode to ensure screen buffer determinism (make envs with animated textures deterministic) by @mwydmuch in #672
- Make audio backend to restart at the beginning of each episode to ensure audio buffer determinism by @mwydmuch in #673
Docs
- Notifications buffer examples and fixes by @mwydmuch in #654, and #655
- Update vizdoom.pyi by @mwydmuch in #667
Building, tests, CI/CD, and dependencies
- Drop wheels building for Intel macOS by @mwydmuch in #660
- Switch to pygame-ce by @mwydmuch in #653
- Update cibuildwheel action to support Python 3.14 by @mwydmuch in #666
- Parallel tests via pytest-xdist by @Trenza1ore in #668
- Add support for editable mode (pip install -e) by @mwydmuch in #670
Full Changelog: 1.3.0.dev3...1.3.0rc1
ViZDoom 1.3.0.dev3: New notifications buffer, audio buffer improvments, label categories for easy semantic segmentation, maintenance
ViZDoom 1.3.0.dev3 Release Notes
This is the third dev release before the final 1.3.0 release.
What's Changed
New features
- Add notifications buffer by @mwydmuch in #636
- Category as label attribute that can be used for semantic segmentation by @Trenza1ore in #626
- Benchmarking the VizDoom env in vectorized gymnasium by @melnimr in #616
- Added ViZDoom Python interface file to aid an IDE for hinting by @Trenza1ore in #620 and #625
Audio buffer
- Add the audio buffer to the observation state in Gymnasium wrapper by @melnimr in #623
- Add OpenAL init check when using AudioBuffer and other improvments by @mwydmuch in #645 and #651
- Add basic_audio.wad by @mwydmuch in #648
- Update learning_stable_baselines3.py to support audio buffer by @melnimr in #638
Docs
Tests
- Exception tests, rename ViZDoomOpenALSoundException -> ViZDoomNoOpenALSoundException, refactor ServerState, doc updates by @mwydmuch in #646
Building
Workflows
- Update workflows to use trusted-publishing by @mwydmuch in #650
- Windows workflow fixes by @mwydmuch and @Trenza1ore in #628, #629 and #652
- Run apt-get update before building docs by @Trenza1ore in #630
New Contributors
- @melnimr made their first contribution in #616
- @Trenza1ore made their first contribution in #620
Full Changelog: 1.3.0.dev2...1.3.0.dev3
ViZDoom 1.3.0.dev2: Freedoom 0.13, truncation support, MultiBinary buttons
ViZDoom 1.3.0.dev2 Release Notes
This is the second dev release before the final 1.3.0 release.
What's Changed
- DoomGame and GameState documentation pages fixes and improvements by @mwydmuch in #612
- Update freedoom to version 0.13 by @mwydmuch in #613
- Add support for truncation in Gymnasium wrapper based on episode timeout by @mwydmuch in #614
- Binary buttons now use MultiBinary action space by @mwydmuch in #615
- Update publish actions by @mwydmuch in #617 and #618
Full Changelog: 1.3.0.dev1...1.3.0.dev2
ViZDoom 1.3.0.dev1: Python 3.13 support, remove old signal trapping and OpenAI Gym wrapper
ViZDoom 1.3.0.dev1 Release Notes
This is the first of a few dev releases before the final 1.3.0 release.
What's Changed
- Update actions/download-artifact in /.github/workflows by @mwydmuch in #593, #594, #596, #597, #598
- Add isEpisodeTimeoutReached/is_episode_timeout_reached method to the core API by @mwydmuch in #587
- Remove the original OpenAI Gym wrapper by @mwydmuch in #594
- Add try/catch block around message queue receive method in the engine by @mwydmuch in #600
- Remove signal trapping by ViZDoom thread by @mwydmuch in #599
- Pre-commit fixes and workflow updates by @mwydmuch in #603, #604, #605
- Add support for version suffixes by @mwydmuch in #609
- Fix for a new version suffix by @mwydmuch in #610
- Update workflows to include Python 3.13 by @mwydmuch in #608
- Add kill/item/secret/fragReward etc. methods by @mwydmuch in #611
Full Changelog: 1.2.4...1.3.0.dev1
ViZDoom 1.2.4: Support for NumPy 2.0+, add building of Windows and Apple Silicon wheels on GH Actions
ViZDoom 1.2.4 Release Notes
This is a maintenance release that fixes some bugs and adds support for NumPy 2.0+.
What's Changed
- Update learning_stable_baselines3.py and other examples by @mwydmuch in #581 and #583
- Fix the ongoing recording not being saved when close() method was called by @mwydmuch in #584
- Add LevDoom and COOM benchmarks to the tools/projects list by @TTomilin in #585
- Building and CI/CD updates/clean up by @mwydmuch in #579 and #586
- Update pybind11 version to 2.13.4 to support NumPy>=2.0 by @mwydmuch in #590
- Add workflows for building Windows wheels by @mwydmuch in #591
- Update workflows to support building macOS Apple Silicon (arm64) wheels by @mwydmuch in #592
New Contributors
Full Changelog: 1.2.3...1.2.4
ViZDoom 1.2.3: Support for Python 3.12, fix for the Gymnasium wrapper
ViZDoom 1.2.3 Release Notes
The aim of this release is mainly to add support for Python 3.12 and fix a serious bug in the Gymnasium wrapper (thanks @caozhenxiang-kouji for reporting).
What's Changed
- Add support for Python 3.12 by @mwydmuch in #570
- Fix the bug in the Gymnasium wrapper that was constructing correct actions only for
inttype but not fornp.inttypes, whenaction_space = Discrete(reported in #574) by @mwydmuch in #575 - Add Farama notifications to the Python package by @mwydmuch in #568
- Add workflows to build docs version by @mgoulao in #567
- Add
set/getGameArgs/set/get_game_argsmethods by @mwydmuch in #569 - Add support for +win_x/y CVARs on Linux and MacOS by @mwydmuch in #569
- Setup.py and tests updates by @mwydmuch in #573
- Add support for viz_noxserver option on macos by @mwydmuch in #577
- Documentation updates by @mwydmuch in #576 and #578
Full Changelog: 1.2.2...1.2.3
ViZDoom 1.2.2: Fix for Python source distribution missing pybind11, fix manual building
ViZDoom 1.2.2 Release Notes
The aim of this release is mainly to fix some issues with installing ViZDoom on configurations that cannot use binary wheels.
What's Changed
- Create FUNDING.yml by @mwydmuch in #557
- Create CODE_OF_CONDUCT.md by @mwydmuch in #559
- Building and CI/CD fixes by @mwydmuch in #558, #560, #562
- Documentation updates by @mwydmuch in #561, #563, and #564
load_config/loadConfigfix by @mwydmuch in #565
Full Changelog: 1.2.1...1.2.2
ViZDoom 1.2.1: Manylinux wheels, docstrings and argument names in the Python module, and a new documentation website
ViZDoom 1.2.1 Release Notes
This release focuses on improving the user experience by adding support for docstrings and argument names in the Python module, a new documentation website, and, finally, improvements to the building process that allows for prebuilding manylinux wheels. This release does not introduce any changes to the API and is 100% compatible with the previous version.
What's Changed
- Docstrings were added to the Python module by @mwydmuch in #544
- Argument names were added to the Python module by @mwydmuch in #549
- A new documentation website based on Sphinx was created by @mgoulao, @mwydmuch in #540, #551, #554
- Manylinux wheels workflow using cibuildwheel was added by @mwydmuch in #552
- Python 3.7 support was dropped by @mwydmuch in #550
Full Changelog: 1.2.0...1.2.1
ViZDoom 1.2.0: add Gymnasium wrapper, Pickle support, and ARM compatibility
ViZDoom 1.2.0 Release Notes
This release adds official Gymnasium support, support for serialization using Pickle, and ARM compatibility. Besides that, it improves and modernizes the codebase to simply further maintenance of the library.
ViZDoom core API and Gym wrapper remain unchanged in this release. The code using the 1.1.X version should be fully compatible with this release.
New Features and Improvements:
- Added Gymnasium support. The wrapper for Gymnasium 0.28 was added, and from now on it will be an integral part of the library. The old Gym 0.26 wrapper remains as an optional extra. Because of that, we mark this release as the next minor release for the first time in 4 years.
- Added Pickle support.
- The Gymnasium/Gym wrappers now support the serialization of environments via pickle. Now both the environments and their states can be serialized.
- The
GameStateobject and its subobjects, which are returned from C++ byDoomGame.get_state()method in core Python API, now also support serialization. However,DoomGameobject that wraps the game engine cannot be serialized.
- Compatibility with ARM. The library can now be easily compiled and installed on ARM Linux as well as on Apple Silicon.
- Python 3.11 support. The ViZDoom library can now be installed with Python 3.11.
Environments:
The default configurations for all build-in scenarios/environments were unified to use 320x240 resolution (original DOS Doom resolution) as default.
Bug Fixes and Documentation Updates:
This release introduces numerous improvements to the codebase that will simplify further maintenance:
- Pre-commit-hooks with code formatting and checks were added.
- All assembler code was removed. Instead, the C/C++ code that was present in the engine as a fallback is now used instead. Currently, these assembler parts are not bringing significant performance improvements and thus were not worth keeping in our opinion. Because of that, the assembler compiler was removed from the list of dependencies as it's no longer needed.
- Lemon and Zipdir libraries were updated to the newer versions to fix issues with a building project on ARM machines and some Windows configurations.
- Fixed some deprecation warnings in the C/C++ codebase.
- Updated and cleaned-up documentation related to the project building.
- Added a long description for the PyPI package page.
- Added many tests for both core API and the Gymnasium wrapper.
- Cleaned up the codebase and removed unused files, scripts, commented code blocks, and Visual Studio project files.
Full Changelog: 1.1.14...1.2.0