Releases: snowplow/snowplow-cpp-tracker
Version 2.0.0
This release adds the option to install the tracker an imported target in CMake projects. This enables you to use find_package to import the installed project in your CMakeLists.txt. The tracker now also recognises dependencies (e.g., libcurl) installed through Conan.
The minimum CMake version was raised from 3.14 to 3.15. Also the SQLite3 and libcurl dependencies are now private within the project and libcurl is no longer used on macOS.
Big thanks for this release goes to @tamaskenezlego who contributed most of the changes!
Changelog
Enhancements
- Add option to install the tracker as an imported target in a CMake project (close #85) (thanks to @tamaskenezlego)
Under the hood
- Qualify usages of std::move (#87) (thanks to @tamaskenezlego)
- Silence warnings during build (#84) (thanks to @tamaskenezlego)
- Check whether the collector URI is empty in network configuration (close #83)
- Update build instructions in README for Windows (close #88)
- Change documentation links for snowplowanalytics.com to snowplow.io
- Update year in copyright headers to 2023
- Update documentation for changes in v2
Version 1.0.0
This is the first stable release of the tracker and adds the tracker to the list of our maintained trackers!
The release brings updates to the API and introduces a Snowplow class for easier initialization and management of one or more trackers. A new tracker can now be initialized with a single line of code, e.g., auto tracker = Snowplow::create_tracker("ns", "https://collector.com", POST, "sp.db");.
Support for the cmake build system was also introduced. This enables the package to be imported into other cmake projects. The library can be still be installed without using cmake by copying source files from the include folder.
Other changes include support for storing HTTP cookies in collector requests, adopting the version 1.0.2 of the client_session schema for session context entities with eventIndex and firstEventTimestamp properties, new API docs, and integration tests.
Enhancements:
- Add a Snowplow interface with the ability to initialize and manage multiple trackers (#22)
- Add eventIndex and firstEventTimestamp properties to client sessions (#80)
- Add support for storing cookies in HTTP clients (#78)
- Add build using cmake (#65)
- Add integration tests using Snowplow Micro (#57)
- Publish API docs on Github Pages (#73)
Version 0.4.0
Version 0.3.0
Enhancements:
- Add support for Linux in HTTP client (#5)
- Add CI build on Linux and update build instructions (#50)
- Add support for Linux in desktop context (#47)
- Add support for Linux when generating UUIDs (#46)
- Use a common Event base class for all event types (#51)
- Add emitter callback function (#7)
- Add customizable no-retry HTTP status codes (#54)
- Expose an interface for storage and make it configurable (#48)
- Add a header file that includes all the published APIs (#55)