-
Notifications
You must be signed in to change notification settings - Fork 934
Stephenarosaj/headerz #8749
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
Merged
Merged
Stephenarosaj/headerz #8749
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
cdf7b39
add custom headers to track web frameworks usage
stephenarosaj fb27687
add transport methods to update framework usage flags after transport…
stephenarosaj 6f27cbd
add transport methods to update framework usage flags after transport…
stephenarosaj 40a8c0b
redesign framework/gen flags into CallerSdkType enum
stephenarosaj 5e397d0
update custom headers assignment logic and values; add gen flag funct…
stephenarosaj 1d504bf
unfreeze CallerSdkTypeEnum
stephenarosaj f45b282
add checking of _isUsingGen back to custom headers logic
stephenarosaj b307ae5
add call to _setCallerSdkType() on transport class
stephenarosaj 112a605
add tests for fetch with custom headers based on dcFetch _callerSdkTy…
stephenarosaj 7755617
add changeset for PR
stephenarosaj aa56521
flip header assignment logic to only use js/gen if _callerSdkType not…
stephenarosaj 3339fde
add test for custom header values when _isUsingGen is true
stephenarosaj b77ad49
add firebase minor version bump to changeset
stephenarosaj 2619098
fix formatting issues
stephenarosaj 1e3db01
update changelog
stephenarosaj 08accc6
only call transport's _setCallerSdkType() if DataConnect is initialized
stephenarosaj 784597c
simplify tests
stephenarosaj 9efd040
add comments explaining funky eslint logic
stephenarosaj 595fee3
remove new, useless @internal comments
stephenarosaj 99cced0
convert regex strings to regex literals
stephenarosaj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@firebase/data-connect': minor | ||
'firebase': minor | ||
--- | ||
|
||
Add custom request headers based on the type of SDK (JS/TS, React, Angular, etc) that's invoking Data Connect requests. This will help us understand how users interact with Data Connect when using the Web SDK. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.