Skip to content

Releases: pubnub/c-core

v5.0.1

26 May 14:04
24b3601
Compare
Choose a tag to compare

May 26 2025

Fixed

  • Fix crashes that could sometimes happen during unsubscribe due to calling strlen on null pointers.
  • Fix pubnub_fetch_history function when used with crypto api. Change PUBNUB_MAX_URL_PARAMS to 12.
  • Fix the issue that was causing memory fragmentation fault at the moment of the next automated heartbeat call.

v5.0.0

03 Apr 10:58
7c34609
Compare
Choose a tag to compare

April 03 2025

Added

  • Add PUBNUB_NTF_RUNTIME_SELECTION flag that allows to select API type at runtime.
  • Introduce void* parameter for user data in listeners to let callbacks keep context on demand.

v4.19.1

02 Apr 09:27
0e9b9b9
Compare
Choose a tag to compare

April 02 2025

Fixed

  • Fix the issue that there was an assertion when using App Context functions with limit set to 100.

v4.19.0

19 Mar 14:02
b990002
Compare
Choose a tag to compare

March 19 2025

Added

  • Add the ability to set timetoken (for message catchup) in pubnub_subscribe_v2_options which is used with pubnub_subscribe_v2.

Fixed

  • Fix issue which was source of segmentation fault when tried to access memory after it has been freed.

v4.18.1

11 Feb 15:14
bf56a79
Compare
Choose a tag to compare

February 11 2025

Fixed

  • Fix issue because of which signature value in query has been truncated.

v4.18.0

06 Feb 10:08
c1a3440
Compare
Choose a tag to compare

February 06 2025

Added

  • Add status and type support for channel and uuid metadata objects state update API.

v4.17.0

16 Jan 08:35
595409b
Compare
Choose a tag to compare

January 16 2025

Added

  • Add possibility to replace default log function with a callback provided by the user.

v4.16.1

09 Jan 10:06
11fc03a
Compare
Choose a tag to compare

January 09 2025

Fixed

  • Remove the user_id length restriction for dynamically allocated memory for it.

Modified

  • Configure try_compile when building a static library.

v4.16.0

25 Dec 23:40
ea0a4c1
Compare
Choose a tag to compare

December 25 2024

Added

  • Additional flags for C/CPP can be set with: USER_C_FLAGS / USER_CXX_FLAGS.

Fixed

  • Fix because of which one of the source files has been missed for Windows.
  • Fix issue with unsupported concatenation of sources files / definitions (+=).

Modified

  • Refactor our Makefiles from different folders and platforms to use include directives to include shared definitions, flags, source files.

v4.15.0

25 Nov 21:52
eb84d56
Compare
Choose a tag to compare

November 25 2024

Added

  • Add custom message type support for the following APIs: publish, signal, share file, subscribe and history.
  • Add connectivity setter.

Fixed

  • Add pubnub_set_ipv4_connectivity and pubnub_set_ipv6_connectivity to pubnub_coreapi to switch preferred connectivity protocol. Make sure that in case of connection close (including because of error) proxy context object will be reset.