Skip to content

Version 2.2.0 - #127

Merged
Kim-J-Smith merged 10 commits into
mainfrom
version-2.2.0
Aug 9, 2026
Merged

Version 2.2.0#127
Kim-J-Smith merged 10 commits into
mainfrom
version-2.2.0

Conversation

@Kim-J-Smith

Copy link
Copy Markdown
Owner

🔧 Fixed Bugs

⚠️ Breaking Changes

✨ New Features

🛠️ Optimizations and Improvements

📌 Notes

  • v2.1.11 planned to remove ebd::fn_view and ebd::safe_fn in v2.2.0. Instead of removal, both are kept as deprecated aliases (see the Breaking Changes section above) to avoid breaking existing code.

* ci: update test ci.

* V2.2.0/dev/no experimental code (#116)

* chore: remove macro EMBED_FN_CONFIG_USE_BIG_DEFAULT_BUFFER.

* resolve TODO.

* Remove `safe_fn`, refactor `fn`/`unique_fn`, and add `classic_fn`. (#117)

* refactor: WIP: refactor fn, fn_ref. deprecated safe_fn and add classic_fn.

* feat: propagate noexcept qualifiers through make_fn and allow noexcept signatures for fn/unique_fn

* chore: remove view_buf and update documents.

* chore: remove outdate comments.

* docs: update documents.

* resolve review comments.

* style: rename noexcept_qualify_like as get_correct_signature

* docs: update ducuments.

* fix: update link in `CONTRIBUTING.md`.

* docs: fix mismatch descriptions.

* revert: revert test-ci.

* resolve some review comments.

* revert: revert test for __safe_fn.

* resolve agent review comments.

* resolve agent review comments.
* docs: update version number.

* style: optimize EMBED_DETAIL_FAIL_MESSAGE and EMBED_DETAIL_ASSERT_MESSAGE.

* fix: [ref.ctor]/11.2 => [func.wrap.ref.ctor]/11.2

* test: add a test for self assignment.

* fix: fix bug in test.

* docs: add documents for EMBED_FN_HOOK_DEBUG.

* docs: update the Breaking Changes chapter in release notes.
* docs: update README.md.

* docs: adjust comments.

* test: add incomplete failure tests.

* test: adjust CMakeLists.txt

* docs: adjust CONTRIBUTING.md .

* chore: remove unused macro in `test_fallback_macros.hpp`.

* test: update `test_fallback_macros.hpp`.

* test: add test for ebd_test_implicit_func_ptr.

* docs: rewrite comments for `operator*()`.

* test: add more std::in_place_type tests.

* todo: add todo.
* feat: support multi-params for make_fn<Wrapper>.

* test: add rest for new feature.

* docs: update README.md and add todo.

* docs: update documents.

* docs: update `release_notes.md`.
@Kim-J-Smith Kim-J-Smith added new version The candidate for next release version. careful review Complex pull request, which needs more careful review. labels Aug 8, 2026
Comment thread docs/api/make_fn.md Outdated
Comment thread test/test_AssignAndConvert.cpp Outdated
Comment thread test/test_AssignAndConvert.cpp
Comment thread test/test_AssignAndConvert.cpp
Comment thread test/test_AssignAndConvert.cpp
Comment thread test/test_AssignAndConvert.cpp
Comment thread test/test_ThrowDeath.cpp
Comment thread README.md
@Kim-J-Smith

Copy link
Copy Markdown
Owner Author

Note to self: Deprecating function in C++29.

@Kim-J-Smith Kim-J-Smith left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LGTM

@Kim-J-Smith

Copy link
Copy Markdown
Owner Author

Ratio (compile / baseline): 47.0744 (The reference value is 45 ~ 55)

  • That's OK.

StdOperatorWrapper.FunctionWrapperAsParams:

Name (* = baseline) Dim Total ms ns/op Baseline Ops/second
std::function * 1000000 9.651 9 - 103617354.4
fu2::function 1000000 17.713 17 1.835 56455194.2
ebd::fn 1000000 3.722 3 0.386 268658897.8
fu2::function_view 1000000 3.414 3 0.354 292870878.5
ebd::fn_ref 1000000 3.432 3 0.356 291403820.4
  • That's OK.

@Kim-J-Smith
Kim-J-Smith merged commit 2972f2c into main Aug 9, 2026
15 checks passed
@Kim-J-Smith
Kim-J-Smith deleted the version-2.2.0 branch August 9, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

careful review Complex pull request, which needs more careful review. new version The candidate for next release version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant