From 754c1ef8791b6422c5ec0f358dac0257ab91d907 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sun, 21 Jul 2024 14:48:19 +0900 Subject: [PATCH] doc: update changelogs --- docs/content.en/docs/changelog/_index.md | 50 ++++++++++++++++++++++- docs/content.ja/docs/changelog/_index.md | 51 +++++++++++++++++++++++- 2 files changed, 99 insertions(+), 2 deletions(-) diff --git a/docs/content.en/docs/changelog/_index.md b/docs/content.en/docs/changelog/_index.md index 9e00b31..f046a33 100644 --- a/docs/content.en/docs/changelog/_index.md +++ b/docs/content.en/docs/changelog/_index.md @@ -6,12 +6,60 @@ weight = 4 # Change Log +# v4.1.0 + +## Added + +- support `std::get` +- support `toml::value(std::u8string)` +- support `string_type = std::u8string` +- support `operator<<(std::ostream&, toml::value)` +- add `bool uppercase` to `toml::integer_format` +- support `template into_toml()` (by 萧迩珀) + +## Fixed + +- Fix not checking for `\r\n` when parsing line comments (by Andreas Keller) + +## Changed + +- speedup CI tests by multicore build + +# v4.0.3 + +## Fixed + +- remove default template argument from forward declaration in `toml_fwd.hpp` +- enable to call `toml::make_error_info` with multiple `toml::value`s +- enable to copy/move `toml::result` having `std::reference_wrapper` +- fix document generation error with the latest version of hugo +- fix several tiny errors that causes warning +- fix CMake compatibility warning + +## Changed + +add `-Werror` / `/WX` to build script +set MSVC warning level to `/W4` +add explanation of features to README + +# v4.0.2 + +## Fixed + +- check return value of fread in `parse(FILE*)` +- version macro defined in `toml11/version.hpp` +- update docs about compilation +- update docs about file open mode + +## Changed +- use version macros defined in `toml11/version.hpp` as the project version in `CMakeLists.txt` + # v4.0.1 ## Fixed - Resolved naming conflict of `sematic_version::{major, minor}` with macros defined in `` -- Fixed the definition of `operator<<` in `discard_comments` +- Fixed the definition of `operator<<` in `discard_comments` (by Egor Pugin) - Fixed the issue where the first blank line was not output in `format_location` - Fixed the issue where error messages pointing to `source_location` referring to lines containing only newline characters were displayed in two lines - Corrected links in the README diff --git a/docs/content.ja/docs/changelog/_index.md b/docs/content.ja/docs/changelog/_index.md index e6cb14d..30992ef 100644 --- a/docs/content.ja/docs/changelog/_index.md +++ b/docs/content.ja/docs/changelog/_index.md @@ -6,12 +6,61 @@ weight = 4 # Change Log +# v4.1.0 + +## Added + +- `std::get`をサポート +- `toml::value(std::u8string)`をサポート +- `string_type = std::u8string`をサポート +- `operator<<(std::ostream&, toml::value)`をサポート +- `toml::integer_format`に、16進数表示で大文字を使うことを指定する`bool uppercase`を追加 +- `template`を使って実装された `into_toml()` をサポート (by 萧迩珀) + +## Fixed + +- Windowsで`\r\n`が改行に使われた際、出力時に`\r`が重複する問題を修正 (by Andreas Keller) + +## Changed + +- CIで複数コアを使うことでビルドを高速化 + +# v4.0.3 + +## Fixed + +- `toml_fwd.hpp`を使用した際にデフォルト引数が重複する問題を修正 +- `toml::value`を複数渡した際に`toml::make_error_info`が使えない問題を修正 +- `std::reference_wrapper`を持つ`toml::result`をコピー・ムーブする際の問題を修正 +- hugoの最新版でドキュメントがビルドできない問題を修正 +- コンパイラによる軽微な警告を多数修正 +- CMakeの互換性に関する警告を抑制 + +## Changed + +- CIビルドで`-Werror`, `/WX`を追加 +- CIビルドでMSVCのwarningレベルを`/W3`から`/W4`に変更 +- READMEでより多くの機能を紹介するよう更新 + +# v4.0.2 + +## Fixed + +- `parse(FILE*)` 内の `fread` の結果をチェック +- `toml11/version.hpp`のマクロを修正 +- コンパイルオプションに関するドキュメントの更新 +- ファイルオープンモードに関するドキュメントの更新 + +## Changed + +- `CMakeLists.txt`内のバージョン番号を`version.hpp`から取得するように変更 + # v4.0.1 ## Fixed - `sematic_version::{major, minor}` と `` 内で定義されるマクロの衝突を解消 -- `discard_comments` の `operator<<` の定義を修正 +- `discard_comments` の `operator<<` の定義を修正 (by Egor Pugin) - `format_location`を使用した際に最初の空行が出ない問題を解決 - 改行文字のみを含む行を指す`source_location`でエラーメッセージを生成した際に、同じ行が二回表示される問題を解決 - `README.md`内のリンクを修正