Skip to content

Commit 5aea3bf

Browse files
committed
Add note about deprecated code to be removed to change log
1 parent 67ca423 commit 5aea3bf

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,36 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1212

1313
### Fixed
1414

15+
### Deprecated
16+
17+
Several parts of libosmium have been marked deprecated, many of them for a very
18+
long time. These will not be part of the next version of libosmium:
19+
20+
* Sparsehash index class `osmium::index::map::SparseMemTable` as well as the
21+
complete file `osmium/index/map/sparse_mem_table.hpp`.
22+
* Callback functionality of the `osmium::memory::Buffer` class. The
23+
`set_full_callback()` will not be available any more. See the source
24+
for replacement options.
25+
* Various `osmium::builder::build_*` functions in
26+
`osmium/builder/builder_helper.hpp`. Use `osmium::builder::add_*`
27+
functions instead. Removes `builder_helper.hpp`.
28+
* `osmium::builder::Builder::add_item(const osmium::memory::Item* item)`.
29+
Use the function of the same name taking a reference instead.
30+
* `osmium::builder::OSMObject/ChangesetBuilder::add_user()`. Use
31+
`set_user()` instead.
32+
* `osmium::builder::ChangesetBuilder::bounds()` returning a modifiable
33+
reference. Use `set_bounds()` instead.
34+
* Several functions around `osmium::io::OutputIterator`.
35+
* `osmium::Area::inner_ring_cbegin/cend()`, use `inner_rings()` instead.
36+
* `osmium::RelationMember::ref()`, use `set_ref()` instead.
37+
* Implicit conversion from `osmium::Timestamp` to `std::time_t`. Use
38+
`seconds_since_epoch()` instead.
39+
* `osmium::string_to_user_id()`, use `string_to_uid` instead.
40+
* `osmium::static_cast_with_assert()` helper functions as well as the
41+
complete include file `osmium/util/cast.hpp`.
42+
* Some constructors of `osmium::util::MemoryMapping` and
43+
`osmium::util::TypedMemoryMapping`. Use other constructor instead.
44+
1545

1646
## [2.17.1] - 2021-10-05
1747

0 commit comments

Comments
 (0)