From 600d2cb12c3ff824f73669d8db05740e2f87c03e Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sat, 15 Feb 2020 07:04:13 +0100 Subject: [PATCH] Release notes moved from README to CHANGELOG --- CHANGELOG.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++ README.md | 67 ++++------------------------------------------------ 2 files changed, 64 insertions(+), 63 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..82460a4d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,60 @@ +# Release notes + +- 0.5.0 ??? + - Major refactoring and rewrite of the library + - Units are now independent from dimensions + - Dimensions are now depended on units (base or coherent units are provided in a class template) + - Quantity gets a Dimension template parameter again (as unit does not provide information about + its dimension anymore) + - Added official CGS system support + - Added official data information system support + - Repository file tree cleanup + - `ratio` refactored to contain `Exp` template parameter + - SI fundamental constants added + - `q_` prefix applied to all the UDLs + - ... + +- 0.4.0 Nov 17, 2019 + - Support for derived dimensions in `exp` added + - Added `pow()` and `sqrt()` operations on quantities + - `units` removed from a `std::experimental` namespace + - Downcasting facility refactored so the user does not have to write the boilerplate code anymore + - From now on base dimensions should inherit from `base_dimension` class template + - Added unit symbols definitions to `base_dimension` and derived units + - Added support for `operator<<` on `quantity` + - `fmt` support added + - Derived unit factory helpers refactored + - Refactored the way prefixed units are defined + +- 0.3.1 Sep 18, 2019 + - cmcstl2 dependency changed to range-v3 0.9.1 + +- 0.3.0 Sep 16, 2019 (CppCon 2019 design) + - The design as described on CppCon 2019 talk () + - Applied the feedback from the Cologne evening session + - `upcasting_traits` renamed to `downcasting_traits` + - `Dimension` template parameter removed from quantity + - `units` moved to a `std::experimental` namespace + - Leading underscore prefix removed from UDLs + - Added a few more derived dimensions + - `meter` renamed to `metre` + - Missing `operator*` added + - Predefined dimensions moved to a dedicated directory + - `dimension_` prefix removed from names of derived dimensions + - cmcstl2 library updated to 2019.09.19 + - `base_dimension` is a value provided as `const&` to the `exp` type + - integrated with Compiler Explorer + - gsl-lite dependency removed + - Fractional dimension exponents support added + - `QuantityOf` concept introduced + - `quantity_cast()` support added + +- 0.2.0 July 18, 2019 (C++Now 2019 design) + - The design as described on C++Now 2019 talk () + - Added C++20 features supported by gcc-9.1 (`std::remove_cvref_t`, down with typename, `std::type_identity`) + - Compile-time performance optimizations (`type_list`, `common_ratio`, `ratio`, `conditional_t`) + +- 0.1.0 May 18, 2019 + - Initial library release + - Begin semantic versioning + - The last version to work with gcc-8 diff --git a/README.md b/README.md index 2e4477ac..92c09a67 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,10 @@ ## TL;DR -This library is the subject of this ISO C++ proposal: [P1935R2](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1935r2.html). It is explained in this [CppCon 2019 talk](https://youtu.be/0YW6yxkdhlU) (slightly dated see below). We are working towards potentially having it standardised for C++23 and are actively looking for parties interested in field trialling the library. +This library is the subject of this ISO C++ proposal: [P1935](https://wg21.link/p1935). It is +explained in this [CppCon 2019 talk](https://youtu.be/0YW6yxkdhlU) (slightly dated see below). +We are working towards potentially having it standardized for C++23 and are actively looking +for parties interested in field trialing the library. ```cpp #include @@ -190,65 +193,3 @@ For a detailed information on project compilation, testing and reuse please refe [doc/INSTALL.md](doc/INSTALL.md). NOTE: This library as of now compiles correctly only with gcc-9.1 and newer. - - -## Release notes - -- 0.5.0 ??? - - Major refactoring and rewrite of the library - - Units are now independent from dimensions - - Dimensions are now depended on units (base or coherent units are provided in a class template) - - Quantity gets a Dimension template parameter again (as unit does not provide information about - its dimension anymore) - - Added official CGS system support - - Added official data information system support - - Repository file tree cleanup - - `ratio` refactored to contain `Exp` template parameter - - linear algebra from `std::experimental::math` support added - - SI fundamental constants added - - `q_` prefix applied to all the UDLs - -- 0.4.0 Nov 17, 2019 - - Support for derived dimensions in `exp` added - - Added `pow()` and `sqrt()` operations on quantities - - `units` removed from a `std::experimental` namespace - - Downcasting facility refactored so the user does not have to write the boilerplate code anymore - - From now on base dimensions should inherit from `base_dimension` class template - - Added unit symbols definitions to `base_dimension` and derived units - - Added support for `operator<<` on `quantity` - - `fmt` support added - - Derived unit factory helpers refactored - - Refactored the way prefixed units are defined - -- 0.3.1 Sep 18, 2019 - - cmcstl2 dependency changed to range-v3 0.9.1 - -- 0.3.0 Sep 16, 2019 (CppCon 2019 design) - - The design as described on CppCon 2019 talk () - - Applied the feedback from the Cologne evening session - - `upcasting_traits` renamed to `downcasting_traits` - - `Dimension` template parameter removed from quantity - - `units` moved to a `std::experimental` namespace - - Leading underscore prefix removed from UDLs - - Added a few more derived dimensions - - `meter` renamed to `metre` - - Missing `operator*` added - - Predefined dimensions moved to a dedicated directory - - `dimension_` prefix removed from names of derived dimensions - - cmcstl2 library updated to 2019.09.19 - - `base_dimension` is a value provided as `const&` to the `exp` type - - integrated with Compiler Explorer - - gsl-lite dependency removed - - Fractional dimension exponents support added - - `QuantityOf` concept introduced - - `quantity_cast()` support added - -- 0.2.0 July 18, 2019 (C++Now 2019 design) - - The design as described on C++Now 2019 talk () - - Added C++20 features supported by gcc-9.1 (`std::remove_cvref_t`, down with typename, `std::type_identity`) - - Compile-time performance optimizations (`type_list`, `common_ratio`, `ratio`, `conditional_t`) - -- 0.1.0 May 18, 2019 - - Initial library release - - Begin semantic versioning - - The last version to work with gcc-8