All Versions
27
Latest Version
Avg Release Cycle
121 days
Latest Release
628 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.7.1 Changes
January 10, 2022๐ Changed
- ๐ Don't build tests if the standard CMake
BUILD_TESTING
variable is set to off. - Now needs CMake 3.5.0 or greater.
- โก๏ธ Update included catch2 framework to current version v2.13.8.
- Only enable clang-tidy make target if protobuf was found.
- ๐ Allow setting C++ version to compile with in CMake config.
๐ Fixed
- ๐ Fixes undefined behaviour in
float
anddouble
byteswap. - โ Add missing includes of "config.hpp".
- Avoid narrowing conversion by doing an explicit
static_cast
.
- ๐ Don't build tests if the standard CMake
-
v1.7.0 Changes
June 08, 2020โ Added
- ๐ Support for buffer types other that
std::string
.pbf_writer
is now just a typedef forbasic_pbf_writer<std::string>
. Other buffer types can be used withbasic_pbf_writer
. Seedoc/advanced.md
for details.
๐ Changed
- Switched to catch2 for testing.
- Some minor tweaks.
๐ Fixed
- โ Removed some undefined behaviour.
- ๐ Support for buffer types other that
-
v1.6.8 Changes
August 15, 2019๐ Changed
- โ Various code cleanups due to clang-tidy warnings.
๐ Fixed
- Made
data_view::compare
noexcept.
-
v1.6.7 Changes
February 21, 2018๐ Fixed
- Signed-unsigned comparison on 32 bit systems.
-
v1.6.6 Changes
February 20, 2018๐ Fixed
- ๐ Fixed several place with possible undefined behaviour.
-
v1.6.5 Changes
February 05, 2018๐ Fixed
- Avoid UB: Do not calculate pointer outside array bounds.
- Specify proto2 syntax in .proto files to appease protoc.
-
v1.6.4 Changes
November 08, 2018โ Added
- โ Add function
data()
to get the not yet read data from apbf_reader
. - New
add_packed_fixed()
template function forpbf_writer
. - New
length_of_varint()
helper function calculates how long a varint would be for a specified value.
๐ Changed
- ๐ More consistent implementation of operators as free friend functions.
๐ Fixed
- ๐ Fixed some zigzag encoding tests on MSVC.
- โ Add extra cast so we do an xor with unsigned ints.
- No more bitwise operations on signed integers in varint decoder.
- No more bitwise operations on signed integers in zigzag encoder/decoder.
- โ Add function
-
v1.6.3 Changes
July 17, 2018๐ Changed
- ๐ Moved
byteswap_inplace
functions from detail into protozero namespace. They can be useful outsize protozero. - โ More asserts and unit tests and small cleanups.
- ๐ Moved
-
v1.6.2 Changes
March 09, 2018๐ Changed
- โก๏ธ Update included catch.hpp to v1.12.0.
- ๐ Move basic unit tests into their own directory (
test/unit
). - ๐ Improved clang-tidy config and fixed some code producing warnings.
๐ Fixed
- Buffer overflow in pbf-decoder tool.
-
v1.6.1 Changes
November 16, 2017โ Added
- Document internal handling of varints.
- โ Add aliases for fixed iterators, too.
๐ Changed
- ๐ The
const_fixed_iterator
is now a random access iterator making code using it potentially more performant (for instance when usingstd::distance
) - Overloads
std::distance
for the varint and svarint iterators. This is better than the workaround with therage_size
function used before.
๐ Fixed
- โ
Rename
.proto
files in some tests to be unique. This solves a problem when building with newer versions of the Google Protobuf library. - โ
Floating point comparisons in tests are now always correctly done using
Approx()
.