Skip to content

Address review comments on the API stability docs and a test comment - #5784

Merged
nlohmann merged 3 commits into
developfrom
docs/api-stability-followup
Oct 8, 2026
Merged

nlohmann merged 3 commits into
developfrom
docs/api-stability-followup

Conversation

@nlohmann

@nlohmann nlohmann commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Follow-up to review comments by @gregmarr on #5775 and #5779 (both already merged).

Public API

No breaking changes. This only changes documentation and a CMake comment.

🤖 Generated with Claude Code

Allow new defaulted parameters and new default arguments in the API
stability rules, mention the macro opt-in, and drop the redundant
recompile advice. Describe test-diagnostics-optimized as the regression
test for the fixed #5742.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

@gregmarr gregmarr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small change because it is still changing the signature.

Comment thread docs/mkdocs/docs/community/roadmap.md Outdated
Spell out the 3.x compatibility rules in the roadmap: new defaulted
parameters, new default arguments, noexcept/constexpr, template
parameters, parse and dump results, accepted input, key iteration order,
iterator invalidation, implicit conversions, to_json/from_json lookup,
json_sax, value_t enumerators, and documented macros, CMake options and
headers. Also list std::hash values as not part of the public API, and
link the macro overview from the section.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
@nlohmann
nlohmann merged commit d33068d into develop Oct 8, 2026
100 of 168 checks passed
@nlohmann
nlohmann deleted the docs/api-stability-followup branch October 8, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants