Debian Codegraph @

doc/cpp/pending_api_cleanups.md

raw
1 There are times when we make changes that include a temporary shim for
2 backward-compatibility (e.g., a macro or some other function to preserve
3 the original API) to avoid having to bump the major version number in
4 the next release. However, when we do eventually want to release a
5 feature that does change the API in a non-backward-compatible way, we
6 will wind up bumping the major version number anyway, at which point we
7 can take the opportunity to clean up any pending backward-compatibility
8 shims.
9
10 This file lists all pending backward-compatibility changes that should
11 be cleaned up the next time we are going to bump the major version
12 number:
13
14 - remove `ServerBuilder::SetMaxMessageSize()` method from
15 `include/grpc++/server_builder.h` (commit `6980362`)
16 - remove `ClientContext::set_fail_fast()` method from
17 `include/grpc++/client_context.h` (commit `9477724`)
18 - remove directory `include/grpc++` and all headers in it
19 (commit `eb06572`)
20 - make all `Request` and `Mark` methods in `grpc::Service` take a
21 `size_t` argument for `index` rather than `int` (since that is only
22 used as a vector index)