Skip to content

Releases: sttp/cppapi

STTP C++ API v1.1.2

25 Mar 18:24
985fe61
Compare
Choose a tag to compare

This version of the C++ STTP API has operational reverse connection modes for publisher and subscriber implementations.

See build steps to create a platform specific library.

Updates:

  • Added reverse connection implementation for STTP subscriber
  • Added common ResolveDNSName function
  • Updated date/time conversions from ticks to apply value mask so that any leap second bits are not included in converted timestamps
  • Updated Timer class to ManualResetEvent based wait operation
  • Reduced possible race conditions on disconnect and shutdown threads
  • Added default time reasonability subscription settings
  • Updated initial reconnect attempt to wait for specified retryInterval to better handle Linux TIME_WAIT socket state
  • Cleaned up API interfaces, exposed MaxRetryInterval connection parameter
  • Added reverse connection implementation for STTP publisher
  • Updated data subscriber operational modes assignment to exclude deprecated modes for IEEE 2664
  • Added string names for command/response enums for improved output messages
  • Abstracted subscriber connector operation for both subscriber and publisher use (for reverse connections)
  • Added initial STTP v3 subscription operations
  • Updated code to consistently use var.data() instead of &var[0]
  • Updated subscriber for STTP v2 multi-signal index caches
  • Updated subscriber to not auto-send operational modes on compression state change
  • Synced Command/Response Enums to latest IEEE 2664 standard
  • Updated ANTLR4 C++ runtime to v4.11.1
  • Added leap second functions
  • Added double and decimal modulus operation support
  • Improved string function null value handling consistency
  • Improved date function null value handling consistency
  • Added a few more common aliases to Convert expression function
  • Corrected Sqrt expression return types for integer sources
  • Improved null checks for DateAdd and DatePart interval type
  • Updated to use common grammar with multi-language unexpected character exception
  • Improved connection string setup for data subscribers

Not working yet:

  • TLS Connections
  • UDP Channel Compression / Encryption
  • Buffer Blocks

STTP C++ API v1.0.21

31 Dec 19:39
591bc60
Compare
Choose a tag to compare

See build steps to create a platform specific library.

Updates:

  • Updated data subscriber disconnect and shutdown operations to run on a separate thread
  • Improved data subscriber auto-reconnect operations, especially during shutdown
  • Improved data publisher device feedback and shutdown operations
  • Improved timer related shutdown operations
  • Updated class destructors to never throw exceptions
  • Updated all custom exceptions to inherit from both boost and std library exception
  • Added a simple thread pool and ThreadSleep macro
  • Added fallthrough attributes where applicable
  • Added extra null checks for all std::function delegates
  • Updated TCP connect in data subscriber to use newer range based overload

STTP C++ API v1.0.20

22 Dec 07:38
44fa15a
Compare
Choose a tag to compare

See build steps to create a platform specific library.

Updates:

  • Updated all string to numeric, boolean, Guid and timestamp conversions to use TryParse style operations -- prevents possible exceptions with malformed metadata
  • Updated integer-based TryParse functions to assign a radix of 16 when string starts with "0x"
  • Fixed exception in data publisher when no filterExpression is provided in connection string from a subscriber
  • Fixed conversion to boolean targets in filter expressions
  • Fixed reverse filter expression function to operate properly
  • Updated filter expression functions that return null for null primary input to handle null return before any non-null validation of remaining parameters
  • Updated data publisher to be restartable after a call to stop
  • Updated data publisher to handle calls to Stop a separate shutdown thread to prevent issues where user may call stop method from a dispatched event thread
  • Improved data publisher shutdown operations
  • Added NaN constant and IsEmptyOrWhiteSpace function to CommonTypes
  • Added TryParseUInt32 to convert functions
  • Updated socket related asio delegates to use templated lambdas
  • Updated fractional second operations to use integer division
  • Updated ANTLR CPP runtime to version 4.9
  • Updated pugixml version to 1.11
  • Updated code to support boost v1.75 -- this required custom include file to fix duplicate symbol errors during link
  • Switched unicode conversions to nemtrif UTF8 library as wstring_convert is deprecated in C++17
  • Migrated headers to use "#pragma once" instead of old-style include guards
  • Updated code to support C++20
  • Updated code per clang suggestions
  • Added additional comments to TSSC algorithm for inclusion in IEEE 2664 standard

STTP C++ API v1.0.17

11 Nov 02:28
b6d1cc6
Compare
Choose a tag to compare

See build steps to create a platform specific library.

STTP C++ API v1.0.14

11 Jul 16:40
6070f84
Compare
Choose a tag to compare

See build steps to create a platform specific library.