Skip to content

Commit

Permalink
update CHANGELOG.md, release r0.1.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
levalup committed Jul 8, 2024
1 parent 74d3efc commit 4c78990
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## v0.1.3

> Since: 2024-07-02
> Date: 2024-07-02
### New features

Expand All @@ -16,11 +16,13 @@
- Add examples.
- `pipe`, `tcp` change state to `detached` after `connected`.
- This is an experimental feature and may be adjusted before the official release.
- Add `uvcxx/cxx/sockaddr.h` to load/dump `sockaddr_*`.

## Bug fix

- Fix the variable usage error in the `lib_t::open(string)` method.
- Fix `pipe_connect` forgot set data field.
- Fix some cases where header files are not included.

## Break changes

Expand All @@ -31,6 +33,7 @@
but also introduces some unnecessary complexity.
- Remove `stream_t::accept`.
- Overload the function in specific subtypes to avoid ambiguous semantics inherent in it.
- Remove meaningless `accpt` implementations in some stream subclasses.

--------------------------------

Expand Down
3 changes: 2 additions & 1 deletion examples/udp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ int main() {
std::cout << "server read: " << std::string(buf->base, nread) << " with "
<< uvcxx::to_string(uv_udp_flags(flags)) << " from " << uvcxx::any_address_t(addr)
<< std::endl;
}).except([=](const std::exception &e) {
}
).except([=](const std::exception &e) {
std::cout << "[ERROR] recv " << addr << " failed. " << e.what() << std::endl;
throw uvcxx::close_handle();
});
Expand Down

0 comments on commit 4c78990

Please sign in to comment.