| 1 | # Changelog |
| 2 | |
| 3 | All notable changes to this project will be documented in this file. |
| 4 | |
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | |
| 8 | ## [Unreleased] |
| 9 | ### Added |
| 10 | ### Changed |
| 11 | ### Removed |
| 12 | ### Fixed |
| 13 | ### Docs |
| 14 | |
| 15 | ## [1.9.0] - 2026-04-03 |
| 16 | ### Added |
| 17 | - Ability to store and resume processing of certs from where it left off after a restart - see sample config "recovery" (#49) |
| 18 | - New CLI switch for creating an index file from a CT log (#49) |
| 19 | - Support for [Static CT](https://github.com/C2SP/C2SP/blob/main/static-ct-api.md) logs |
| 20 | - Check for retired CT logs and prevent them from being watched / stop watching them (#77) |
| 21 | - Accept websocket connections from all origins |
| 22 | - Option to disable the default logs provided by Google - see sample config "disable_default_logs" |
| 23 | - Use of cobra for CLI argument parsing. New commands for displaying version and creating an index file |
| 24 | - Override confiuration options via environment variables (e.g. `CERTSTREAM_WEBSERVER_LISTEN_PORT=1234` to change the listen port) |
| 25 | - New field in json `source.timestamp` representing the timestamp of when the cert was processed by the CT log (#98) |
| 26 | |
| 27 | ### Changed |
| 28 | - **Breaking:** The configuration file for the docker container is now read from the /app/config/ directory (b9e5e6) |
| 29 | |
| 30 | ### Removed |
| 31 | - Deleted non-functional Dodo log from sample config (#78) |
| 32 | |
| 33 | ### Fixed |
| 34 | - Properly remove stopped ct log workers (#74) |
| 35 | - Added missing fields certificatePolicies and ctlPoisonByte (#85) |
| 36 | - Prevent race condition caused by simultaneous rw access to logmetrics (#91) |
| 37 | - Properly display metrics for all initially watched logs (#95) |
| 38 | - Properly add new metrics for all newly found logs (#96) |
| 39 | |
| 40 | ## [1.8.2] - 2025-11-22 |
| 41 | ### Fixed |
| 42 | - Added missing fields certificatePolicies and ctlPoisonByte (#85) |
| 43 | |
| 44 | ## [1.8.1] - 2025-05-04 |
| 45 | ### Fixed |
| 46 | - No longer reject URLs with trailing slashes defined in the `additional_logs` config (#62) |
| 47 | - When using `drop_old_logs` in the config, the server won't remove logs defined in `additional_logs` anymore (#64) |
| 48 | |
| 49 | ## [1.8.0] - 2025-05-03 |
| 50 | ### Security |
| 51 | - Close several CVEs in x/crypto and x/net dependencies (#59) |
| 52 | |
| 53 | ### Added |
| 54 | - New CLI tool for fetching certificates from a CT log (#47) |
| 55 | - Ability to add custom CT logs to the config (#56) |
| 56 | - Remove old CT logs as soon as they are removed from the Google CT Loglist (#60) |
| 57 | - New configuration for buffer sizes (#58) |
| 58 | |
| 59 | ### Fixed |
| 60 | - Properly handle IPv6 addresses in config (#61) |
| 61 | |
| 62 | ## [1.7.1] - 2025-05-03 |
| 63 | ### Fixed |
| 64 | - Properly handle IPv6 addresses in config (#61) |
| 65 | |
| 66 | ## [1.7.0] - 2024-08-20 |
| 67 | ### Added |
| 68 | - Support for websocket compression - disabled by default (#40) |
| 69 | - Support for non-browsers by implementing server initiated heartbeats (#39) |
| 70 | - Start new ct-watchers as new ct logs become available (#42) |
| 71 | - More logging to document currently watched logs (03d878e) |
| 72 | |
| 73 | ### Changed |
| 74 | - Changed log output to be better grepable (5c055cc) |
| 75 | - Update ct log update interval to once per hour instead of once per 6 hours as previously (9b6e77d) |
| 76 | |
| 77 | ### Fixed |
| 78 | - Fixed a possible race condition when accessing metrics |
| 79 | |
| 80 | ## [1.6.0] - 2024-03-05 |
| 81 | ### Added |
| 82 | - New metric for skipped certs per client (#34) |
| 83 | |
| 84 | ## [1.5.2] - 2024-02-17 |
| 85 | ### Fixed |
| 86 | - Fixed an issue with ip whitelists for the websocket server (#33) |
| 87 | |
| 88 | ## [1.5.1] - 2024-01-18 |
| 89 | ### Fixed |
| 90 | - Fixed a rare issue where it was possible for the all_domains json property (or data property in case of the domains-only endpoint) to be null |
| 91 | |
| 92 | ## [1.5.0] - 2023-12-21 |
| 93 | ### Added |
| 94 | - New `-version` switch to print version and exit afterwards |
| 95 | - Print version on every run of the tool |
| 96 | - Count and log number of skipped certificates per client |
| 97 | |
| 98 | ### Changed |
| 99 | - Update to chi/v5 |
| 100 | - Update ct-watcher timeout from 5 to 30 seconds |
| 101 | |
| 102 | ### Fixed |
| 103 | - Prevent invalid subscription types to be used |
| 104 | - Kill connection after broadcasthandler was stopped |
| 105 | |
| 106 | ## [1.4.0] - 2023-11-29 |
| 107 | ### Added |
| 108 | - Config option to use X-Forwarded-For or X-Real-IP header as client IP |
| 109 | - Config option to whitelist client IPs for both websocket and metrics endpoints |
| 110 | - Config option to enable system metrics (cpu, memory, etc.) |
| 111 | |
| 112 | ## [1.3.2] - 2023-11-28 |
| 113 | ### Fixed |
| 114 | - Memory leak related to clients disconnecting from the websocket not being handled properly |
| 115 | |
| 116 | ## [1.3.1] - 2023-09-18 |
| 117 | ### Changed |
| 118 | - Updated config.sample.yaml to run both certstream and prometheus metrics on same socket |
| 119 | |
| 120 | ### Docs |
| 121 | - Fixed wrong docker command in readme |
| 122 | |
| 123 | ## [1.3.0] - 2023-04-11 |
| 124 | ### Added |
| 125 | - Calculate and display Sha256 sum of certificate |
| 126 | |
| 127 | ### Changed |
| 128 | - Update dependencies |
| 129 | - Better logging for CT log errors |
| 130 | |
| 131 | ### Fixed |
| 132 | - End execution after all workers stopped |
| 133 | - Implement timeout for the http client |
| 134 | - Keep ct watcher from crashing upon a connection reset from server |
| 135 | |
| 136 | ## [1.2.2] - 2023-01-10 |
| 137 | ### Added |
| 138 | - Two docker-compose files |
| 139 | - Check for presence of .yml or .yaml files in the current directory |
| 140 | |
| 141 | ### Fixed |
| 142 | - Handle sudden disconnects of CT logs |
| 143 | |
| 144 | ### Docs |
| 145 | - Added [wiki entry for docker-compose](https://github.com/d-Rickyy-b/certstream-server-go/wiki/Collecting-and-Visualizing-Metrics) |
| 146 | |
| 147 | ## [1.2.1] - 2022-12-16 |
| 148 | ### Changed |
| 149 | - Updated ci pipeline to use new setup-go and checkout actions |
| 150 | - Use correct package name `github.com/d-Rickyy-b/certstream-server-go` |
| 151 | |
| 152 | ## [1.2.0] - 2022-12-15 |
| 153 | ### Added |
| 154 | - Log x-Forwarded-For header for requests |
| 155 | - More logging for certain error situations |
| 156 | - Add operator to ct log cert count metrics |
| 157 | |
| 158 | ### Changed |
| 159 | - Updated certificate-transparency-go dependency to v1.1.4 |
| 160 | - Code improvements, adhering to styleguide |
| 161 | - Rename module to certstream-server-go |
| 162 | - Use log_list.json instead of all_logs_list.json |
| 163 | |
| 164 | ## [1.1.0] - 2022-10-19 |
| 165 | Fix for missing loglist urls. |
| 166 | |
| 167 | ### Fixed |
| 168 | Fixed the connection issue due to the offline Google loglist urls. |
| 169 | |
| 170 | ## [1.0.0] - 2022-08-08 |
| 171 | Initial release! First stable version of certstream-server-go is published as v1.0.0 |
| 172 | |
| 173 | [unreleased]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.9.0...HEAD |
| 174 | [1.8.2]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.8.2...v1.9.0 |
| 175 | [1.8.2]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.8.1...v1.8.2 |
| 176 | [1.8.1]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.8.0...v1.8.1 |
| 177 | [1.8.0]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.7.1...v1.8.0 |
| 178 | [1.7.1]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.7.0...v1.7.1 |
| 179 | [1.7.0]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.6.0...v1.7.0 |
| 180 | [1.6.0]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.5.2...v1.6.0 |
| 181 | [1.5.2]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.5.1...v1.5.2 |
| 182 | [1.5.1]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.5.0...v1.5.1 |
| 183 | [1.5.0]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.4.0...v1.5.0 |
| 184 | [1.4.0]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.3.2...v1.4.0 |
| 185 | [1.3.2]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.3.1...v1.3.2 |
| 186 | [1.3.1]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.3.0...v1.3.1 |
| 187 | [1.3.0]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.2.2...v1.3.0 |
| 188 | [1.2.2]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.2.1...v1.2.2 |
| 189 | [1.2.1]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.2.0...v1.2.1 |
| 190 | [1.2.0]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.1.0...v1.2.0 |
| 191 | [1.1.0]: https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.0.0...v1.1.0 |
| 192 | [1.0.0]: https://github.com/d-Rickyy-b/certstream-server-go/tree/v1.0.0 |