Skip to content

Commit

Permalink
chore(release): pulling release/3.2.0 into main (#1667)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs authored Mar 22, 2024
2 parents 60f2027 + 287001c commit d0e0bae
Show file tree
Hide file tree
Showing 91 changed files with 790 additions and 562 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
jobs:
release:
name: Publish new release
# For publishing GitHub release, we need to only use the GitHub hosted runners
runs-on: ubuntu-latest
# only merged pull requests must trigger this job
if: (startsWith(github.event.pull_request.head.ref, 'release/') || startsWith(github.event.pull_request.head.ref, 'hotfix-release/')) && github.event.pull_request.merged == true
Expand Down
11 changes: 4 additions & 7 deletions examples/angular/sample-app/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,22 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script>
window.RudderSnippetVersion = '3.0.1';
window.rudderanalytics = [];
var methods = [
'setDefaultInstanceKey',
'load',
'ready',
'page',
'track',
'identify',
'alias',
'group',
'ready',
'reset',
'getAnonymousId',
'setAnonymousId',
'getUserId',
'getUserTraits',
'getGroupId',
'getGroupTraits',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
11 changes: 4 additions & 7 deletions examples/nextjs/hooks/sample-app/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,22 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<head>
<Script id='bufferEvents'>
{`
window.RudderSnippetVersion = '3.0.1';
window.rudderanalytics = [];
var methods = [
'setDefaultInstanceKey',
'load',
'ready',
'page',
'track',
'identify',
'alias',
'group',
'ready',
'reset',
'getAnonymousId',
'setAnonymousId',
'getUserId',
'getUserTraits',
'getGroupId',
'getGroupTraits',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
11 changes: 4 additions & 7 deletions examples/nextjs/js/sample-app/src/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,22 @@ export default function RootLayout({ children }) {
<head>
<Script id='bufferEvents'>
{`
window.RudderSnippetVersion = '3.0.1';
window.rudderanalytics = [];
var methods = [
'setDefaultInstanceKey',
'load',
'ready',
'page',
'track',
'identify',
'alias',
'group',
'ready',
'reset',
'getAnonymousId',
'setAnonymousId',
'getUserId',
'getUserTraits',
'getGroupId',
'getGroupTraits',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
11 changes: 4 additions & 7 deletions examples/nextjs/page-router/sample-app/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,22 @@ export default function Document() {
<Head>
<Script id='bufferEvents' strategy='beforeInteractive'>
{`
window.RudderSnippetVersion = '3.0.1';
window.rudderanalytics = [];
var methods = [
'setDefaultInstanceKey',
'load',
'ready',
'page',
'track',
'identify',
'alias',
'group',
'ready',
'reset',
'getAnonymousId',
'setAnonymousId',
'getUserId',
'getUserTraits',
'getGroupId',
'getGroupTraits',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
11 changes: 4 additions & 7 deletions examples/nextjs/ts/sample-app/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,22 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<head>
<Script id='bufferEvents'>
{`
window.RudderSnippetVersion = '3.0.1';
window.rudderanalytics = [];
var methods = [
'setDefaultInstanceKey',
'load',
'ready',
'page',
'track',
'identify',
'alias',
'group',
'ready',
'reset',
'getAnonymousId',
'setAnonymousId',
'getUserId',
'getUserTraits',
'getGroupId',
'getGroupTraits',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
11 changes: 4 additions & 7 deletions examples/reactjs/hooks/sample-app/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,22 @@
-->
<title>React App</title>
<script>
window.RudderSnippetVersion = '3.0.1';
window.rudderanalytics = [];
var methods = [
'setDefaultInstanceKey',
'load',
'ready',
'page',
'track',
'identify',
'alias',
'group',
'ready',
'reset',
'getAnonymousId',
'setAnonymousId',
'getUserId',
'getUserTraits',
'getGroupId',
'getGroupTraits',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
11 changes: 4 additions & 7 deletions examples/reactjs/js/sample-app/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,22 @@
-->
<title>React App</title>
<script>
window.RudderSnippetVersion = '3.0.1';
window.rudderanalytics = [];
var methods = [
'setDefaultInstanceKey',
'load',
'ready',
'page',
'track',
'identify',
'alias',
'group',
'ready',
'reset',
'getAnonymousId',
'setAnonymousId',
'getUserId',
'getUserTraits',
'getGroupId',
'getGroupTraits',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
11 changes: 4 additions & 7 deletions examples/reactjs/ts/sample-app/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,22 @@
-->
<title>React App</title>
<script>
window.RudderSnippetVersion = '3.0.1';
window.rudderanalytics = [];
var methods = [
'setDefaultInstanceKey',
'load',
'ready',
'page',
'track',
'identify',
'alias',
'group',
'ready',
'reset',
'getAnonymousId',
'setAnonymousId',
'getUserId',
'getUserTraits',
'getGroupId',
'getGroupTraits',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
11 changes: 4 additions & 7 deletions examples/reactjs/vite/sample-app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,22 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script>
window.RudderSnippetVersion = '3.0.1';
window.rudderanalytics = [];
var methods = [
'setDefaultInstanceKey',
'load',
'ready',
'page',
'track',
'identify',
'alias',
'group',
'ready',
'reset',
'getAnonymousId',
'setAnonymousId',
'getUserId',
'getUserTraits',
'getGroupId',
'getGroupTraits',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
5 changes: 2 additions & 3 deletions examples/v3-beacon/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>RudderStack JS SDK v3 Beacon Example</title>
<script>
window.RudderSnippetVersion = "3.0.0-beta.18";
window.RudderSnippetVersion = '3.0.1';
var sdkBaseUrl = 'https://cdn.rudderlabs.com/v3';
var sdkName = 'rsa.min.js';
var asyncScript = true;
Expand All @@ -22,11 +22,10 @@
'alias',
'group',
'reset',
'getAnonymousId',
'setAnonymousId',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
5 changes: 2 additions & 3 deletions examples/v3-legacy-minimum-plugins/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>RudderStack JS SDK v3 Example</title>
<script>
window.RudderSnippetVersion = "3.0.0-beta.18";
window.RudderSnippetVersion = '3.0.1';
var sdkBaseUrl = 'https://cdn.rudderlabs.com/v3';
var sdkName = 'rsa.min.js';
var asyncScript = true;
Expand All @@ -22,11 +22,10 @@
'alias',
'group',
'reset',
'getAnonymousId',
'setAnonymousId',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
5 changes: 2 additions & 3 deletions examples/v3-legacy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>RudderStack JS SDK v3 Example</title>
<script>
window.RudderSnippetVersion = "3.0.0-beta.18";
window.RudderSnippetVersion = '3.0.1';
var sdkBaseUrl = 'https://cdn.rudderlabs.com/v3';
var sdkName = 'rsa.min.js';
var asyncScript = true;
Expand All @@ -22,11 +22,10 @@
'alias',
'group',
'reset',
'getAnonymousId',
'setAnonymousId',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
5 changes: 2 additions & 3 deletions examples/v3-minimum-plugins/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>RudderStack JS SDK v3 Example</title>
<script>
window.RudderSnippetVersion = "3.0.0-beta.18";
window.RudderSnippetVersion = '3.0.1';
var sdkBaseUrl = 'https://cdn.rudderlabs.com/v3';
var sdkName = 'rsa.min.js';
var asyncScript = true;
Expand All @@ -22,11 +22,10 @@
'alias',
'group',
'reset',
'getAnonymousId',
'setAnonymousId',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
5 changes: 2 additions & 3 deletions examples/v3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>RudderStack JS SDK v3 Example</title>
<script>
window.RudderSnippetVersion = "3.0.0-beta.18";
window.RudderSnippetVersion = '3.0.1';
var sdkBaseUrl = 'https://cdn.rudderlabs.com/v3';
var sdkName = 'rsa.min.js';
var asyncScript = true;
Expand All @@ -22,11 +22,10 @@
'alias',
'group',
'reset',
'getAnonymousId',
'setAnonymousId',
'startSession',
'endSession',
'getSessionId',
'consent'
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
Expand Down
Loading

0 comments on commit d0e0bae

Please sign in to comment.