Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.1.1 - 2026-09-26

- Keep session state consistent when a raw-mode token is restored through another session or the legacy static API.
- Preserve raw-mode ownership across overlapping terminal sessions, including out-of-order restoration.
- Coordinate POSIX `SIGWINCH` handling across concurrent reads so one reader cannot restore another reader's handler.
- Preserve split Windows UTF-16 surrogate pairs across separate `readKey()` calls.
- Preserve incomplete POSIX UTF-8 sequences across `readKey()` calls when the sequence timeout expires.

## 1.1.0 - 2026-09-24

- Add `Io\Terminal\Terminal::readEvent()` for uninterpreted POSIX input bytes and native Windows console records.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ It exposes the pieces that are awkward to normalize in userland, especially once

Created and maintained by Pratik Bhujel.

Current release: `v1.1.0`.
Current release: `v1.1.1`.

## Install

Expand Down Expand Up @@ -244,7 +244,7 @@ extension. Build in a path without spaces.
```sh
git clone https://github.com/prateekbhujel/php-terminal.git
cd php-terminal
git checkout v1.1.0
git checkout v1.1.1
phpize
./configure --with-php-config="$(command -v php-config)"
make -j2
Expand Down
2 changes: 1 addition & 1 deletion php_terminal.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
extern zend_module_entry terminal_module_entry;
# define phpext_terminal_ptr &terminal_module_entry

# define PHP_TERMINAL_VERSION "1.1.0"
# define PHP_TERMINAL_VERSION "1.1.1"

# define TERMINAL_STREAM_STDIN 0
# define TERMINAL_STREAM_STDOUT 1
Expand Down