|
5 | 5 | [](https://cirrus-ci.com/github/gulrak/filesystem) |
6 | 6 | [](https://cloud.drone.io/gulrak/filesystem) |
7 | 7 | [](https://coveralls.io/github/gulrak/filesystem?branch=master) |
8 | | -[](https://github.com/gulrak/filesystem/tree/v1.5.0) |
| 8 | +[](https://github.com/gulrak/filesystem/tree/v1.5.2) |
9 | 9 |
|
10 | 10 | # Filesystem |
11 | 11 |
|
@@ -115,8 +115,8 @@ in the standard, and there might be issues in these implementations too. |
115 | 115 |
|
116 | 116 | ### Downloads |
117 | 117 |
|
118 | | -The latest release version is [v1.5.0](https://github.com/gulrak/filesystem/tree/v1.5.0) and |
119 | | -source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.5.0). |
| 118 | +The latest release version is [v1.5.0](https://github.com/gulrak/filesystem/tree/v1.5.2) and |
| 119 | +source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.5.2). |
120 | 120 |
|
121 | 121 | The latest pre-native-backend version is [v1.4.0](https://github.com/gulrak/filesystem/tree/v1.4.0) and |
122 | 122 | source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.4.0). |
@@ -304,7 +304,7 @@ are only supported on C++17. When Compiling with C++20, `ghc::filesysytem` |
304 | 304 | defaults to the C++20 API, with the `char8_t` and `std::u8string` interfaces |
305 | 305 | and the deprecated `fs::u8path` factory method. |
306 | 306 |
|
307 | | -:information_source: **Note:** If the C++17 API should be enforced even in C++20 mode, |
| 307 | +:information_source: **Note:** If the C++17 API should be enforced even in C++20 mode, |
308 | 308 | use the define `GHC_FILESYSTEM_ENFORCE_CPP17_API`. |
309 | 309 | Even then it is possible to create `fws::path` from `std::u8string` but |
310 | 310 | `fs::path::u8string()` and `fs::path::generic_u8string()` return normal |
@@ -402,6 +402,22 @@ implementation self-contained and not write a full C++17-upgrade for |
402 | 402 | C++11/14. Starting with v1.1.0 these are supported when compiling |
403 | 403 | ghc::filesystem under C++17 of C++20. |
404 | 404 |
|
| 405 | +Starting with v1.5.2 `ghc::filesystem` will try to allow the use of |
| 406 | +`std::experimental::basic_string_view` where it detects is availability. |
| 407 | +Additionally if you have a `basic_string_view` compatible c++11 |
| 408 | +implementation it can be used instead of `std::basic_string_view` |
| 409 | +by defining `GHC_HAS_CUSTOM_STRING_VIEW` and importing the |
| 410 | +implementation into the `ghc::filesystem` namespace with: |
| 411 | +
|
| 412 | +```cpp |
| 413 | +namespace ghc { |
| 414 | + namespace filesystem { |
| 415 | + using my::basic_string_view; |
| 416 | + } |
| 417 | +} |
| 418 | +``` |
| 419 | + |
| 420 | +before including the filesystem header. |
405 | 421 |
|
406 | 422 | ### Differences in API |
407 | 423 |
|
@@ -509,8 +525,19 @@ to the expected behavior. |
509 | 525 |
|
510 | 526 | ## Release Notes |
511 | 527 |
|
512 | | -### v1.5.1 (WIP) |
513 | | - |
| 528 | +### [v1.5.2](https://github.com/gulrak/filesystem/releases/tag/v1.5.2) |
| 529 | + |
| 530 | +* Enhancement [#104](https://github.com/gulrak/filesystem/issues/104), |
| 531 | + on POSIX backend: optimized reuse of status information and reduced |
| 532 | + `directory_entry` creation leads to about 20%-25% in tests with |
| 533 | + `recursive_directory_iterator` over a larger directory tree. |
| 534 | +* Pull request [#103](https://github.com/gulrak/filesystem/pull/103), `wchar_t` |
| 535 | + was not in the list of supported char types on non-Windows backends. |
| 536 | +* Pull request [#102](https://github.com/gulrak/filesystem/pull/102), improved |
| 537 | + `string_view` support makes use of `<string_view>` or `<experiemental/string_view>` |
| 538 | + when available, and allows use of custom `basic_string_view` implementation |
| 539 | + when defining `GHC_HAS_CUSTOM_STRING_VIEW` and importing the string view |
| 540 | + into the `ghc::filesystem` namespace before including filesystem header. |
514 | 541 | * Pull request [#101](https://github.com/gulrak/filesystem/pull/101), fix for |
515 | 542 | [#100](https://github.com/gulrak/filesystem/issues/100), append and concat |
516 | 543 | type of operations on path called redundant conversions. |
|
0 commit comments