Is your feature request related to a problem? Please describe.
Today I spent way more time than I'd like to admit troubleshooting a self-hosted customer issue that was caused by not running on the latest Flagsmith version. Having the current Flagsmith version be returned as part of the response headers might have saved me hours of troubleshooting.
Describe the solution you'd like.
Add a response header like X-Flagsmith-Version: 2.123.0 to all responses, no matter the status code or error condition.
Describe alternatives you've considered
Don't really care about the specific header, just want to see the version in there somewhere.
I know we have the /version endpoint as well, but that requires 1) making an explicit request to it, and 2) knowing/remembering that it exists, which customers usually don't. Usually the information we get for troubleshooting is in the form of a failed curl command or similar, which if we're lucky contains the response headers as well.
Is your feature request related to a problem? Please describe.
Today I spent way more time than I'd like to admit troubleshooting a self-hosted customer issue that was caused by not running on the latest Flagsmith version. Having the current Flagsmith version be returned as part of the response headers might have saved me hours of troubleshooting.
Describe the solution you'd like.
Add a response header like
X-Flagsmith-Version: 2.123.0
to all responses, no matter the status code or error condition.Describe alternatives you've considered
Don't really care about the specific header, just want to see the version in there somewhere.
I know we have the
/version
endpoint as well, but that requires 1) making an explicit request to it, and 2) knowing/remembering that it exists, which customers usually don't. Usually the information we get for troubleshooting is in the form of a failed curl command or similar, which if we're lucky contains the response headers as well.Additional context
No response