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

Prebid upgrade v2.10.0 #728

Merged
merged 263 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
263 commits
Select commit Hold shift + click to select a range
aff482f
Remove Adapter: Define Media (#3132)
SyntaxNode Sep 26, 2023
10d854c
Remove Adapter: Kubient (#3133)
SyntaxNode Sep 26, 2023
03779e3
Remove Adapter: NinthDecimal (#3142)
SyntaxNode Sep 26, 2023
e3cf3c3
Remove Adapter: Yeahmobi (#3143)
SyntaxNode Sep 26, 2023
f2230c8
Remove Adapter: engageBDR (#3131)
SyntaxNode Sep 26, 2023
0d96c9d
Remove Adapter: Nano Interactive (#3134)
SyntaxNode Sep 26, 2023
efdda05
Remove Config Backwards Compatibility: File System Stored Requests (#…
bsardo Sep 27, 2023
0c8f79b
Remove Config Backwards Compatibility: Enable Events (#3135)
bsardo Sep 27, 2023
fc36944
Remove Config Backwards Compatibility: Enable GZIP (#3125)
bsardo Sep 27, 2023
f879f63
Remove Config Backwards Compatibility: DB Connection Info (#3146)
bsardo Sep 28, 2023
0d488ee
ImproveDigital: updates (#3077)
ishihanvcs Sep 29, 2023
6a36178
[ORBIDDER] add user sync redirect url (#3118)
arneschulz1984 Sep 29, 2023
4ad946b
Adnuntius: Add Price Type (#3084)
mikael-lundin Sep 29, 2023
9e14c09
Rubicon: Remove eids logic (#3111)
SerhiiNahornyi Sep 29, 2023
061aa84
Adapter alias - syncer changes (#3082)
onkarvhanumante Sep 29, 2023
1a5f12c
Remove Config Backwards Compatibility: Host GDPR Options (#3153)
bsardo Sep 29, 2023
5cc92ae
Remove Config Backwards Compatibility: Account GDPR Purpose (#3154)
bsardo Sep 29, 2023
1360786
Remove Deprecated Config: Account Blacklist (#3156)
SyntaxNode Oct 2, 2023
a2e387f
Remove Config Backwards Compatibility: Account GDPR/CCPA Integration …
bsardo Oct 3, 2023
781dc7b
Remove Config Backwards Compatibility: User Sync URL (#3163)
SyntaxNode Oct 4, 2023
134e9aa
Analytics activities (#3024)
VeronikaSolovei9 Oct 4, 2023
324a973
update lunamedia contact info (#3137)
bretg Oct 5, 2023
8cdfe48
enable adapter alias feature (#3179)
gargcreation1992 Oct 5, 2023
23bc394
New Adapter: smartx (#3109)
fkoch-sc Oct 9, 2023
1944dbb
Adapter Name Case Insensitive: EID Permissions (#3187)
SyntaxNode Oct 9, 2023
e76b4b3
OneTag: ORTB 2.6 initial support (#3128)
EmanueleSimonelli Oct 10, 2023
c8f3b2d
Adapter Name Case Insensitive: SetUID Endpoint (#3186)
SyntaxNode Oct 10, 2023
81c78ff
pubmatic: add fledge support (#3174)
pm-nilesh-chate Oct 11, 2023
3c7d852
New Adapter: Edge226 (#3105)
Edge226Ads Oct 16, 2023
6f4bb59
New Adapter: Teads (#3112)
github-maxime-liege Oct 16, 2023
dff9b3b
Updated User Sync Support and GPP Support Flag (#3181)
vrtcal-dev Oct 16, 2023
987e640
make event endpoint case insensitive (#3199)
gargcreation1992 Oct 16, 2023
05e06bb
New Adapter: LemmaDigital (#3157)
lm-ved Oct 16, 2023
2dbf671
minduration non-required (#3185)
ikagotso Oct 16, 2023
c45ab81
add supportCORS to orbidder user sync config (#3193)
arneschulz1984 Oct 16, 2023
9d216fb
Adapter Name Case Insensitive: /vtrack endpoint (#3196)
onkarvhanumante Oct 16, 2023
5b44d36
Prometheus metrics: bidder name should be in lowercase (#3198)
onkarvhanumante Oct 16, 2023
6c6aa9a
InfluxDB metrics : bidder name should be in lowercase (#3209)
onkarvhanumante Oct 16, 2023
eea6ffe
migrate adform alias to use new pattern (#3180)
gargcreation1992 Oct 17, 2023
293cadc
migrate copper alias to use new pattern (#3182)
gargcreation1992 Oct 17, 2023
1384564
update cookie sync endpoint to be case insensitive (#3103)
gargcreation1992 Oct 17, 2023
b3e5d1d
Adapter Name Case Insensitive: user.ext.prebid.buyeruids (#3152)
Sonali-More-Xandr Oct 17, 2023
f152b0d
Adapter Name Case Insensitive: Bid Adjustment Factors (#3210)
AlexBVolcy Oct 17, 2023
17109ca
Welcome Back: yeahmobi (#3228)
SyntaxNode Oct 18, 2023
11ef54d
Adapter Name Case Insensitive: First Party Data (#3211)
SyntaxNode Oct 18, 2023
bde7bcf
Adapter Name Case Insensitive: ext.prebid.multibid (#3217)
guscarreon Oct 18, 2023
f4425b6
migrate janet alias to use new pattern (#3189)
gargcreation1992 Oct 18, 2023
83c7946
migrate janet alias to use new pattern (#3190)
gargcreation1992 Oct 18, 2023
32ddaca
migrate streamkey alias to use new pattern (#3191)
gargcreation1992 Oct 18, 2023
9bfe196
migrate viewdeos alias to use new pattern (#3192)
gargcreation1992 Oct 18, 2023
91881fe
migrate limelight aliases to follow new pattern (#3183)
onkarvhanumante Oct 18, 2023
ac7a0d4
migrate apacdex aliases to use new pattern (#3184)
onkarvhanumante Oct 18, 2023
bc77035
Update release workflow to support major version release (#3235)
onkarvhanumante Oct 18, 2023
8131a14
New Adapter: IQX (#3164)
IQzoneIT Oct 19, 2023
e8d93cc
HuaweiAds: Fixing the fill rate issue (#3219)
ahmetfaruk59 Oct 19, 2023
34ddf1a
DXKulture adapter (#3176)
bev-devops Oct 19, 2023
6f630fd
JSON Serialization: Change Libraries (#3225)
bsardo Oct 19, 2023
cd03a0f
Restore Alias User Syncs (#3244)
SyntaxNode Oct 19, 2023
50ad642
Revert "Remove Adapter: Define Media" (#3242)
dennisjay Oct 19, 2023
53e0adc
Adapter Name Case Insensitive: Stored Bid Responses (#3197)
VeronikaSolovei9 Oct 20, 2023
6b98a81
Adapter Name Case Insensitive: alternate bidder codes (#3229)
guscarreon Oct 20, 2023
ec729e6
Increment Package Version To V2 (#3245)
SyntaxNode Oct 20, 2023
2540dd8
RTBHouse: native support (#3212)
piotrj-rtbh Oct 30, 2023
8e9f3f3
Rubicon: Add `imp[].ext.rp.rtb.formats` logic (#3255)
SerhiiNahornyi Oct 30, 2023
3834c22
Revert "Rubicon: Add `imp[].ext.rp.rtb.formats` logic (#3255)" (#3268)
Sonali-More-Xandr Oct 30, 2023
72463be
Revert "RTBHouse: native support (#3212)" (#3271)
bsardo Oct 30, 2023
b200357
Increment to V2 in Dockerfile and Makefile (#3272)
guscarreon Oct 31, 2023
5941d46
Fix: BidderInfo OpenRTB field data lost on start up (#3178)
ashishshinde-pubm Nov 13, 2023
9099264
Fix for null string unmarshal error (#3284)
VeronikaSolovei9 Nov 13, 2023
f52dbb1
Fix: use bidder info fs config as base when merging overrides (#3289)
bsardo Nov 14, 2023
180eb41
Fix: Revert JSON lib used to prepare /bidders/params response (#3300)
bsardo Nov 15, 2023
ea04a39
Bump golang.org/x/net from 0.7.0 to 0.17.0 (#3202)
dependabot[bot] Nov 16, 2023
ee0869d
Bump google.golang.org/grpc from 1.53.0 to 1.56.3 (#3258)
dependabot[bot] Nov 16, 2023
fb94284
Floors: Dynamic fetch (#2732)
pm-nikhil-vaidya Nov 16, 2023
f9f5546
Modularity: Make request wrapper accessible in bidder request hook (#…
VeronikaSolovei9 Nov 16, 2023
b904b53
fix: pass through bid.prebid.meta, currently it is being dropped (#3100)
ccorbo Nov 16, 2023
905436f
Add debug flag to cookie sync endpoint (#3107)
AlexBVolcy Nov 16, 2023
6a20c0e
Privacy scrubber refactoring (#3108)
VeronikaSolovei9 Nov 16, 2023
79d2f27
Zeta Global SSP: Update endpoints (#3201)
abermanov-zeta Nov 16, 2023
832fbf2
PubMatic: Support hardcoded alias (#3224)
pm-nilesh-chate Nov 16, 2023
9693797
GumGum: Add product parameter (#3253)
gg-natalia Nov 16, 2023
738884f
Migrate yahooAdvertising alias of yahooAds to use new pattern (#3203)
Sonali-More-Xandr Nov 17, 2023
21ee27b
Migrate synacormedia alias of imds to use new pattern (#3205)
Sonali-More-Xandr Nov 17, 2023
7e06aae
Migrate epsilon alias of conversant to use new pattern (#3207)
Sonali-More-Xandr Nov 17, 2023
f5f1e07
BMTM: app support (#3280)
Nov 17, 2023
515b937
HuaweiAds: Increase fill rate for native ads (#3279)
ahmetfaruk59 Nov 20, 2023
cad9097
Flipp: abide by privacy concerns when using flippExt userKey (#3250)
hasan-kanjee Nov 20, 2023
01f3320
New Adapter: oms (#3264)
m6yf Nov 20, 2023
94d8682
adquery: added device ip and ua to bidder request (#1) (#3288)
wgalecki Nov 20, 2023
ea01ccf
update contact email address (#3298)
Vungle-GordonTian Nov 20, 2023
1e89053
Change endpoint for Teads adapter (#3303)
github-maxime-liege Nov 20, 2023
06e1145
New Adapter: Alkimi (#3247)
kalidas-alkimi Nov 20, 2023
e5c920a
Pass currency converter to modules (#3278)
pm-nilesh-chate Nov 20, 2023
6869211
Adapter Name Case Insensitive: dealTier (#3218)
guscarreon Nov 20, 2023
8419142
bliink: iframe added to usersync (#3243)
LouisBillaut Nov 23, 2023
54039e9
Add indicue adapter (#3291)
GeneGenie Nov 23, 2023
6f5b03e
Huaweiads: Remove empty image assets from response (#3308)
ahmetfaruk59 Nov 23, 2023
4cc2faa
IX: add privacy sandbox support (#3252)
ccorbo Nov 23, 2023
eb79f41
Migrate yahoossp alias of yahooAds to use new pattern (#3208)
Sonali-More-Xandr Nov 27, 2023
7558fde
Migrate trustx alias of grid to use new pattern (#3206)
Sonali-More-Xandr Nov 27, 2023
fb5e849
Migrate freewheelsspold alias of frewheelssp to use new pattern (#3204)
Sonali-More-Xandr Nov 27, 2023
9cf8acc
Fix: flakey deal tier test (#3322)
bsardo Nov 27, 2023
020a7dd
Fix: refactor flakey category dedupe test (#3310)
bsardo Nov 27, 2023
df072ff
Allow bidders to skip sync for GDPR/GPP (#3265)
AlexBVolcy Nov 27, 2023
d82c997
Boldwin: add user sync url (#3316)
Wls-demo Nov 28, 2023
b7d474f
Fix: Adhese handle 200 response with empty array body (#3323)
bsardo Nov 28, 2023
a6dea2f
Yieldmo: Get bid type from bid.ext.mediatype in bid response (#3295)
ym-prasanth Nov 30, 2023
e2da446
Fix: setuid endpoint sets cookie when both GDPR and GPP are set (#3165)
ashishshinde-pubm Dec 1, 2023
4de96b2
Fix: single bid processing from alternatebiddercode (#3313)
ashishshinde-pubm Dec 4, 2023
1fe320f
HuaweiAds: add popular sizes for video native (#3324)
ahmetfaruk59 Dec 5, 2023
c7f3e22
Add Embi media adapter (#3325)
apykhteyev Dec 5, 2023
db74611
RTBHouse: native support (renewal) (#3328)
piotrj-rtbh Dec 5, 2023
005a2d1
New Adapter: Relevant Digital (#3216)
hugolm84 Dec 5, 2023
3f42b89
Liftoff: Add site support and fill seat (#3327)
Vungle-GordonTian Dec 5, 2023
8128b24
Add Flag for Host to Enabled/Disable Bidder from Usersync (#3285)
AlexBVolcy Dec 5, 2023
9644543
seedingAlliance: make suntContent alias, add finative alias and add s…
sag-henmus Dec 7, 2023
ec873dc
Modules activities (#3057)
VeronikaSolovei9 Dec 11, 2023
869a3e5
Add Magnite Alias for Rubicon Bidder (#3354)
AntoxaAntoxic Dec 18, 2023
91a495f
Rubicon adapter: enable endpoint compression (#3346)
bretg Dec 18, 2023
b0daa14
Stroeercore: Support video (#3314)
juanmartinengo Dec 18, 2023
37f0f46
DXKulture: Change domain (#3345)
bev-devops Dec 19, 2023
0c444d0
Rise allows vast modification (#3369)
bretg Dec 20, 2023
c773b0f
Nextmillennium: add extra_info support (#3351)
JacobKlein26 Dec 21, 2023
71f2030
Consumable: App video and audio support (#3338)
SuprPhatAnon Dec 27, 2023
2e7f73a
Fix: increase tmax in flakey modularity test (#3370)
bsardo Jan 3, 2024
bd483bb
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#3361)
dependabot[bot] Jan 3, 2024
98b0f34
smartyads: added vendor id to spec (#3383)
orlov-e Jan 4, 2024
0f89ed6
New Adapter: SovrnXSP (#3312)
svamiftah Jan 4, 2024
c49e8ea
Bidder geo scope in-line documentation (#3311)
bretg Jan 8, 2024
f347436
Change email support for Teads adapter (#3386)
github-maxime-liege Jan 11, 2024
967b882
Update contact info for iqx (#3365)
bretg Jan 11, 2024
03314e1
Update contact info for iqzone (#3360)
bretg Jan 11, 2024
3789cf9
Allow Bidder to Override Callback Type in /setuid (#3301)
AlexBVolcy Jan 12, 2024
27b2ff6
Added TransmitPreciseGeo activity handling in modules (#3348)
VeronikaSolovei9 Jan 16, 2024
fda9f06
Readme Update (#3246)
SyntaxNode Jan 17, 2024
6195581
Bizzclick: adapter update, add new host param (#3347)
BizzClick Jan 18, 2024
7b36ec6
Alkimi: Added User sync URL (#3407)
kalidas-alkimi Jan 18, 2024
c09ad1a
Unsecure endpoint (#3398)
ckbo3hrk Jan 18, 2024
b806a53
New Adapter: zMaticoo (#3349)
lxj15398019970 Jan 22, 2024
18aa538
Adkernel: Add multiformat imp splitting (#3390)
ckbo3hrk Jan 22, 2024
daebdcc
New adapter: MinuteMedia (#3399)
zkosanovic Jan 22, 2024
2ae62cf
Fix: Enable deals for soft aliases (#3391)
Pubmatic-Supriya-Patil Jan 22, 2024
ae291f9
AIDEM: Added use to macros library (#3403)
Wazabit Jan 23, 2024
bff383b
Kargo: Update bidder-info (#3404)
jsadwith Jan 23, 2024
896c165
Update ReadMe with docker build platform option (#3412)
SyntaxNode Jan 23, 2024
eb060ac
yahooAds: Update maintainer email address (#3410)
aishwaryapatil Jan 23, 2024
446667b
Alkimi: Update user sync URL from dev to prod (#3414)
kalidas-alkimi Jan 23, 2024
ed5e887
Remove MarshalJSON on BidderName (#3394)
linux019 Jan 23, 2024
498955b
Fix race condition in modularity test (#3421)
VeronikaSolovei9 Jan 23, 2024
1ac3fbe
RTBHouse: app support (#3422)
piotrj-rtbh Jan 25, 2024
106f22d
Yandex: add adapter (#3419)
chernodub Jan 25, 2024
8bd778c
Use TransmitUserFPD and TransmitPreciseGeo activities in analytics (#…
VeronikaSolovei9 Jan 25, 2024
73b895e
Skip coverage tests if more than two adapters were modified (#3423)
onkarvhanumante Jan 25, 2024
0c28657
Optimize GZIP Compression (#3411)
AlexBVolcy Jan 25, 2024
7087581
Floors: Add FetchRate to select source of floors from request or dyna…
pm-jaydeep-mohite Jan 29, 2024
dd07431
Update to OpenRTB 2.6-202309 (#3387)
SyntaxNode Jan 29, 2024
728bc13
Fix OpenRTB 202309 Merge Conflict (#3434)
SyntaxNode Jan 29, 2024
dcc2c37
Add $0 Bid Price Warning only if in Debug Mode (#3397)
AlexBVolcy Jan 29, 2024
723d2d0
New adapter: Adelement (#3420)
radadiapg Jan 30, 2024
ab87692
Nextmillennium: add video support & fix server object (#3417)
allar15 Jan 30, 2024
3404652
Fix: Update Adelement OpenRTB lib to v20 (#3436)
bsardo Jan 30, 2024
929ba61
Update Go-GPP Library (#3425)
SyntaxNode Jan 30, 2024
48e5e4d
Capture SeatNonBids for rejected creatives due to insecurity and inva…
ashishshinde-pubm Feb 1, 2024
3e5918d
Boldwin: get bid type from bid.mtype (#3433)
Wls-demo Feb 5, 2024
86bddad
AdView: support multi imps request & formattype tag for bid response …
AdviewOpen Feb 6, 2024
535d1f7
Adprime: Add mtype (#3439)
Adprime Feb 7, 2024
9693132
Add gpp support for user sync (#3442)
ym-prasanth Feb 8, 2024
cb3fd3c
Update code coverage workflow to use node 20 actions (#3470)
onkarvhanumante Feb 12, 2024
2848f6b
ImproveDigital: Bad-Input Error (#3469)
ishihanvcs Feb 13, 2024
61a0fac
Update validate pull request workflows to use node 20 actions (#3474)
onkarvhanumante Feb 13, 2024
2da77b0
Update issue tracking workflow to use actions with node version 20 su…
onkarvhanumante Feb 13, 2024
27c99f9
Medianet: enable gzip and update usersync url (#3489)
rajatgoyal2510 Feb 13, 2024
8826556
Update code semgrep workflow to use actions with node 20 support (#3471)
onkarvhanumante Feb 14, 2024
97021b4
Update release workflow to use actions with node 20 support (#3478)
onkarvhanumante Feb 14, 2024
b3c7587
Kargo Bidder-Info: Adding GPP macros (#3490)
jsadwith Feb 14, 2024
9110a6a
Update trivy check workflow to use node 20 actions (#3472)
onkarvhanumante Feb 14, 2024
2b10083
Fix function godoc comment (#3502)
dmitris Feb 14, 2024
e37154b
Yieldlab: Add Digital Service Act (DSA) handling (#3473)
Mufas61 Feb 14, 2024
902d262
Add log lines in release workflow (#3504)
onkarvhanumante Feb 15, 2024
c35f67b
Fix: Release workflow permissions (#3506)
onkarvhanumante Feb 15, 2024
34cfa94
Remove extra buffer from GZIP compression (#3494)
AlexBVolcy Feb 15, 2024
cff2fe1
Targeting: Add alwaysincludedeals flag (#3454)
AlexBVolcy Feb 16, 2024
8e5a785
New adapter: BoldwinX (#3430)
bold-win Feb 19, 2024
a4f5c11
Fix go vet composite literals with unkeyed fields (#3507)
dmitris Feb 20, 2024
a06a2eb
DSA: Remove bids missing DSA object when required (#3487)
bsardo Feb 20, 2024
21bf611
Fix go vet 'composite literals with unkeyed fields' (#3522)
dmitris Feb 21, 2024
18e9b50
feat: add dsa test [PB-2423] (#3510)
ccorbo Feb 21, 2024
5900d36
DSA: Use seat nonbid code 300 (#3531)
bsardo Feb 22, 2024
33b466e
Stroeercore: support DSA (#3495)
philipwatson Feb 22, 2024
5778335
Update BMTM maintainer address (#3483)
bretg Feb 22, 2024
5ae5e05
adf regional endpoints (#3503)
bretg Feb 22, 2024
24a23d3
Rise: Add GPP macros (#3496)
zkosanovic Feb 22, 2024
c9131ab
Add formatcheck Make target (#3480)
dmitris Feb 22, 2024
b945d09
SeedingAlliance: Deprecate seatId in favor of accountId (#3486)
sag-henmus Feb 23, 2024
1d96d89
MinuteMedia: Add GPP macros (#3497)
zkosanovic Feb 23, 2024
14fcbb7
Update prebid.org url to https (#3529)
maditya Feb 23, 2024
17b7082
Taboola: Fix gpp query param (#3515)
ahmadlob Feb 26, 2024
030da80
Fix: Pubstack memory leak (#3541)
AvinashKapre Feb 27, 2024
d13dfc5
DSA: Bid response adrender, behalf & paid validations (#3523)
bsardo Feb 27, 2024
11decc2
Fix modules template and builder (#3534)
linux019 Feb 27, 2024
9f8a9c4
Reformat structures to use key names (#3524)
dmitris Feb 27, 2024
fd92015
Criteo: add GPP macros (#3544)
dzhang-criteo Feb 28, 2024
e8267b8
Use Json compacter in the bidders/params endpoint (#3395)
guscarreon Feb 28, 2024
7db3d9f
TheMediaGrid: Add GPP macros (#3545)
dzhang-criteo Feb 29, 2024
4fb7be0
Rubicon: Remove api validation (#3493)
SerhiiNahornyi Mar 1, 2024
ecdff68
Medianet: Upgrades to OpenRTB 2.6 (#3548)
amanpatniajmer Mar 4, 2024
82caa37
Send site ext as key values to allow targeting and pick the first eid…
mikael-lundin Mar 4, 2024
93137cd
Convert GDPR bidder name types to string to accommodate analytics (#3…
bsardo Mar 4, 2024
0b5d04e
do normal 'go vet' as it works now (#3550)
dmitris Mar 4, 2024
05a1293
Generate Bid ID Test Hardening (#3491)
SyntaxNode Mar 5, 2024
4b1ca6b
Privacy Sandbox: support testing label header (#3381)
pm-nilesh-chate Mar 5, 2024
88fcd9c
Merge branch 'master' into prebid_v2.0.0-1
Pubmatic-Supriya-Patil Mar 6, 2024
0bcb1d6
Merge branch 'prebid_v2.0.0-1'
Pubmatic-Supriya-Patil Mar 6, 2024
20db120
Merge branch 'master' into prebid_v2.0.1-1
Pubmatic-Supriya-Patil Mar 6, 2024
689ac4b
Merge branch 'master' into prebid_v2.0.2-1
Pubmatic-Supriya-Patil Mar 6, 2024
72bbaaf
Merge branch 'master' into prebid_v2.1.0-1
Pubmatic-Supriya-Patil Mar 7, 2024
60c1e22
Merge master into prebid_v2.2.0
Pubmatic-Supriya-Patil Mar 8, 2024
7a2787a
Merge branch 'prebid_v2.2.0-1'
Pubmatic-Supriya-Patil Mar 9, 2024
ae478d2
Merge branch 'master' into prebid_v2.4.0-1
Pubmatic-Supriya-Patil Mar 9, 2024
99de001
Merge branch 'master' into prebid_v2.5.0-1
Pubmatic-Supriya-Patil Mar 9, 2024
ea8e06c
Merge branch 'master' into prebid_v2.6.0-1
Pubmatic-Supriya-Patil Mar 9, 2024
396ca94
Merge branch 'master' into prebid_v2.7.0-1
Pubmatic-Supriya-Patil Mar 10, 2024
d3ecd74
Merge branch 'master' into prebid_v2.8.0-1
Pubmatic-Supriya-Patil Mar 10, 2024
36d0610
Merge branch 'master' into prebid_v2.8.0-1
Pubmatic-Supriya-Patil Mar 10, 2024
76064ee
merge master into prebid_v2.9.0
Pubmatic-Supriya-Patil Mar 10, 2024
b5773c2
merge master into prebid_v2.9.0
Pubmatic-Supriya-Patil Mar 11, 2024
ef9763a
it
Pubmatic-Supriya-Patil Mar 11, 2024
dc38eeb
Merge branch 'prebid_v2.7.0-1'
Pubmatic-Supriya-Patil Mar 11, 2024
1337ff4
Merge branch 'master' into prebid_v2.8.0-1
Pubmatic-Supriya-Patil Mar 11, 2024
e86adef
Merge branch 'master' into prebid_v2.9.0-1
Pubmatic-Supriya-Patil Mar 11, 2024
0193bf5
Merge branch 'master' into prebid_v2.10.0-1
Pubmatic-Supriya-Patil Mar 12, 2024
45a67cc
Merge branch 'master' into prebid_v2.10.0-1
Pubmatic-Supriya-Patil Mar 12, 2024
4cb6625
Merge branch 'ci' of https://github.com/PubMatic-OpenWrap/prebid-serv…
Pubmatic-Supriya-Patil Mar 13, 2024
e82b0cd
Fix Issue: Use soft alias as adaptercode
Pubmatic-Supriya-Patil Mar 18, 2024
dea42b4
Fix Issue: Use soft alias as adaptercode
Pubmatic-Supriya-Patil Mar 18, 2024
d3af5d0
Formatting change
Pubmatic-Supriya-Patil Mar 18, 2024
9bf4970
Formatting change
Pubmatic-Supriya-Patil Mar 18, 2024
b400cfa
Merge branch 'prebid_upgrade_v2.10.0' of https://github.com/PubMatic-…
Pubmatic-Supriya-Patil Mar 18, 2024
6328005
Fix: Support Adform as aliase of adf
Pubmatic-Supriya-Patil Mar 19, 2024
f7a507c
Fix: Adapter code is missing in case of seatnonbid
Pubmatic-Supriya-Patil Mar 21, 2024
3fc4f3d
Fix: Adapter code is missing in case of seatnonbid when bid meta is e…
Pubmatic-Supriya-Patil Mar 22, 2024
d5052da
Merge branch 'ci' of https://github.com/PubMatic-OpenWrap/prebid-serv…
Pubmatic-Supriya-Patil Mar 26, 2024
933a5c7
Fix: Support Aliasof for trust, synacormedia and viewdeos
Pubmatic-Supriya-Patil Mar 27, 2024
12d2c9b
Merge branch 'ci' of https://github.com/PubMatic-OpenWrap/prebid-serv…
Pubmatic-Supriya-Patil Apr 1, 2024
c1f48df
OTT-1711: Fix , nextmillennium giving slot not mapped
Pubmatic-Supriya-Patil Apr 2, 2024
784dcdd
Merge branch 'ci' of https://github.com/PubMatic-OpenWrap/prebid-serv…
Pubmatic-Supriya-Patil Apr 4, 2024
2412ca2
Merge branch 'ci' of https://github.com/PubMatic-OpenWrap/prebid-serv…
Pubmatic-Supriya-Patil Apr 8, 2024
e79e219
Merge branch 'ci' of https://github.com/PubMatic-OpenWrap/prebid-serv…
Pubmatic-Supriya-Patil Apr 8, 2024
28251e3
Merge branch 'ci' of https://github.com/PubMatic-OpenWrap/prebid-serv…
Pubmatic-Supriya-Patil Apr 16, 2024
4348978
Updated import path to v2
Pubmatic-Supriya-Patil Apr 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 15 additions & 14 deletions .github/workflows/adapter-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,39 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.20.5

- name: Checkout pull request branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- name: Get adapter directories
id: get_directories
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
const utils = require('./.github/workflows/helpers/pull-request-utils.js')
function directoryExtractor(filepath) {
// extract directory name from filepath of the form adapters/<adapter-name>/*.go
if (filepath.startsWith("adapters/") && filepath.split("/").length > 2) {
function directoryExtractor(filepath, status) {
// extract directory name only if file is not removed and file is in adapters directory
if (status != "removed" && filepath.startsWith("adapters/") && filepath.split("/").length > 2) {
return filepath.split("/")[1]
}
return ""
}
const helper = utils.diffHelper({github, context})
const files = await helper.getDirectories(directoryExtractor)
return files.length == 0 ? "" : JSON.stringify(files);
const directories = await helper.getDirectories(directoryExtractor)
// run coverage for maximum of 2 directories
return (directories.length == 0 || directories.length > 2) ? "" : JSON.stringify(directories)

- name: Run coverage tests
id: run_coverage
if: ${{ steps.get_directories.outputs.result }} != ""
if: steps.get_directories.outputs.result != ''
run: |
git config --global url."https://${USERNAME}:${TOKEN}@git.pubmatic.com".insteadOf "https://git.pubmatic.com"

Expand Down Expand Up @@ -74,14 +75,14 @@ jobs:
USERNAME: ${{ secrets.PM_OPENWRAP_CICD_USERNAME }}

- name: Checkout coverage-preview branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: coverage-preview
repository: PubMatic-OpenWrap/prebid-server

- name: Commit coverage files to coverage-preview branch
if: ${{ steps.run_coverage.outputs.coverage_dir }} != ""
if: steps.run_coverage.outputs.coverage_dir != ''
id: commit_coverage
run: |
directory=.github/preview/${{ github.run_id }}_$(date +%s)
Expand All @@ -95,12 +96,12 @@ jobs:
echo "remote_coverage_preview_dir=${directory}" >> $GITHUB_OUTPUT

- name: Checkout master branch
if: ${{ steps.get_directories.outputs.result }} != ""
if: steps.get_directories.outputs.result != ''
run: git checkout master

- name: Add coverage summary to pull request
if: ${{ steps.run_coverage.outputs.coverage_dir }} != "" && ${{ steps.commit_coverage.outputs.remote_coverage_preview_dir }} != ""
uses: actions/github-script@v6
if: steps.run_coverage.outputs.coverage_dir != '' && steps.commit_coverage.outputs.remote_coverage_preview_dir != ''
uses: actions/github-script@v7
with:
script: |
const utils = require('./.github/workflows/helpers/pull-request-utils.js')
Expand Down
31 changes: 28 additions & 3 deletions .github/workflows/helpers/pull-request-utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
const synchronizeEvent = "synchronize",
openedEvent = "opened",
completedStatus = "completed",
resultSize = 100
resultSize = 100,
adminPermission = "admin",
writePermission = "write"

class diffHelper {
constructor(input) {
Expand Down Expand Up @@ -213,8 +215,8 @@ class diffHelper {
})

const directories = []
for (const { filename } of data) {
const directory = directoryExtractor(filename)
for (const { filename, status } of data) {
const directory = directoryExtractor(filename, status)
if (directory != "" && !directories.includes(directory)) {
directories.push(directory)
}
Expand Down Expand Up @@ -407,8 +409,31 @@ class coverageHelper {
}
}

class userHelper {
constructor(input) {
this.owner = input.context.repo.owner
this.repo = input.context.repo.repo
this.github = input.github
this.user = input.user
}

/*
Checks if the user has write permissions for the repository
@returns {boolean} - returns true if the user has write permissions, otherwise false
*/
async hasWritePermissions() {
const { data } = await this.github.rest.repos.getCollaboratorPermissionLevel({
owner: this.owner,
repo: this.repo,
username: this.user,
})
return data.permission === writePermission || data.permission === adminPermission
}
}

module.exports = {
diffHelper: (input) => new diffHelper(input),
semgrepHelper: (input) => new semgrepHelper(input),
coverageHelper: (input) => new coverageHelper(input),
userHelper: (input) => new userHelper(input),
}
2 changes: 1 addition & 1 deletion .github/workflows/issue_prioritization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@36464acb844fc53b9b8b2401da68844f6b05ebb0
uses: tibdex/github-app-token@v2.1.0
with:
app_id: ${{ secrets.PBS_PROJECT_APP_ID }}
private_key: ${{ secrets.PBS_PROJECT_APP_PEM }}
Expand Down
43 changes: 31 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ on:
releaseType:
type: choice
options:
- major
- minor
- patch
default: minor
required: true
description: 'minor: v0.X.0, patch: v0.0.X'
description: 'major: vX.0.0, minor: v0.X.0, patch: v0.0.X'
debug:
type: boolean
default: true
Expand All @@ -24,13 +25,25 @@ jobs:
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: ${{ github.repository }}
ref: master
- name: Check user permission
uses: actions-cool/[email protected]
uses: actions/github-script@v7
id: check
with:
require: 'write'
github-token: ${{ secrets.GITHUB_TOKEN }}
result-encoding: string
script: |
const utils = require('./.github/workflows/helpers/pull-request-utils.js')
const helper = utils.userHelper({github, context, user: '${{ github.actor }}'})
const hasPermission = await helper.hasWritePermissions()
return hasPermission
outputs:
hasWritePermission: ${{ steps.check.outputs.require-result }}
hasWritePermission: ${{ steps.check.outputs.result }}

build-master:
name: Build master
Expand All @@ -39,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: ${{ github.repository }}
Expand All @@ -51,13 +64,12 @@ jobs:
publish-tag:
name: Publish tag
needs: build-master
if: contains(needs.check-permission.outputs.hasWritePermission, 'true')
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout Prebid Server
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create & publish tag
Expand All @@ -78,11 +90,18 @@ jobs:

nextTag=''
releaseType=${{ inputs.releaseType }}
if [ $releaseType == "minor" ]; then
# increment minor version and reset patch version
nextTag=$(echo "${currentTag}" | awk -F. '{OFS="."; $2+=1; $3=0; print $0}')
if [ $releaseType == "major" ]; then
# PBS-GO skipped the v1.0.0 major release - https://github.com/prebid/prebid-server/issues/3068
# If the current tag is v0.x.x, the script sets the next release tag to v2.0.0
# Otherwise, the script increments the major version by 1 and sets the minor and patch versions to zero
# For example, v2.x.x will be incremented to v3.0.0
major=$(echo "${currentTag}" | awk -F. '{gsub(/^v/, "", $1); if($1 == 0) $1=2; else $1+=1; print $1}')
nextTag="v${major}.0.0"
elif [ $releaseType == "minor" ]; then
# Increment minor version and reset patch version
nextTag=$(echo "${currentTag}" | awk -F. '{OFS="."; $2+=1; $3=0; print $0}')
else
# increment patch version
# Increment patch version
nextTag=$(echo "${currentTag}" | awk -F. '{OFS="."; $3+=1; print $0}')
fi

Expand All @@ -103,7 +122,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Prebid Server
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build image
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Resolves to empty string for push events and falls back to HEAD.
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -29,6 +29,6 @@ jobs:
severity: 'CRITICAL,HIGH'

- name: Upload Results To GitHub Security Tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
6 changes: 3 additions & 3 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- name: Calculate diff
id: calculate_diff
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Add pull request comment
id: add_pull_request_comment
if: contains(steps.should_run_semgrep.outputs.hasChanges, 'true')
uses: actions/github-script@v6.4.1
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
result-encoding: string
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

steps:
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.20.5

- name: Checkout Merged Branch
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Validate
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:

steps:
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Resolves to empty string for push events and falls back to HEAD.
ref: ${{ github.event.pull_request.head.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ vendor

# build artifacts
prebid-server
build
debug
/build
/debug
__debug_bin

# config files
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN go mod tidy
RUN go mod vendor
ARG TEST="true"
RUN if [ "$TEST" != "false" ]; then ./validate.sh ; fi
RUN go build -mod=vendor -ldflags "-X github.com/prebid/prebid-server/version.Ver=`git describe --tags | sed 's/^v//'` -X github.com/prebid/prebid-server/version.Rev=`git rev-parse HEAD`" .
RUN go build -mod=vendor -ldflags "-X github.com/prebid/prebid-server/v2/version.Ver=`git describe --tags | sed 's/^v//'` -X github.com/prebid/prebid-server/v2/version.Rev=`git rev-parse HEAD`" .

FROM ubuntu:20.04 AS release
LABEL maintainer="[email protected]"
Expand Down
16 changes: 10 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test: deps
ifeq "$(adapter)" ""
./validate.sh
else
go test github.com/prebid/prebid-server/adapters/$(adapter) -bench=.
go test github.com/prebid/prebid-server/v2/adapters/$(adapter) -bench=.
endif

# build-modules generates modules/builder.go file which provides a list of all available modules
Expand All @@ -33,6 +33,10 @@ image:
# format runs format
format:
./scripts/format.sh -f true

# formatcheck runs format for diagnostics, without modifying the code
formatcheck:
./scripts/format.sh -f false

mockgen: mockgeninstall mockgendb mockgencache mockgenmetrics

Expand All @@ -43,20 +47,20 @@ mockgeninstall:
mockgendb:
mkdir -p modules/pubmatic/openwrap/database/mock modules/pubmatic/openwrap/database/mock_driver
mockgen database/sql/driver Driver,Connector,Conn,DriverContext > modules/pubmatic/openwrap/database/mock_driver/mock.go
mockgen github.com/PubMatic-OpenWrap/prebid-server/modules/pubmatic/openwrap/database Database > modules/pubmatic/openwrap/database/mock/mock.go
mockgen github.com/PubMatic-OpenWrap/prebid-server/v2/modules/pubmatic/openwrap/database Database > modules/pubmatic/openwrap/database/mock/mock.go

mockgencache:
mkdir -p modules/pubmatic/openwrap/cache/mock
mockgen github.com/PubMatic-OpenWrap/prebid-server/modules/pubmatic/openwrap/cache Cache > modules/pubmatic/openwrap/cache/mock/mock.go
mockgen github.com/PubMatic-OpenWrap/prebid-server/v2/modules/pubmatic/openwrap/cache Cache > modules/pubmatic/openwrap/cache/mock/mock.go

mockgenmetrics:
mkdir -p modules/pubmatic/openwrap/metrics/mock
mockgen github.com/PubMatic-OpenWrap/prebid-server/modules/pubmatic/openwrap/metrics MetricsEngine > modules/pubmatic/openwrap/metrics/mock/mock.go
mockgen github.com/PubMatic-OpenWrap/prebid-server/v2/modules/pubmatic/openwrap/metrics MetricsEngine > modules/pubmatic/openwrap/metrics/mock/mock.go

mockgenlogger:
mkdir -p analytics/pubmatic/mhttp/mock
mockgen github.com/PubMatic-OpenWrap/prebid-server/analytics/pubmatic/mhttp HttpCallInterface,MultiHttpContextInterface > analytics/pubmatic/mhttp/mock/mock.go
mockgen github.com/PubMatic-OpenWrap/prebid-server/v2/analytics/pubmatic/mhttp HttpCallInterface,MultiHttpContextInterface > analytics/pubmatic/mhttp/mock/mock.go

mockgenpublisherfeature:
mkdir -p modules/pubmatic/openwrap/publisherfeature
mockgen github.com/PubMatic-OpenWrap/prebid-server/modules/pubmatic/openwrap/publisherfeature Feature > modules/pubmatic/openwrap/publisherfeature/mock/mock.go
mockgen github.com/PubMatic-OpenWrap/prebid-server/v2/modules/pubmatic/openwrap/publisherfeature Feature > modules/pubmatic/openwrap/publisherfeature/mock/mock.go
Loading
Loading