Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing kbn-version from the response headers. #20551

Merged
merged 2 commits into from
Jul 13, 2018

Conversation

kobelb
Copy link
Contributor

@kobelb kobelb commented Jul 9, 2018

We're currently always adding the kbn-version header to all responses, but this doesn't appear to be utilized anywhere. The version checking logic is pulling the kbn-version from initial state that is injected.

Resolves #20573

"Release Note: No longer setting unnecessary kbn-version header on all HTTP responses"

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@kobelb kobelb changed the title [TESTING] Removing kbn-version from the response headers. Removing kbn-version from the response headers. Jul 9, 2018
@kobelb kobelb requested review from epixa and spalger July 9, 2018 17:13
Copy link
Contributor

@epixa epixa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kobelb kobelb merged commit 5d1548a into elastic:master Jul 13, 2018
@kobelb kobelb deleted the no-version-header branch July 13, 2018 11:10
kobelb added a commit to kobelb/kibana that referenced this pull request Jul 13, 2018
* Removing kbn-version from the response headers.

* Removing test assert that we don't need
kobelb added a commit that referenced this pull request Jul 13, 2018
* Removing kbn-version from the response headers.

* Removing test assert that we don't need
yankouskia pushed a commit to yankouskia/kibana that referenced this pull request Jul 16, 2018
* Removing kbn-version from the response headers.

* Removing test assert that we don't need
@chavdar
Copy link

chavdar commented Sep 14, 2018

Is there some other way to programatically determine Kibana's version? That is useful for applications using the REST APIs as there may be changes from version to version. For example, it looks like the default dashboard panel sizes have changed from 6 x 3 to 24 x 15 between 6.2 and 6.3. There might be other similar changes.

@epixa
Copy link
Contributor

epixa commented Sep 14, 2018

@chavdar The version info should be included in the /api/status response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants