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

Resolved conflicts #8

Closed
wants to merge 54 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
436f8d7
Minutemedia Bid Adapter: add new bid adapter (#8056)
noamtzu Mar 3, 2022
887f703
PBS adapter: partial support of sizeMapping (and sizeMappingV2) (#8084)
dgirardi Mar 3, 2022
ecac3be
Kargo Bid Adapter: Removing Salesforce partner support (#8140)
jsadwith Mar 3, 2022
811d692
Prebid 6.14.0 release
prebidjs-release Mar 3, 2022
6cbe283
Increment version to 6.15.0-pre
prebidjs-release Mar 3, 2022
66ea405
New alias for Aniview prebid adapter (#8125)
itaynave Mar 3, 2022
3fd3b5d
Multiple adapters and modules: replace core-js polyfills with simpler…
dgirardi Mar 4, 2022
eb29886
GMOSSP Bid Adapte:Add user module, meta_url. (#8128)
matsumoto-kouichi Mar 4, 2022
2c3fcdb
Update RELEASE_SCHEDULE.md (#8142)
dgirardi Mar 4, 2022
87a7cb7
Yahoossp Bid Adapter: enable aliasing (#8118)
slimkrazy Mar 4, 2022
9875c33
added GVLId to goldbachBidAdapter (#8147)
dveljovicTX Mar 7, 2022
62e12f6
Gnet Bid Adapter: onBidWon (#8114)
Grumft Mar 7, 2022
bcfaf8e
Restructure data for global window variable. (#8152) (#8153)
mcallari Mar 7, 2022
e2eb950
Video and banner deal id (#8135)
ym-elber Mar 8, 2022
72895a3
Adrino Bid Adapter: add new native bid adapter (#8014)
tmielcarz Mar 8, 2022
3c7b3cd
Revert "Adrino Bid Adapter: add new native bid adapter (#8014)" (#8155)
ChrisHuie Mar 8, 2022
0264e38
Prebid core: add support for asynchronous access to consent data (#8071)
dgirardi Mar 8, 2022
e61fc2b
Adrino bid adapter: do not use core-js polyfills (#8156)
dgirardi Mar 9, 2022
65e0725
Bump url-parse from 1.5.1 to 1.5.9 (#8131)
dependabot[bot] Mar 9, 2022
4e0bd23
Adloox Analytics/RTD: use refererInfo (#8092)
jimdigriz Mar 9, 2022
631c2f4
SmartHub Bid Adapter: initial release (#8064)
SmartHubSolutions Mar 9, 2022
ca333b5
Prebid Server Bid Adapter: add support for all imp parameters (#8159)
ChrisHuie Mar 9, 2022
25f4e4c
cwire Bid Adapter: Add new optional parameters (#8143)
kodi Mar 9, 2022
0624767
Prebid 6.15.0 release
prebidjs-release Mar 9, 2022
f2f6433
Increment version to 6.16.0-pre
prebidjs-release Mar 9, 2022
9c7f9c4
Add issue tracking workflow (#8162)
dgirardi Mar 9, 2022
38446e6
Move issue_tracker.yml to the correct folder
dgirardi Mar 9, 2022
af79c6c
Novatiq ID System: allow configuration of the sync URL & allow callba…
rajsidhunovatiq Mar 10, 2022
aec25c9
Rubicon Bid Adapter: Pass along prebid bidId to exchange (#8169)
robertrmartinez Mar 11, 2022
0d3f875
targetVideo Bid Adapter: Add GVLID (#8170)
grajzer Mar 11, 2022
62da3ac
Yahoo SSP Bid Adapter: remove unnecessary warning (#8174)
ebrandmark2 Mar 11, 2022
74dbc2f
Insticator Bid Adapter: add support schain and eids (#8123)
sderbush-tt Mar 13, 2022
02264c8
Livewrapped adapter: Collect meta data and deal ids (#8176)
bjorn-lw Mar 14, 2022
5471b40
Prebid Core & Browsi RTD provider: Support Vendor Billing with Billab…
omerDotan Mar 14, 2022
9531222
Prebid Core and Several Bid Adapters: fix win notification price bug …
patmmccann Mar 14, 2022
da57e85
Changed first party data (#8180)
ghguo Mar 14, 2022
073ccd3
AdYouLike bidder adapter: update video endpoint (#8166)
guiann Mar 14, 2022
cf6176b
Adagio: getPrintNumber fix (#8184)
osazos Mar 15, 2022
655585c
Rubicon Analytics Adapter: pass along billing events (#8182)
robertrmartinez Mar 15, 2022
59bbd0b
Adprime Bid Adapter: update user sync (#8158)
Adprime Mar 15, 2022
64ee9e7
MediaFuse bid adapter: initial release (#8113)
balajimediafuse Mar 15, 2022
d9b5158
Magnite GVLID used (#8186)
robertrmartinez Mar 16, 2022
c4e0c5f
Prebid core: fix log message when enabling a missing analytics provid…
dgirardi Mar 16, 2022
3ca2ef1
TheMediaGrid & TrustX bid adapters: reformat first party data (#8146)
TheMediaGrid Mar 16, 2022
39776d7
Rubicon Analytics: handle bad auction case (#8192)
robertrmartinez Mar 17, 2022
5c5eac0
Ad Generation Bid Adapter: add NovatiqSystem (#8178)
banakemi Mar 17, 2022
cd684c9
Prebid 6.16.0 release
prebidjs-release Mar 17, 2022
89a6271
Increment version to 6.17.0-pre
prebidjs-release Mar 17, 2022
822a045
Dacid User Id Module: add new id module (#8187)
kyoya-takei Mar 17, 2022
1942c66
Insticator adapter: add support gpid (#8189)
sderbush-tt Mar 17, 2022
3f99fa7
Build system: upgrade webpack (#7935)
dgirardi Mar 17, 2022
9761aaa
Fix imports of `events` in browsiRtdProvider to work with https://git…
dgirardi Mar 18, 2022
6ca0503
Update prebid.js (#8190)
patmmccann Mar 18, 2022
02fdbf9
Merge branch 'master' into resolved-conflicts
faisalvs Mar 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 1 addition & 26 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,26 +1 @@

let path = require('path');

function useLocal(module) {
return require.resolve(module, {
paths: [
__dirname
]
})
}

module.exports = {
"presets": [
[
useLocal('@babel/preset-env'),
{
"useBuiltIns": "entry",
"corejs": "3.13.0"
}
]
],
"plugins": [
path.resolve(__dirname, './plugins/pbjsGlobals.js'),
useLocal('babel-plugin-transform-object-assign')
]
};
module.exports = require('./babelConfig.js')();
89 changes: 89 additions & 0 deletions .github/workflows/issue_tracker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: Issue tracking
on:
issues:
types:
- opened
jobs:
track_issue:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@36464acb844fc53b9b8b2401da68844f6b05ebb0
with:
app_id: ${{ secrets.ISSUE_APP_ID }}
private_key: ${{ secrets.ISSUE_APP_PEM }}

- name: Get project data
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
ORGANIZATION: prebid
DATE_FIELD: Created on
PROJECT_NUMBER: 2
run: |
gh api graphql -f query='
query($org: String!, $number: Int!) {
organization(login: $org){
projectNext(number: $number) {
id
fields(first:100) {
nodes {
id
name
settings
}
}
}
}
}' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json

echo 'PROJECT_ID='$(jq '.data.organization.projectNext.id' project_data.json) >> $GITHUB_ENV
echo 'DATE_FIELD_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "'"$DATE_FIELD"'") | .id' project_data.json) >> $GITHUB_ENV

- name: Add issue to project
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
ISSUE_ID: ${{ github.event.issue.node_id }}
run: |
gh api graphql -f query='
mutation($project:ID!, $issue:ID!) {
addProjectNextItem(input: {projectId: $project, contentId: $issue}) {
projectNextItem {
id,
content {
... on Issue {
createdAt
}
... on PullRequest {
createdAt
}
}
}
}
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID > issue_data.json

echo 'ITEM_ID='$(jq '.data.addProjectNextItem.projectNextItem.id' issue_data.json) >> $GITHUB_ENV
echo 'ITEM_CREATION_DATE='$(jq '.data.addProjectNextItem.projectNextItem.content.createdAt' issue_data.json) >> $GITHUB_ENV

- name: Set fields
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
run: |
gh api graphql -f query='
mutation (
$project: ID!
$item: ID!
$date_field: ID!
$date_value: String!
) {
set_creation_date: updateProjectNextItemField(input: {
projectId: $project
itemId: $item
fieldId: $date_field
value: $date_value
}) {
projectNextItem {
id
}
}
}' -f project=$PROJECT_ID -f item=$ITEM_ID -f date_field=$DATE_FIELD_ID -f date_value=$ITEM_CREATION_DATE --silent
68 changes: 5 additions & 63 deletions RELEASE_SCHEDULE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
- [Release Process](#release-process)
- [1. Make sure that all PRs have been named and labeled properly per the PR Process](#1-make-sure-that-all-prs-have-been-named-and-labeled-properly-per-the-pr-process)
- [2. Make sure all browserstack tests are passing](#2-make-sure-all-browserstack-tests-are-passing)
- [3. Prepare Prebid Code](#3-prepare-prebid-code)
- [4. Verify the Release](#4-verify-the-release)
- [5. Create a GitHub release](#5-create-a-github-release)
- [6. Update coveralls _(skip for legacy)_](#6-update-coveralls-skip-for-legacy)
- [7. Distribute the code](#7-distribute-the-code)
- [8. Increment Version for Next Release](#8-increment-version-for-next-release)
- [3. Start the release](#3-start-the-release)
- [Beta Releases](#beta-releases)
- [FAQs](#faqs)

Expand All @@ -21,12 +16,10 @@ it will be about a week before the Prebid Org [Download Page](http://prebid.org/

You can determine what is in a given build using the [releases page](https://github.com/prebid/Prebid.js/releases)

Announcements regarding releases will be made to the #headerbidding-dev channel in subredditadops.slack.com.
Announcements regarding releases will be made to the #prebid-js channel in prebid.slack.com.

## Release Process

_Note: If `github.com/prebid/Prebid.js` is not configured as the git origin for your repo, all of the following git commands will have to be modified to reference the proper remote (e.g. `upstream`)_

### 1. Make sure that all PRs have been named and labeled properly per the [PR Process](https://github.com/prebid/Prebid.js/blob/master/PR_REVIEW.md#general-pr-review-process)
* Do this by checking the latest draft release from the [releases page](https://github.com/prebid/Prebid.js/releases) and make sure nothing appears in the first section called "In This Release". If they do, please open the PRs and add the appropriate labels.
* Do a quick check that all the titles/descriptions look ok, and if not, adjust the PR title.
Expand Down Expand Up @@ -57,61 +50,10 @@ _Note: If `github.com/prebid/Prebid.js` is not configured as the git origin for
```


### 3. Prepare Prebid Code

Update the package.json version to become the current release. Then commit your changes.

```
git commit -m "Prebid 4.x.x Release"
git push
```

### 4. Verify the Release

Make sure your there are no more merges to master branch. Prebid code is clean and up to date.

### 5. Create a GitHub release

Edit the most recent [release notes](https://github.com/prebid/Prebid.js/releases) draft and make sure the correct version is set and the master branch is selected in the dropdown. Click `Publish release`. GitHub will create release tag.

Pull these changes locally by running command
```
git pull
git fetch --tags
```

and verify the tag.

### 6. Update coveralls _(skip for legacy)_

We use https://coveralls.io/ to show parts of code covered by unit tests.

Set the environment variables. You may want to add these to your `~/.bashrc` for convenience.
```
export COVERALLS_SERVICE_NAME="travis-ci"
export COVERALLS_REPO_TOKEN="talk to Matt Kendall"
```

Run `gulp coveralls` to update code coverage history.

### 7. Distribute the code

_Note: do not go to step 8 until step 7 has been verified completed._

Reach out to any of the Appnexus folks to trigger the jenkins job.

// TODO:
Jenkins job is moving files to appnexus cdn, pushing prebid.js to npm, purging cache and sending notification to slack.
Move all the files from Appnexus CDN to jsDelivr and create bash script to do above tasks.

### 8. Increment Version for Next Release

Update the version by manually editing Prebid's `package.json` to become "4.x.x-pre" (using the values for the next release). Then commit your changes.
```
git commit -m "Increment pre version"
git push
```
### 3. Start the release

Follow the instructions at https://github.com/prebid/prebidjs-releaser. Note that you will need to be a member of the [https://github.com/orgs/prebid/teams/prebidjs-release](prebidjs-release) GitHub team.

## Beta Releases

Prebid.js features may be released as Beta or as Generally Available (GA).
Expand Down
7 changes: 0 additions & 7 deletions allowedModules.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@

const sharedWhiteList = [
'core-js-pure/features/array/find', // no ie11
'core-js-pure/features/array/includes', // no ie11
'core-js-pure/features/set', // ie11 supports Set but not Set#values
'core-js-pure/features/string/includes', // no ie11
'core-js-pure/features/number/is-integer', // no ie11,
'core-js-pure/features/array/from', // no ie11
'core-js-pure/web/url-search-params' // no ie11
];

module.exports = {
Expand Down
30 changes: 30 additions & 0 deletions babelConfig.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

let path = require('path');

function useLocal(module) {
return require.resolve(module, {
paths: [
__dirname
]
})
}

module.exports = function (test = false) {
return {
'presets': [
[
useLocal('@babel/preset-env'),
{
'useBuiltIns': 'entry',
'corejs': '3.13.0',
// a lot of tests use sinon.stub & others that stopped working on ES6 modules with webpack 5
'modules': test ? 'commonjs' : 'auto',
}
]
],
'plugins': [
path.resolve(__dirname, './plugins/pbjsGlobals.js'),
useLocal('babel-plugin-transform-object-assign'),
],
}
}
7 changes: 4 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ var gutil = require('gulp-util');
var connect = require('gulp-connect');
var webpack = require('webpack');
var webpackStream = require('webpack-stream');
var terser = require('gulp-terser');
var gulpClean = require('gulp-clean');
var KarmaServer = require('karma').Server;
var karmaConfMaker = require('./karma.conf.maker.js');
Expand Down Expand Up @@ -117,7 +116,10 @@ viewReview.displayName = 'view-review';

function makeDevpackPkg() {
var cloned = _.cloneDeep(webpackConfig);
cloned.devtool = 'source-map';
Object.assign(cloned, {
devtool: 'source-map',
mode: 'development'
})
var externalModules = helpers.getArgModules();

const analyticsSources = helpers.getAnalyticsSources();
Expand All @@ -142,7 +144,6 @@ function makeWebpackPkg() {
return gulp.src([].concat(moduleSources, analyticsSources, 'src/prebid.js'))
.pipe(helpers.nameModules(externalModules))
.pipe(webpackStream(cloned, webpack))
.pipe(terser())
.pipe(gulpif(file => file.basename === 'prebid-core.js', header(banner, { prebid: prebid })))
.pipe(gulp.dest('build/dist'));
}
Expand Down
6 changes: 5 additions & 1 deletion integrationExamples/gpt/adloox.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@
},
rubicon: {
singleRequest: true
}
},
// RTD module honors pageUrl for referrer detection and
// the analytics module uses this for the 'pageurl' macro
// N.B. set this to a non-example.com URL to see the video
//pageUrl: 'https://yourdomain.com/some/path/to/content.html'
});
pbjs.enableAnalytics({
provider: 'adloox',
Expand Down
3 changes: 3 additions & 0 deletions integrationExamples/gpt/userId_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@
"params": {
"cid": 5126 // Set your Intimate Merger Customer ID here for production
}
},
{
"name": "dacId"
}
],
"syncDelay": 5000,
Expand Down
16 changes: 13 additions & 3 deletions karma.conf.maker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// For more information, see http://karma-runner.github.io/1.0/config/configuration-file.html

const babelConfig = require('./babelConfig.js');
var _ = require('lodash');
var webpackConf = require('./webpack.conf.js');
var karmaConstants = require('karma').constants;
Expand All @@ -10,10 +11,19 @@ function newWebpackConfig(codeCoverage) {
// Make a clone here because we plan on mutating this object, and don't want parallel tasks to trample each other.
var webpackConfig = _.cloneDeep(webpackConf);

// remove optimize plugin for tests
webpackConfig.plugins.pop()
Object.assign(webpackConfig, {
mode: 'development',
devtool: 'inline-source-map',
});

webpackConfig.devtool = 'inline-source-map';
delete webpackConfig.entry;

webpackConfig.module.rules
.flatMap((r) => r.use)
.filter((use) => use.loader === 'babel-loader')
.forEach((use) => {
use.options = babelConfig(true);
});

if (codeCoverage) {
webpackConfig.module.rules.push({
Expand Down
1 change: 1 addition & 0 deletions modules/.submodules.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"britepoolIdSystem",
"connectIdSystem",
"criteoIdSystem",
"dacIdSystem",
"deepintentDpesIdSystem",
"dmdIdSystem",
"fabrickIdSystem",
Expand Down
Loading