Skip to content

Releases: playmiel/ESPAsyncWebClient

2.1.2

26 Mar 14:26
2412a01

Choose a tag to compare

What's Changed

Full Changelog: 2.1.0...2.1.2

2.1.0

26 Feb 09:47
aa23647

Choose a tag to compare

What's Changed

  • Update to version 2.1.0 and improvement of asynchronous HTTP request … by @playmiel in #20

Full Changelog: 2.0.0...2.1.0

2.0.0

24 Feb 14:25
50fa208

Choose a tag to compare

This pull request updates the API and documentation for the Async HTTP client library, introducing breaking changes for version 2. The main focus is on modernizing memory management, updating callback signatures to use smart pointers, and clarifying ownership semantics. The README and all example sketches are updated to reflect these changes, ensuring consistency and providing migration guidance.

API and Ownership Changes:

  • The SuccessCallback signature now takes a std::shared_ptr<AsyncHttpResponse> instead of a raw pointer, and all usages in examples and documentation are updated accordingly. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
  • Advanced requests now require a std::unique_ptr<AsyncHttpRequest> to transfer ownership to the client; all example usages and API documentation are updated to match. [1] [2] [3] [4] [5]
  • The README clarifies that response objects are managed via shared_ptr, and request objects via unique_ptr, with explicit notes about object lifetimes and the need to copy data if it must be retained after callbacks. [1] [2]

API Modernization and Migration:

  • The migration section in the README lists all breaking changes from v1 to v2, including new callback signatures, changed return types (e.g., getBody() now returns by value), and the removal of legacy APIs.
  • All relevant method signatures in the documentation are updated to reflect new return types and parameter ownership (get, post, put now return uint32_t and accept updated callback types). [1] [2]

Documentation and Example Consistency:

  • All examples are updated to use modern C++ smart pointers for requests and responses, ensuring users follow best practices and avoid memory errors. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • The README is revised throughout to match the new API, including callback signatures, memory management, and usage patterns. [1] [2] [3] [4]

Other improvements:

  • Minor improvements to documentation clarity, such as notes about keep-alive pooling and chunk data validity. [1] [2]
  • PlatformIO test configuration updated to use the correct dependency and include local library sources.

These changes modernize the library's API, improve safety and clarity, and provide clear migration guidance for users upgrading from v1 to v2.

1.1.4

06 Jan 10:28
9a74181

Choose a tag to compare

What's Changed

Full Changelog: 1.1.3...1.1.4

1.1.3

16 Dec 14:42

Choose a tag to compare

What's Changed

Full Changelog: 1.1.2...1.1.3

v1.1.2

02 Dec 10:53
40e22e3

Choose a tag to compare

What's Changed

Full Changelog: 1.1.1...1.1.2

1.1.1

27 Nov 09:37
f989536

Choose a tag to compare

What's Changed

arduino v3
Full Changelog: 1.1.0...1.1.1

1.1.0 ssl version

26 Nov 09:46
ed40e65

Choose a tag to compare

What's Changed

add ssl
Full Changelog: 1.0.7...1.1.0

1.0.7

14 Nov 11:01
4281b10

Choose a tag to compare

What's Changed

Full Changelog: 1.0.6...1.0.7

1.0.6

29 Oct 15:30
5af6f6b

Choose a tag to compare

What's Changed

Full Changelog: 1.0.5...1.0.6