Releases: microsoft/proxy
Releases ยท microsoft/proxy
2.1.1
2.1.0
2.0.0
Proxy 2.0.0 is Now Available!
After a whole year of evolution, proxy
has finally pumping its version to 2.0.0. This is a major update to the proxy
library. Thanks to all the valuable feedback from you! A new ISO C++ proposal will soon become available with detailed technical specifications.
Here is a list of major changes comparing to 1.0.0:
- Class templates
pro::dispatch
andpro::facade
have been removed. Please use the new macros (starting withPRO_
) to define dispatches and facades. See README for more details. - One dispatch now supports multiple overloads. (#43, feature suggested by @suy)
- Pointer type requirements has been revised.
proxy::invoke()
is nowconst
-qualified. (#22, #24, feature suggested by @xiaosa-zhz and @misirlou-tg). proxy::operator()
was added when there is only one dispatch defined in the facade.struct proxiable_ptr_constraints
is added as an abstraction of constraints to pointers, making it easier to learn and use. 3 prototypes are provided, while only 1 was provided in 1.0.0 due to syntax limitation. The requirements offacade
are also updated. (feature suggested by @tian-lt)- Added concept
basic_facade
andfacade
.
Minor changes including build system improvements are listed below.
Change Details
- build tests when they are needed. by @tian-lt in #15
- Add constexpr to pro::dispatch::operator() per spec by @mingxwa in #16
- Fix requires and noexcept clause for
make_proxy
by @mingxwa in #17 - CMake support: Install and export by @tian-lt in #18
- CI pipeline listens to release branches by @tian-lt in #19
- Update README wording by @mingxwa in #20
- Update readme and add demo for cmake & vcpkg by @tian-lt in #21
- Clang14 by @tian-lt in #31
- Add const qualifier to proxy::invoke() by @mingxwa in #28
- add ARCH_INDEPENDENT by @tian-lt in #32
- Update clang from 14 to 15 by @mingxwa in #38
- fix unittest in gcc13 by @coyorkdow in #40
- Feature: Support overloads in dispatch definition by @mingxwa in #45
- Add macros to simplify syntax of creating dispatches and facades by @mingxwa in #46
- Revise pointer requirements by @mingxwa in #47
- Revise the semantics of facade by @mingxwa in #48
- Bug fix: Function pointer can't be used to create a proxy by @mingxwa in #50
- Improve naming of proxy_pointer_constraints by @mingxwa in #52
New Contributors
- @coyorkdow made their first contribution in #40
Full Changelog: 1.0.0...2.0.0
Proxy 1.1.1 Release
@tian-lt Improved CMake toolchain configuration.
Proxy 1.1.0 Release
Updated implementation for P0957R9. Changes are:
- Added constraints of pointer types that are eligible to
proxy
, requiring dereference from a const lvalue reference. - Updated the implementation of concept
proxiable
. - Added const qualifier to
proxy::invoke()
.
Proxy 1.0.1 Release
@tian-lt Updated toolchain support including CMake and GitHub action to facilitate consumption from other projects.