-
Notifications
You must be signed in to change notification settings - Fork 73
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
versioning support for Fides #5435
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
e7f7e6b
to
0c15dda
Compare
fides Run #11672
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5435/merge
|
Run status |
Passed #11672
|
Run duration | 00m 48s |
Commit |
00af14abb6 ℹ️: Merge 9c692c2c63530c57a1df869cfb78df377660805f into 483d7984e996af447e37e1bd4cc5...
|
Committer | Jason Gill |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
View all changes introduced in this branch ↗︎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple comments
@@ -111,6 +113,7 @@ export default async function handler( | |||
// Load the configured consent options (data uses, defaults, etc.) from environment | |||
const environment = await loadPrivacyCenterEnvironment(); | |||
const serverSettings = await loadServerSettings(); | |||
const { version } = npmPackage; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To suggest a bit of scope creep - this is technically the privacy-center
version (not fides-js
). We could also expose the privacy-center
version through a simple /health
API route as well, which would be helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point and suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, got this working at http://localhost:3001/api/health
daf5fb3
to
611f4c2
Compare
Closes #HJ-30
Description Of Changes
window.Fides
object/api/health
endpoint to the Privacy Center with FidesJS and Privacy Center versions as response, similar to other../health
endpoints.Steps to Confirm
turbo version -- 2.48.1
from the/clients
directoryFides.version
from the console log2.48.1
is returnedhttp://localhost:3001/api/health
and notice that2.48.1
is returnedPre-Merge Checklist
CHANGELOG.md