From 127d5108c5b101de72f69f3d07e98dd716009352 Mon Sep 17 00:00:00 2001 From: Mark Towers Date: Tue, 12 May 2026 11:20:09 +0100 Subject: [PATCH] Update to v0.12.0 --- .github/workflows/build-python.yml | 4 ++-- CHANGELOG.md | 36 ++++++++++++++++++++++++++++-- packages/wasm/package.json | 2 +- vcpkg.json | 2 +- version.txt | 2 +- 5 files changed, 39 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-python.yml b/.github/workflows/build-python.yml index 505fd5d6a..cbedf64b4 100644 --- a/.github/workflows/build-python.yml +++ b/.github/workflows/build-python.yml @@ -270,7 +270,7 @@ jobs: - name: Install ALE wheel # wildcarding doesn't work for some reason, therefore, update the project version here - run: python -m pip install "ale_py-0.11.2-${{ matrix.wheel-name }}.whl[test]" + run: python -m pip install "ale_py-0.12.0-${{ matrix.wheel-name }}.whl[test]" - name: Test run: python -m pytest @@ -313,7 +313,7 @@ jobs: - name: Install ALE wheel # wildcarding doesn't work for some reason, therefore, update the project version here - run: python -m pip install "ale_py-0.11.2-${{ matrix.wheel-name }}.whl[test]" + run: python -m pip install "ale_py-0.12.0-${{ matrix.wheel-name }}.whl[test]" - name: Install NumPy 1.X run: python -m pip install "numpy<2.0" diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c92938d4..c0f7746d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,38 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.11.2](https://github.com/Farama-Foundation/Arcade-Learning-Environment/compare/v0.11.1...v0.11.2) - 2025-07-12 + +* Fix audio and rendering for Windows and Linux by @unexploredtest (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/628) + +### Optimise AtariVectorEnv +* Optimising frame stack with contiguous memory by @pseudo-rnd-thoughts (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/618) +* Optimise `StateBufferQueue` to use Semaphore not mutexes by @pseudo-rnd-thoughts (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/619) + +## [0.11.1](https://github.com/Farama-Foundation/Arcade-Learning-Environment/compare/v0.11.0...v0.11.1) - 2025-05-29 +In v0.11.0, `AtariVectorEnv` was added, providing a C++ based vectorizer as an experimental feature. +This release fills out the implementation with many, many bug fixes and adds a couple of features. + +See the documentation for using the vector environment and parameters - https://ale.farama.org/vector-environment/ + +### Bug fixes for `AtariVectorEnv` +* Vector environment wouldn't seed correctly if equal to 0 (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/603) +* Fix the vector continuous action implementations (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/607) +* Terminate an episode if episodic_life is enabled (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/611) +* Correctly end frame skips (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/613) +* For async mode ensure that only the batch size number of results are returned (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/612) + +### Features added to `AtariVectorEnv` +* Add RGB obs support (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/606) +* Parametrize testing for each ROMs (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/615) +* Add same-step autoreset mode (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/614) +* Add XLA support - experimental feature (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/604) + +### Other changes +* Remove environment IDs for `Deterministic` and `RAM` (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/561) +* Change `get_keys_to_action` from `dict[ale_py.Action, tuple[int, ...]` to `dict[str, tuple[int, ...]]` (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/608) +* Add Linux ARM64 wheels (https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/609) + ## [0.11.0](https://github.com/Farama-Foundation/Arcade-Learning-Environment/compare/v0.10.2...v0.11.0) - 2025-04-26 This release adds (an experiment) built-in vectorisation environment, available through `gymnasium.make_vec("ALE/{game_name}-v5", num_envs)` or `ale_py.AtariVectorEnv("{rom_name}", num_envs)`. @@ -36,7 +68,7 @@ We will continue building out this vectorisation to include [XLA](https://github As this is an experimental feature, we wish to hear about any bugs, problems or features to add. Raise an issue on GitHub or ask a question on the [Farama Discord server](https://discord.gg/bnJ6kubTg6). -## [0.10.2](https://github.com/Farama-Foundation/Arcade-Learning-Environment/compare/v0.10.1...v0.10.2) - 2025-02-13 +## [0.10.2](https://github.com/Farama-Foundation/Arcade-Learning-Environment/compare/v0.10.1...v0.10.2) - 2025-02-14 Fixed performance regression for CPP users - A single-argument `act` function was missing causing the `paddle_strength` introduced in v0.10.0 to default to zero rather than one. As Gymnasium passed this variable to act, this was only an issue for users directly interacting with `ale_interface`. For more details, see https://github.com/Farama-Foundation/Arcade-Learning-Environment/pull/595. @@ -424,7 +456,7 @@ Importantly, Gymnasium 1.0.0 removes a registration plugin system that ale-py ut - Series of bug fixes from Matthew Hausknecht and community. -## [0.4.1]https://github.com/Farama-Foundation/Arcade-Learning-Environment/compare/84f9678d713695314570e0f183072f36e177a364...ba33f16376b545462666268194e8f72df82c1a3a — 2013-05-24 +## [0.4.1](https://github.com/Farama-Foundation/Arcade-Learning-Environment/compare/84f9678d713695314570e0f183072f36e177a364...ba33f16376b545462666268194e8f72df82c1a3a) — 2013-05-24 ### Added diff --git a/packages/wasm/package.json b/packages/wasm/package.json index b44510705..90fbb6037 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -1,6 +1,6 @@ { "name": "@farama/ale-wasm", - "version": "0.11.2", + "version": "0.12.0", "description": "Arcade Learning Environment (ALE) compiled to WebAssembly for browser-based Atari 2600 emulation and reinforcement learning", "main": "ale.js", "types": "ale.d.ts", diff --git a/vcpkg.json b/vcpkg.json index 1ae385029..fc56fc77c 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "arcade-learning-environment", - "version": "0.11.2", + "version": "0.12.0", "dependencies": [ "zlib" ], diff --git a/version.txt b/version.txt index bc859cbd6..ac454c6a1 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.11.2 +0.12.0