Skip to content

Releases: Viatorus/emio

0.9.0

18 Feb 12:09
0753b7a

Choose a tag to compare

Features

  • format: add support for std::expected (#105)

Fix

  • support array/string_view iterators which are not pointers (#107)

0.8.0

18 Oct 19:13
b43cf94

Choose a tag to compare

Features

  • support freestanding (#92)
  • buffer: make memory_buffer, span_buffer and static_buffer copy- and movable (#97)
  • format: add formatter for format_args itself (#96) and make them default constructible and add an empty() function (#98)

Fix

  • add missing includes for emscripten compiler (#101)

0.7.0

18 Feb 18:53
a22b04d

Choose a tag to compare

Features

  • buffer: add a capacity function to memory and span buffer (#86)
  • buffer: add a reset function to some buffers to reuse the storage capacity (#84)
  • format: add formatter for common standard library types (#83)

Licence

The license of emio is now a pure MIT license without optional exception. If another license is required, please contact me. (#87)

0.6.1

08 Nov 07:16
0da267a

Choose a tag to compare

Fixes

  • make code compatible with gcc 11/12/13, clang 16/17 and cppcheck 2.7+ (#75, #76)

0.6.0

14 Oct 12:24
b0cdb42

Choose a tag to compare

Features

  • format: allow formatting of all types of pointers (#72)
    • (cv qualified) void pointers are directly formatted
    • other pointer types (e.g. int*) can be easily converted to a void* by using emio::ptr(...) before formatting

Fixes

  • format/writer: plain strings or string arguments longer than the buffer chunk size are written correctly (#71)

0.5.0

08 Oct 11:30
1b3cb81

Choose a tag to compare

Features

  • buffer: make the cache size of buffers configurable (#64)
  • buffer: provide a truncating buffer (#63)

Performance

  • detect plain format strings faster (#59)
  • improve reader and parser by using iterators instead of string view operations (#57)

Fixes

  • format_to_n: return the total not truncated output size instead the truncated size (#62)

0.4.0

16 Sep 18:39
3419533

Choose a tag to compare

Features

  • buffer: add a static_buffer (#32)
  • format: add a file_buffer and print/println (#26)
  • format: add dynamic width and precision support (#29, #30)
  • format: support escaping long strings in smaller chunks (#37, #40)
  • format: support formatting substrings (#44)
  • result: add value_or (#27)
  • scan: add emio::scan as a high-level input API ⭐ (#42, #45)
  • drop support for any non-char character (#35)

Performance

  • format/writer: improve performance when formatting hex, bin or octal digits (#50)

Fixes

  • buffer: don't return eof when there is still capacity in a fixed-size buffer (#34)
  • reader: correctly parse max negative values (#43)

0.3.0

05 May 19:45
cb8d7fe

Choose a tag to compare

  • format: support formatting floating-point values (#17)
  • format: support formatting ranges and tuple-like types (#23)
  • format: add format_as for simple user-defined types formatting (#22)

0.2.0

18 Dec 05:46
e892baf

Choose a tag to compare

Single header file: 0.2.0/emio.hpp (raw)

Changes

  • format: optimize return type if a valid-only format string is used (#12)

0.1.0

09 Dec 20:39

Choose a tag to compare

Hello world!

Single header file: 0.1.0/emio.hpp (raw)