Skip to content

Releases: ruby/stringio

stringio 3.1.9 - 2025-12-01

02 Dec 00:21

Choose a tag to compare

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

12 Nov 01:35
2d63b5e

Choose a tag to compare

Improvements

  • Improved documents
    • Patch by Burdette Lamar

Fixes

  • Fixed SEGV in StringIO#seek with SEEK_END on StringIO.new(nil)

  • Fixed SEGV in StringIO#read on StringIO.new(nil)

  • Fixed SEGV in StringIO#pread on StringIO.new(nil)

  • Fixed SEGV in StringIO#eof? on StringIO.new(nil)

  • JRuby: Fixed a bug that StringIO#read doesn't clear code range

Thanks

  • koh-sh

  • Burdette Lamar

  • Karol Bucek

stringio 3.1.7 - 2025-04-21

21 Apr 02:39

Choose a tag to compare

Improvements

  • CRuby: Added support for rb_io_mode_t that 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

25 Mar 17:30

Choose a tag to compare

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

21 Feb 00:52

Choose a tag to compare

Improvements

  • JRuby: Improved compatibility with CRuby for StringIO#seek with
    frozen string.

stringio 3.1.4 - 2025-02-20

20 Feb 09:41

Choose a tag to compare

Improvements

  • JRuby: Improved compatibility with CRuby.

Fixes

  • CRuby: Fixed a bug that StringIO may mutate a shared string.

stringio 3.1.3 - 2025-02-14

14 Feb 05:09

Choose a tag to compare

Fixes

  • JRuby: Fixed a bug that JRuby may not be able to be started

Thanks

  • Karol Bucek

stringio 3.1.2 - 2024-11-07

07 Nov 02:44

Choose a tag to compare

Improvements

  • JRuby: Added support for detecting encoding by BOM.

Fixes

Thanks

  • manun

stringio 3.1.1 - 2024-06-13

13 Jun 09:44

Choose a tag to compare

Improvements

Fixes

Thanks

  • Tiago Cardoso

stringio 3.1.0 - 2023-11-28

28 Nov 01:34

Choose a tag to compare

Fixes

  • TruffleRuby: Do not compile the C extension

    GH-71