Releases: ruby/stringio
Releases · ruby/stringio
stringio 3.1.9 - 2025-12-01
Improvements
-
[DOC] Tweaks for StringIO#each_line
-
[DOC] Doc for StringIO.size
-
[DOC] Tweaks for StringIO#fsync
-
[DOC] Fix #seek link
-
Add a note about chilled string support to 3.1.8 release note
Fixes
- JRuby: Removed use of RubyBasicObject.flags
Thanks
-
Burdette Lamar
-
Charles Oliver Nutter
stringio 3.1.8 - 2025-11-12
Improvements
- Improved documents
- Patch by Burdette Lamar
Fixes
-
Fixed SEGV in
StringIO#seekwithSEEK_ENDonStringIO.new(nil)- GH-137
- Patch by koh-sh
-
Fixed SEGV in
StringIO#readonStringIO.new(nil) -
Fixed SEGV in
StringIO#preadonStringIO.new(nil) -
Fixed SEGV in
StringIO#eof?onStringIO.new(nil) -
JRuby: Fixed a bug that
StringIO#readdoesn't clear code range- GH-156
- Patch by Karol Bucek
Thanks
-
koh-sh
-
Burdette Lamar
-
Karol Bucek
stringio 3.1.7 - 2025-04-21
Improvements
- CRuby: Added support for
rb_io_mode_tthat will be introduced in
Ruby 3.5 or later.- GH-129
- Patch by Samuel Williams
Thanks
- Samuel Williams
stringio 3.1.6 - 2025-03-25
Fixes
- CRuby: Fix SEGV at unget to a null device StringIO
- JRuby:
- Fix NullPointerException at unget to a null device StringIO
- Use proper checkEncoding signature
- Update strioWrite logic to match CRuby
- GH-124
stringio 3.1.5 - 2025-02-21
stringio 3.1.4 - 2025-02-20
stringio 3.1.3 - 2025-02-14
stringio 3.1.2 - 2024-11-07
Improvements
Fixes
- CRuby: Fixed a bug that unknown memory may be used by
StringIO#ungetc/StringIO#ungetbyte.- https://hackerone.com/reports/2805165
- Reported by manun.
Thanks
- manun
stringio 3.1.1 - 2024-06-13
Improvements
-
JRuby: Improved.
-
Added
StringIO::MAX_LENGTH. -
Added support for NULL
StringIObyStringIO.new(nil). -
Improved IO compatibility for partial read.
Fixes
- Fixed a bug that coderange isn't updated after overwrite.
- Reported by Tiago Cardoso.
- https://bugs.ruby-lang.org/issues/20185
- GH-77
- GH-79
Thanks
- Tiago Cardoso
stringio 3.1.0 - 2023-11-28
Fixes
-
TruffleRuby: Do not compile the C extension