-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from adjust/v500
Version 5.0.0
- Loading branch information
Showing
147 changed files
with
47,943 additions
and
728 deletions.
There are no files selected for viewing
This file contains 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,20 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-flow", | ||
["@babel/preset-env", { | ||
"targets": ["> 0.25%", "not dead"] | ||
}] | ||
], | ||
"plugins": [ | ||
"es6-promise", | ||
"@babel/plugin-transform-flow-comments", | ||
["@babel/plugin-transform-runtime", { | ||
"version": "7.6.2" | ||
}] | ||
], | ||
"env": { | ||
"test": { | ||
"plugins": ["transform-es2015-modules-commonjs"] | ||
} | ||
} | ||
} |
This file contains 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,30 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"jest": true | ||
}, | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:flowtype/recommended" | ||
], | ||
"plugins": ["flowtype"], | ||
"globals": { | ||
"Promise": true, | ||
"__ADJUST__NAMESPACE": true, | ||
"__ADJUST__SDK_VERSION": true, | ||
"Utils": true | ||
}, | ||
"rules": { | ||
"semi": ["error", "never"], | ||
"space-before-function-paren": ["error", "always"], | ||
"quotes": ["error", "single"], | ||
"prefer-arrow-callback": "error", | ||
"prefer-object-spread": "error" | ||
} | ||
} |
This file contains 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,15 @@ | ||
[ignore] | ||
.*/node_modules/.* | ||
.*/coverage/.* | ||
.*/demo/.* | ||
.*/dist/.* | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[lints] | ||
|
||
[options] | ||
|
||
[strict] |
This file contains 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,7 @@ | ||
.idea/ | ||
*.log | ||
*.DS_Store | ||
|
||
node_modules/ | ||
coverage/ | ||
demo/ |
This file contains 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,22 @@ | ||
### Version 5.0.0 (15th May 2020) | ||
#### Added | ||
- New major SDK update. | ||
- Added SDK exposure under all module definitions, so it works under **CommonJS** and **AMD** environments and is also available through global `Adjust` when loaded through **cdn**. | ||
- Added attribution callback support. | ||
- Added retry mechanism for failed attribution requests. | ||
- Added HTTP request queueing with retry mechanism. | ||
- Added usage of **indexedDB** with **localStorage** as a fallback. | ||
- Added global callback and partner parameters, along with removal of previously set ones. | ||
- Added offline mode. | ||
- Added possibility to set the log level on init and optionally specify log container. | ||
- Added SDK stop and restart possibility. | ||
- Added GDPR forget me ability. | ||
- Added ability to define default tracker through configuration. | ||
- Added sending of `sdk_click` package when referrer is available. | ||
- Added traffic redirection possibility. | ||
- Added event deduplication. | ||
- Added disable third party sharing option. | ||
|
||
#### Changed | ||
- Switched to using exposed single instance instead of initiating it manually with the `new` (`Adjust.initSdk(YOUR_CONFIG)`). | ||
- Automated session tracking, method `trackSession` is no longer available. |
This file contains 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,37 @@ | ||
#!groovy | ||
|
||
pipeline { | ||
agent { | ||
node { | ||
label 'new' | ||
} | ||
} | ||
stages { | ||
stage('Setup') { | ||
steps { | ||
sh "npm install" | ||
} | ||
} | ||
stage('Test') { | ||
steps { | ||
sh "npm run test:all" | ||
} | ||
} | ||
stage('Build Production') { | ||
steps { | ||
sh "npm run clean" | ||
sh "npm run build:demo" | ||
} | ||
} | ||
stage('Deploy Production') { | ||
steps { | ||
sh "rsync -e 'ssh -o StrictHostKeyChecking=no' -va --rsync-path='mkdir -p /home/dashboard/web-sdk-demo/current/public/ && rsync' --delete ./demo/ [email protected]://home/dashboard/web-sdk-demo/current/public/" | ||
} | ||
} | ||
} | ||
post { | ||
always { | ||
cleanWs() | ||
} | ||
} | ||
} |
Oops, something went wrong.