Skip to content

Latest commit

 

History

History
166 lines (98 loc) · 3.2 KB

NEWS.md

File metadata and controls

166 lines (98 loc) · 3.2 KB

News

3.1.1 - 2024-06-13

Improvements

  • JRuby: Improved.

    • GH-83
    • GH-84
    • GH-85
  • Added StringIO::MAX_LENGTH.

  • Added support for NULL StringIO by StringIO.new(nil).

  • Improved IO compatibility for partial read.

Fixes

Thanks

  • Tiago Cardoso

3.1.0 - 2023-11-28

Fixes

  • TruffleRuby: Do not compile the C extension

    GH-71

3.0.9 - 2023-11-08

Improvements

  • JRuby: Aligned StringIO#gets behavior with the C implementation.

    GH-61

Fixes

  • CRuby: Fixed StringIO#pread with the length 0.

    Patch by Jean byroot Boussier.

    GH-67

  • CRuby: Fixed a bug that StringIO#gets with non ASCII compatible encoding such as UTF-16 doesn't detect correct new line characters.

    Reported by IWAMOTO Kouichi.

    GH-68

Thanks

  • Jean byroot Boussier

  • IWAMOTO Kouichi

3.0.8 - 2023-08-10

Improvements

  • Added StringIO#pread.

    Patch by Jean byroot Boussier.

    GH-56

  • JRuby: Added StringIO::VERSION.

    GH-57 GH-59

Thanks

  • Jean byroot Boussier

3.0.7 - 2023-06-02

  • CRuby: Avoid direct struct usage. This change is for supporting Ruby 3.3.

    GH-54

3.0.6 - 2023-04-14

Improvements

  • CRuby: Added support for write barrier.

  • JRuby: Added missing arty-checking.

    GH-48

  • JRuby: Added support for StringIO.new(encoding:).

    GH-45

3.0.5 - 2023-02-02

Improvements

Fixes

  • Fixed a bug that StringIO#gets("2+ character", chomp: true) did not remove the separator at the end. [Bug #19389]

3.0.4 - 2022-12-09

Improvements

  • JRuby: Changed to use flag registry. [GitHub#33]

3.0.3 - 2022-12-08

Improvements

Fixes

  • Fixed a bug that large StringIO#ungetc/StringIO#ungetbyte break internal buffer.

  • Fixed a bug that StringIO#each("2+ character", chomp: true) cause infinite loop. [Bug #18769]

  • Fixed a bug that StringIO#each(nil, chomp: true) chomps. [Bug #18770]

  • Fixed a bug that StringIO#each("", chomp: true) isn't compatible with IO#each("", chomp: true). [Bug #18768]

  • Fixed a bug that StringIO#set_encoding doesn't accept external and internal encodings pairo. [GitHub#16] [Reported by Kenta Murata]

  • Fixed a bug that StringIO#truncate isn't compatible with File#truncate.

Thanks

  • Kenta Murata

  • Burdette Lamar