Releases: pubnub/c-core
Releases · pubnub/c-core
v5.0.1
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. ChangePUBNUB_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
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
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
March 19 2025
Added
- Add the ability to set
timetoken
(for message catchup) inpubnub_subscribe_v2_options
which is used withpubnub_subscribe_v2
.
Fixed
- Fix issue which was source of segmentation fault when tried to access memory after it has been freed.
v4.18.1
February 11 2025
Fixed
- Fix issue because of which
signature
value in query has been truncated.
v4.18.0
February 06 2025
Added
- Add
status
andtype
support for channel and uuid metadata objects state update API.
v4.17.0
January 16 2025
Added
- Add possibility to replace default log function with a callback provided by the user.
v4.16.1
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
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 useinclude
directives to include shared definitions, flags, source files.
v4.15.0
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
andpubnub_set_ipv6_connectivity
topubnub_coreapi
to switch preferred connectivity protocol. Make sure that in case of connection close (including because of error) proxy context object will be reset.