Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
eliaskosunen committed Jan 14, 2024
1 parent 253c859 commit eadf64e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
# 2.0.0

_Released 2023-xx-xx_
_Released 2024-xx-xx_

Changes are in comparison to 2.0.0-beta.

## Features

* Regular expression scanning in `<scn/regex.h>`
* Scanning of `FILE*`s.
* Faster integer scanning with `scn::scan_int`
* Allow disabling support for:
* Specific types (`SCN_DISABLE_TYPE_*`)
* Locales (`SCN_DISABLE_LOCALE`)
* IOStreams (`SCN_DISABLE_IOSTREAM`)
* Type-erased ranges (`SCN_DISABLE_ERASED_RANGE`)
* Floating-point scanning fallbacks (`SCN_DISABLE_FROM_CHARS`, `SCN_DISABLE_STRTOD`)
* These can be useful in some constrained environments, where these facilities are either not available or not used
* Thanks [@cjvaughter (CJ Vaughter)](https://github.com/cjvaughter) for the original implementation in v1 in #70 and #71

## Changes

* `scn::basic_istreambuf_view` removed.
* Sort-of replaced by being able to scan from `FILE`s.
* `scn::basic_erased_range` and `scn::basic_caching_view` removed.
* Replaced by library-internal `scn::detail::basic_scan_buffer`.
* String scanners now require valid Unicode as input, and don't spew out garbage when given some.
* Specifiers like `:alpha:` and `\w` removed from `[character set]` matching.
Use regular expressions instead, or explicitly state the character range (like `a-zA-Z` for `:alpha:`).
* `scn::runtime` renamed to `scn::runtime_format`.

## Fixes and small changes

* Update implementation of `scn::span`
Expand Down

0 comments on commit eadf64e

Please sign in to comment.