Improvements and bugfixes in WebHook editing and internal cache management
As part of the threading improvements in tcWebHooks 2.0.0, the minimum supported version of TeamCity is 2019.1
Also, 2024.03 upgraded the framework on which the REST API is developed. There are now 3 files. Only two need to be installed:
- tcWebHooks-2.0.1-build.502.zip - the plugin that sends webhook events.
Compatible with TeamCity 2019.1 and newer - tcWebHooks-REST-API-2.0.1-build.502.zip - REST API for editing WebHook configurations and templates.
Compatible with TeamCity 2024.03 and newer - tcWebHooks-REST-API-2.0.1-build.502-legacy.zip - REST API for editing WebHook configurations and templates.
Compatible with TeamCity 2019.1 through to 2023.11.x
Fixes in this release
- Added support for Project Copy Events
Copying a project with webhooks configured will copy the webhooks and refresh the internal cache correctly.
Duplicated webhooks are allocated a new unique ID and loaded into the cache.
It will also attempt to remap the internal build Ids referenced by the webhook of the Build Configurations from the old bt number to the corresponding bt number in the newly created builds.
Fixes #238 - Added support for Build Configuration Delete events
Fixes #242 - Implemented handling of edited projects outside of TeamCity
For example, versioned settings, modification of the TeamCity project configuration, etc will be reloaded and re-cached.
Fixes #232, #229 and possibly #194.
Many thanks to @matt-richardson for all the feedback and testing on this release
Full Changelog: v2.0.0...v2.0.1