|
1 |
| -HEAD |
| 1 | +0.4.0 - 2014-11-04 |
| 2 | +- BREAKING API CHANGE: All WebSocket++ methods now throw an exception of type |
| 3 | + `websocketpp::exception` which derives from `std::exception`. This normalizes |
| 4 | + all exception types under the standard exception hierarchy and allows |
| 5 | + WebSocket++ exceptions to be caught in the same statement as others. The error |
| 6 | + code that was previously thrown is wrapped in the exception object and can be |
| 7 | + accessed via the `websocketpp::exception::code()` method. |
| 8 | +- BREAKING API CHANGE: Custom logging policies have some new required |
| 9 | + constructors that take generic config settings rather than pointers to |
| 10 | + std::ostreams. This allows writing logging policies that do not involve the |
| 11 | + use of std::ostream. This does not affect anyone using the built in logging |
| 12 | + policies. |
| 13 | +- BREAKING UTILITY CHANGE: `websocketpp::lib::net::htonll` and |
| 14 | + `websocketpp::lib::net::ntohll` have been prefixed with an underscore to avoid |
| 15 | + conflicts with similarly named macros in some operating systems. If you are |
| 16 | + using the WebSocket++ provided 64 bit host/network byte order functions you |
| 17 | + will need to switch to the prefixed versions. |
| 18 | +- BREAKING UTILITY CHANGE: The signature of `base64_encode` has changed from |
| 19 | + `websocketpp::base64_encode(unsigned char const *, unsigned int)` to |
| 20 | + `websocketpp::base64_encode(unsigned char const *, size_t)`. |
| 21 | +- BREAKING UTILITY CHANGE: The signature of `sha1::calc` has changed from |
| 22 | + `websocketpp::sha1::calc(void const *, int, unsigned char *)` to |
| 23 | + `websocketpp::sha1::calc(void const *, size_t, unsigned char *)` |
| 24 | +- Feature: Adds incomplete `minimal_server` and `minimal_client` configs that |
| 25 | + can be used to build custom configs without pulling in the dependencies of |
| 26 | + `core` or `core_client`. These configs will offer a stable base config to |
| 27 | + future-proof custom configs. |
| 28 | +- Improvement: Core library no longer has std::iostream as a dependency. |
| 29 | + std::iostream is still required for the optional iostream logging policy and |
| 30 | + iostream transport. |
| 31 | +- Bug: C++11 Chrono support was being incorrectly detected by the `boost_config` |
| 32 | + header. Thank you Max Dmitrichenko for reporting and a patch. |
| 33 | +- Bug: use of `std::put_time` is now guarded by a unique flag rather than a |
| 34 | + chrono library flag. Thank you Max Dmitrichenko for reporting. |
| 35 | +- Bug: Fixes non-thread safe use of std::localtime. #347 #383 |
| 36 | +- Compatibility: Adjust usage of std::min to be more compatible with systems |
| 37 | + that define a min(...) macro. |
| 38 | +- Compatibility: Removes unused parameters from all library, test, and example |
| 39 | + code. This assists with those developing with -Werror and -Wunused-parameter |
| 40 | + #376 |
| 41 | +- Compatibility: Renames ntohll and htonll methods to avoid conflicts with |
| 42 | + platform specific macros. #358 #381, #382 Thank you logotype, unphased, |
| 43 | + svendjo |
| 44 | +- Cleanup: Removes unused functions, fixes variable shadow warnings, normalizes |
| 45 | + all whitespace in library, examples, and tests to 4 spaces. #376 |
2 | 46 |
|
3 | 47 | 0.3.0 - 2014-08-10
|
4 | 48 | - Feature: Adds `start_perpetual` and `stop_perpetual` methods to asio transport
|
|
0 commit comments