Expected to be the last release in the v1-branch.
Development efforts are now fully directed towards v2.
Features
- Allow disabling support for individual types with
SCN_DISABLE_TYPE_*(#70, thanks @cjvaughter (CJ Vaughter))- Also, allow for disabling the fallbacks to
std::from_charsandstd::strtodwhen scanning floats - This provides possible binary size reductions, and allows better use in e.g. embedded platforms
- Also, allow for disabling the fallbacks to
- Allow disabling runtime localization with
SCN_DISABLE_LOCALE(#71, thanks @cjvaughter (CJ Vaughter)) - Parse leading
+signs in floats (reported in #77)
Fixes
- Fix
scn::wrap(std::string_view&&)being ambiguous on gcc (reported in #83) - Fix compiler error in
scn::basic_string_view<CharT>::substr(reported in #86) - Fix memory safety issues found with ASan and UBsan in
small_vector,detail::utf16::validate_next, anddetail::get_buffer. - Add
COMPONENTto CMake install targets (#80, thanks @pawelwod) - Fix calculation of
SCN_MSVCfrom_MSC_FULL_VER(#62, thanks @matbech (Mathias Berchtold)) - Fix MSVC
C4146warning ininteger_scanner(#64, thanks @matbech (Mathias Berchtold)) - Use
if constexprandstd::unreachableif available (#61, #78, thanks @matbech (Mathias Berchtold)) - Improve error messages given from the float parser