Skip to content

Releases: drogonframework/drogon

v1.10.0-beta.1 - HTTP/2 client beta release 1

02 Jun 04:48
Compare
Choose a tag to compare

This is a BETA RELEASE of our HTTP/2 client. As it is difficult for us to test our client against all possible situations. The beta release is meant for people to experiment and try our HTTP/2 client and report what does and does not work. This beta branch is synced with our main branch at least once per (beta) release.

Please help us test our HTTP/2 implementation. Open an issue and tag @marty1885 if you found any.

Comment on our compatibility tracker if you like. This allows us to gather a list of known working sites :)

BR, Martin Chang

Fixes

  • Fix bad request when request path is empty
  • Fix bad encoding/decoding when the server requests HPACK buffer size change

Changes

  • Merge with latest master

Limitations

Please open an issue if you need any of them.

  • No H2C (HTTP/2 over cleartext) support
  • Technically supports handling server push. But no API to expose it to the user yet
  • Does not support setting HTTP request dependency and priority
  • Does not support trailers

v1.10.0-beta.0 - HTTP/2 client beta release 0

25 May 16:15
fb08813
Compare
Choose a tag to compare

This is a BETA RELEASE of our HTTP/2 client. As it is difficult for us to test our client against all possible situations. The beta release is meant for people to experiment and try our HTTP/2 client and report what does and does not work. This beta branch is synced with our main branch at least once per (beta) release.

Please help us test our HTTP/2 implementation. Open an issue and tag @marty1885 if you found any.

Comment on our compatibility tracker if you like. This allows us to gather a list of known working sites :)

BR, Martin Chang

Changed

  • Add HTTP/2 Client

API changes

  • New enum for HTTP/2 Version::kHttp2
  • HttpRequest::setVersion() deprecated and has no affect.
  • HTTP version in client is no longer controlled by req->setVersion() but with newHttpClient(...., DESIRED_HTTP_VERSION)
    • It is more of a suggestion then requirement. The client negotiates and selects the highest supported one.

Limitations

Please open an issue if you need any of them.

  • No H2C (HTTP/2 over cleartext) support
  • Technically supports handling server push. But no API to expose it to the user yet
  • Does not support setting HTTP request dependency and priority
  • Does not support trailers

v1.9.4

04 May 14:43
Compare
Choose a tag to compare

API changes list

  • Add client cert support for websocket.

  • Add JSON send overloads for WebSocket connections.

Changed

  • Minor enhancement: move some smart pointers around instead of copying them.

  • Remove the request shared_ptr from the multipart parser.

  • Fix typo in HttpAppFrameworkImpl.cc.

  • Avoid string copy and lowercasing on every request.

  • Implemented database reconnection loop.

Fixed

  • Bypass clang thread_local error.

v1.9.3

09 Feb 08:09
Compare
Choose a tag to compare

API changes list

  • Added getParameter() and getOptionalParameter().

  • Change drogon::MultiPartParser's parameters data type.

  • Use std::string_view for WebSockets.

Changed

  • Add support for gentoo linux, dev-db/mariadb contains mysql.

  • Introduce cpplint to the CI.

  • Enable readability/alt_tokens for cpplint.

  • Use clang-format-17.

  • Add newline at EOF.

  • Enable readability/inheritance for cpplint.

  • Enable build/explicit_make_pair for cpplint.

  • Enable build/include_order for cpplint.

  • Enable build/header_guard for cpplint.

  • Enable build/storage_class for cpplint.

  • Enable readability/multiline_string for cpplint.

  • Alias the safe hashmap template.

  • Simplify traits in utils.

  • Enhancement: extend drogon::ContentType for file handling.

Fixed

  • Fix a wrong place of return.

  • Fix drogon::util::fromString().

v1.9.2

18 Jan 13:53
Compare
Choose a tag to compare

API changes list

  • Feature: Integrate spdlog as logging backend.

  • Support asynchronous sending of chunked responses.

Changed

  • Modify the configuration file templates in drogon_ctl.

  • Use execute_process instead of exec_program in FindJsoncpp.cmake.

  • GitHub Action to find typos in the codebase using codespell.

  • add discord link to readme.

  • Add -k option to the drogon_ctl when running the press command.

  • Refine request routing process.

  • Add CI tests with more compilers.

  • Avoid a race condition in database listener tests.

  • Remove macos-11 CI; not supported by Homebrew.

  • Bump github/codeql-action from 2 to 3.

  • Move the RealIpResolver plugin to the PreRouting join point.

Fixed

  • Fix: typo on Mapper method.

  • Fix a error of coroutines on Windows.

  • Fix ORM: The original way did not handle exceptions correctly.

  • Remove the default ctor of the Row class in ORM.

  • Set the url of trantor to the official repository.

  • Fix htonll/ntohll redefinition.

  • Fix building with MSYS2.

  • Fix name issue when cross-compiling.

v1.9.1

27 Nov 11:00
Compare
Choose a tag to compare

API changes list

  • Pass HttpRequestPtr to custom error handlers.

  • Provide some functions for incrementing the value of given columns.

  • Return HttpAppFramework by setExceptionHandler.

Changed

  • Custom sessions.

  • Use the constexpr if instead of std::enable_if.

  • Make id generator consistent.

  • Update test_cmake.csp.

  • Simplify drogon test with c++17.

  • Remove unused and undefined overloads of isBase64.

Fixed

  • Fix build due to trantor commit out of date and address warnings.

  • Fix a bug of the GlobalFilters plugin.

  • Fix: uuid formatting.

v1.9.0

29 Oct 03:46
Compare
Choose a tag to compare

API changes list

  • Added isTopicEmpty function;

Changed

  • Update the ubuntu Dockerfile;

  • Add optional Criteria && || operator support;

  • Bump actions/checkout from 3 to 4;

  • Make & and * directly adjacent to variable names;

  • Use wss://echo.websocket.events/.ws in WebSocket client example;

  • Change logs in the AccessLogger plugin to TRACE level;

Fixed

  • Fix an error in the secureRandomString function;

  • FIX int mapping to int64_t instead of uint64_t;

1.9.0-rc.1 - Goodbye cpp14

24 Sep 03:00
94ca651
Compare
Choose a tag to compare

API changes list

  • Drop cpp14 build support.

  • Add isHead() method to HttpRequest, to preserve information about the original method for use in the controller.

  • Allow omitting template paremeter in execCommandSync.

  • Add a method to HttpRequest to access the matched routing parameters.

Changed

  • Update readme files.

  • Allow sync advice to be callable on websocket requests.

  • Set concurrency to prevent blocking CI queue.

  • Validate clang-format version & Customize clang-format path.

  • Extract format action into distinct job.

  • Split macOS and Ubuntu CIs for readability.

  • Set concurrency for CodeQL.

  • Add dependabot.yml for GH actions.

  • Replace sprintf with snprintf.

  • Use ninja to build faster.

  • Avoid using well-known ports for demoMain.

  • Simplify coroutine implementation.

  • Add a plugin for prometheus.

  • Optimize plugins with redirection functions.

  • Optimize regex generator.

  • Add override keyword to setSockOptCallback.

  • SlashRemover optimization.

Fixed

  • Fix race condition when setting the secure flag during test.

v1.8.7

24 Sep 04:16
Compare
Choose a tag to compare

Fixed

  • Fix compatibility issue with c++14.

v1.8.6

23 Aug 02:03
Compare
Choose a tag to compare
v1.8.6 Pre-release
Pre-release

Changed

  • Show outputs of try_compile for UUID libs.

  • Update Trantor to fix a serious bug when sending files.