Skip to content

Commit dd34536

Browse files
committed
Updated version number and updated Changelog
1 parent 04bb322 commit dd34536

File tree

3 files changed

+27
-5
lines changed

3 files changed

+27
-5
lines changed

CHANGELOG.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,32 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [1.13.0] - 2020-09-12
9+
10+
### Changed
11+
12+
- CI tests are now run on Github infrastructure
13+
14+
### Fixed
15+
16+
- Bug in the implementation of static_vector [#144](https://github.com/cpp-netlib/url/issues/144)
17+
- Missing dependency in CMake configuration [#146](https://github.com/cpp-netlib/url/issues/146)
18+
819
## [1.12.0] - 2020-07-02
920

1021
### Added
1122

1223
- API for host parsing
1324

25+
### Changed
26+
27+
- Added dependency to range-v3
28+
1429
### Fixed
1530

1631
- Regression failures for [web platform tests](https://github.com/glynos/skyr_wpt_tests)
1732
- Accessor for default ports [#135](https://github.com/cpp-netlib/url/issues/135)
1833

19-
### Changed
20-
21-
- Added dependency to range-v3
22-
2334
## [1.11.0] - 2020-06-13
2435

2536
### Added

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.14)
88

99
project(
1010
skyr-url
11-
VERSION 1.12.0
11+
VERSION 1.13.0
1212
HOMEPAGE_URL https://cpp-netlib.github.io/url
1313
DESCRIPTION "A C++ library that implements the WhatWG URL specification"
1414
LANGUAGES CXX

tests/containers/static_vector_tests.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,14 @@ TEST_CASE("clear calls destructor", "[containers]") {
4646
vector.clear();
4747
CHECK(destructed);
4848
}
49+
50+
TEST_CASE("destructor calls element destructors", "[containers]") {
51+
auto destructed = false;
52+
53+
{
54+
auto vector = skyr::static_vector<std::shared_ptr<test_destructor_call>, 8>{};
55+
vector.emplace_back(std::make_shared<test_destructor_call>(&destructed));
56+
CHECK_FALSE(destructed);
57+
}
58+
CHECK(destructed);
59+
}

0 commit comments

Comments
 (0)