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

chore(release): pull release/v1.54.0 into main #3017

Merged
merged 71 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from 70 commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
6426b73
chore(release): pull main into develop post release v1.52.0 (#2908)
aashishmalik Dec 13, 2023
b479457
chore(deps): bump actions/stale from 8.0.0 to 9.0.0 (#2892)
dependabot[bot] Dec 13, 2023
81e79f8
chore(deps): bump docker/build-push-action from 4.1.1 to 5.1.0 (#2839)
dependabot[bot] Dec 13, 2023
bac48ad
chore(deps): bump docker/setup-buildx-action from 2.9.1 to 3.0.0 (#2777)
dependabot[bot] Dec 13, 2023
b5eaced
chore(deps): bump actions/setup-node from 3.7.0 to 4.0.0 (#2775)
dependabot[bot] Dec 13, 2023
e106abb
chore(deps): bump actions/checkout from 3.5.3 to 4.1.1 (#2776)
dependabot[bot] Dec 13, 2023
dc41c7b
[Snyk] Upgrade @aws-sdk/client-s3 from 3.370.0 to 3.438.0 (#2838)
nidhilashkari17 Dec 13, 2023
62a43db
Merge remote-tracking branch 'origin/main' into develop
saikumarrs Dec 14, 2023
93b553a
chore(release): pull main into develop post release v1.52.1 (#2914)
chandumlg Dec 14, 2023
52e5a0d
chore: upgrade delete old branches action
saikumarrs Dec 15, 2023
69ba1b6
chore(release): pull main into develop post release v1.52.2 (#2924)
krishna2020 Dec 15, 2023
c875ad4
Update create-hotfix-branch.yml
koladilip Dec 18, 2023
eea6511
chore(release): pull main into develop post release v1.52.3 (#2936)
aashishmalik Dec 18, 2023
a593192
chore: move destinations to component test suite (#2894)
ItsSudip Dec 19, 2023
3676039
chore: add component test cases for destinations without mock (#2910)
ItsSudip Dec 19, 2023
d0e24d3
chore: add component test cases for some destinations part1 (#2915)
ItsSudip Dec 20, 2023
99613a0
chore: added component test cases for desitnations part3 (#2927)
ItsSudip Dec 20, 2023
c864ff2
chore: add component test cases for some destinations part2 (#2917)
ItsSudip Dec 20, 2023
393eecf
chore: remove redundant test cases
ItsSudip Dec 21, 2023
ca76297
fix: tiktok add missing field brand (#2942)
anantjain45823 Dec 22, 2023
429ca71
feat: amplitude add support for unset (#2941)
anantjain45823 Dec 26, 2023
efca60c
chore: upgrade node to 18.19 (#2940)
koladilip Dec 27, 2023
66a5390
chore(release): pull main into develop post release v1.52.4 (#2958)
krishna2020 Dec 27, 2023
970d37d
feat: pass ip details for factorsAI (#2925)
aashishmalik Jan 2, 2024
7d734f0
feat: handle improper type validation sync vulnerability (#2937)
sandeepdsvs Jan 3, 2024
48e4036
feat: move intercom to routerTransform (#2964)
mihir-4116 Jan 3, 2024
8a245a2
chore: add endpoint labels (#2944)
yashasvibajpai Jan 3, 2024
5dade89
chore: add endpoint labels (#2951)
yashasvibajpai Jan 3, 2024
e002093
fix: error handling when payload contains toString as key (#2954)
achettyiitr Jan 4, 2024
8bf56cc
fix: for gainsight px only new users to have default signUp date (#2953)
shrouti1507 Jan 4, 2024
e0c225d
feat(sprig): added user deletion support (#2886)
mihir-4116 Jan 4, 2024
2380f9d
fix: enhancement and version upgrade of google ads remarketing list (…
shrouti1507 Jan 4, 2024
8bada4b
fix: version upgrade of gaec from 14 to 15 (#2966)
shrouti1507 Jan 4, 2024
f5ad088
feat: onboard new destination the trade desk (#2918)
Gauravudia Jan 5, 2024
5fde548
chore(deps): bump actions/setup-node from 4.0.0 to 4.0.1 (#2950)
dependabot[bot] Jan 5, 2024
6eeedf0
chore(deps): bump SonarSource/sonarcloud-github-action from 2.0.0 to …
dependabot[bot] Jan 5, 2024
a79bfc0
chore: upgrade @aws-sdk/client-personalize from 3.414.0 to 3.470.0 (#…
sandeepdsvs Jan 5, 2024
b1df337
chore: upgrade @aws-sdk/lib-storage from 3.417.0 to 3.456.0 (#2911)
sandeepdsvs Jan 5, 2024
2302bad
chore: upgrade @aws-sdk/client-s3 from 3.438.0 to 3.474.0 (#2971)
sandeepdsvs Jan 8, 2024
d9ebfe7
chore: upgrade @aws-sdk/lib-storage from 3.456.0 to 3.474.0 (#2973)
sandeepdsvs Jan 8, 2024
d4e0ae3
chore: security upgrade axios from 1.6.0 to 1.6.4 (#2969)
sandeepdsvs Jan 8, 2024
0552d6b
Merge branch 'main' into fix.pr-conflicts-jan9
koladilip Jan 9, 2024
2486029
chore: ignore test folder from coverage
koladilip Jan 9, 2024
81ab6e8
fix: optimise build and coverage (#2985)
sanpj2292 Jan 10, 2024
88a4a5d
Merge branch 'develop' into fix.pr-conflicts-jan9
koladilip Jan 10, 2024
7390888
chore: fix @amplitude/ua-parser-js version
koladilip Jan 10, 2024
f16066c
fix: pr conflicts in back merge (#2984)
koladilip Jan 10, 2024
2ae4378
feat: add regulation to features.json
koladilip Jan 11, 2024
f6652b5
refactor: rename regulation to regulations
koladilip Jan 12, 2024
65c79a8
feat: add regulation to features.json (#2988)
koladilip Jan 12, 2024
38c6e60
chore: clean up test data (#2987)
chandumlg Jan 16, 2024
ff12d8f
fix(slack): add support of blank space in handlebar (#2959)
ItsSudip Jan 17, 2024
e53b304
fix: mixpanel alias simplified merge error message (#2996)
sanpj2292 Jan 17, 2024
7aa6687
fix: klaviyo validate event name to be string before accessing it (#2…
anantjain45823 Jan 18, 2024
32c9c03
fix: error handling for trade desk first party data flow (#2986)
Gauravudia Jan 18, 2024
0c2f7bc
fix: ortto remove phn:phone field if no phone is there in payload (#2…
anantjain45823 Jan 18, 2024
3bc78d0
Merge branch 'develop' into chore.cleanup-redundant-testcases
ItsSudip Jan 18, 2024
0fca088
feat: onboard new tiktok version events 2.0 (#2961)
anantjain45823 Jan 18, 2024
34bf49d
fix: add valid code coverage file in workflows (#3000)
anantjain45823 Jan 18, 2024
4f3353b
remove redundant files of test cases
ItsSudip Jan 18, 2024
f366e28
Merge branch 'develop' into chore.cleanup-redundant-testcases
ItsSudip Jan 18, 2024
95f87e9
chore: update component test and generate reports (#2989)
utsabc Jan 19, 2024
7cc4cf9
chore: remove userlist-cdk test file
ItsSudip Jan 19, 2024
3150b88
Merge branch 'develop' into chore.cleanup-redundant-testcases
ItsSudip Jan 19, 2024
595f819
fix: tiktok_ads remove page.url as a required field (#3006)
anantjain45823 Jan 19, 2024
0dbb307
fix: mailjet source operating on array instead object (#2999)
anantjain45823 Jan 19, 2024
937888e
Merge branch 'develop' into chore.cleanup-redundant-testcases
ItsSudip Jan 22, 2024
7ab3da0
chore: remove redundant test cases (#2943)
koladilip Jan 22, 2024
3741073
fix: fixing network and default error messages for marketo bulk uploa…
shrouti1507 Jan 22, 2024
ec324be
chore(release): 1.54.0
web-flow Jan 22, 2024
7177b0d
chore: fix changelog
yashasvibajpai Jan 23, 2024
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
68 changes: 68 additions & 0 deletions .github/workflows/component-test-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Component Test Reporter

on:
pull_request:
types:
- opened
- reopened
- synchronize

permissions:
id-token: write # allows the JWT to be requested from GitHub's OIDC provider
contents: read # This is required for actions/checkout

jobs:
test_and_upload:
runs-on: ubuntu-latest

steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_DEV_ACCOUNT_ID }}:role/${{ secrets.AWS_DEV_S3_SYNC_ROLE }}
aws-region: us-east-1

- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 1

- name: Setup Node
uses: actions/[email protected]
with:
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Run Tests and Generate Report
run: |
npm run test:ts -- component


- name: Uplaod Report to S3
run: |
aws s3 cp ./test_reports/ s3://test-integrations-dev/integrations-test-reports/rudder-transformer/${{ github.event.number }}/ --recursive


- name: Comment on PR with S3 Object URL
uses: actions/github-script@v7
with:
github-token: ${{ secrets.PAT }}
script: |
const { owner, repo } = context.repo;
// Get the pull request number
const prNumber = context.payload.pull_request.number;
const commentBody = `Test report for this run is available at: https://test-integrations-dev.s3.amazonaws.com/integrations-test-reports/rudder-transformer/${prNumber}/test-report.html`;


// Comment on the pull request
github.rest.issues.createComment({
owner,
repo,
issue_number: prNumber,
body: commentBody
});


Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Report Code Coverage
name: DT Tests
on:
workflow_call:
secrets:
Expand Down Expand Up @@ -30,8 +30,9 @@ jobs:

- name: Run Tests
run: |
npm run test:js:ci
npm run test:ts:ci
# Supress logging in tests
LOG_LEVEL=100 npm run test:js:ci
LOG_LEVEL=100 npm run test:ts:ci

- name: Run Lint Checks
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-for-dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
report-coverage:
name: Report Code Coverage
if: github.event_name == 'push'
uses: ./.github/workflows/report-code-coverage.yml
uses: ./.github/workflows/dt-test-and-report-code-coverage.yml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-for-prod-dt-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
report-coverage:
name: Report Code Coverage
if: github.event_name == 'push'
uses: ./.github/workflows/report-code-coverage.yml
uses: ./.github/workflows/dt-test-and-report-code-coverage.yml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-for-prod-ut-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
report-coverage:
name: Report Code Coverage
if: github.event_name == 'push'
uses: ./.github/workflows/report-code-coverage.yml
uses: ./.github/workflows/dt-test-and-report-code-coverage.yml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

Expand Down
25 changes: 10 additions & 15 deletions .github/workflows/test.yml → .github/workflows/ut-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ on:
- synchronize

jobs:
test:
name: Run Tests
ut_tests:
name: UT Tests
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/[email protected]
with:
go-version: 1.17

- name: Install Latest Version of Kind
run: go install sigs.k8s.io/[email protected]

- name: Checkout
uses: actions/[email protected]
with:
Expand All @@ -26,19 +34,6 @@ jobs:
- name: Install Dependencies
run: npm ci

- name: Run Unit Tests
run: |
npm run test:js:ci
npm run test:ts:ci

- name: Setup Go
uses: actions/[email protected]
with:
go-version: 1.17

- name: Install Latest Version of Kind
run: go install sigs.k8s.io/[email protected]

- name: Create Kind cluster
run: kind create cluster --name kind-cluster --config=test/__tests__/data/worker-nodes-kind.yml

Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,7 @@ dist
**/.DS_Store


.idea
.idea

# component test report
test_reports/
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,41 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.54.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.53.0...v1.54.0) (2024-01-22)

krishna2020 marked this conversation as resolved.
Show resolved Hide resolved

### Features

* add regulation to features.json ([2ae4378](https://github.com/rudderlabs/rudder-transformer/commit/2ae437820952b87dace289ec04d5c116d77cf70c))
* add regulation to features.json ([#2988](https://github.com/rudderlabs/rudder-transformer/issues/2988)) ([65c79a8](https://github.com/rudderlabs/rudder-transformer/commit/65c79a8fd02218cee5d12e51004cdc023a0e7989))
* amplitude add support for unset ([#2941](https://github.com/rudderlabs/rudder-transformer/issues/2941)) ([429ca71](https://github.com/rudderlabs/rudder-transformer/commit/429ca719952e5b8a4b6bad2ef1a087575613e861))
* handle improper type validation sync vulnerability ([#2937](https://github.com/rudderlabs/rudder-transformer/issues/2937)) ([7d734f0](https://github.com/rudderlabs/rudder-transformer/commit/7d734f06df75d198f8440a953ce089631af15a8b))
* move intercom to routerTransform ([#2964](https://github.com/rudderlabs/rudder-transformer/issues/2964)) ([48e4036](https://github.com/rudderlabs/rudder-transformer/commit/48e40365de6d45c40b25b0af3373504bfd5368bd))
* onboard new destination the trade desk ([#2918](https://github.com/rudderlabs/rudder-transformer/issues/2918)) ([f5ad088](https://github.com/rudderlabs/rudder-transformer/commit/f5ad088439ae628c9652b58d1ecb90257d77cae3))
* onboard new tiktok version events 2.0 ([#2961](https://github.com/rudderlabs/rudder-transformer/issues/2961)) ([0fca088](https://github.com/rudderlabs/rudder-transformer/commit/0fca088980368954e9a82addedd6a4544035259a))
* pass ip details for factorsAI ([#2925](https://github.com/rudderlabs/rudder-transformer/issues/2925)) ([970d37d](https://github.com/rudderlabs/rudder-transformer/commit/970d37d6a3e4196c284513dd56f5405b0f3f2821))
* **sprig:** added user deletion support ([#2886](https://github.com/rudderlabs/rudder-transformer/issues/2886)) ([e0c225d](https://github.com/rudderlabs/rudder-transformer/commit/e0c225dfab711c1d87d1c5dd1be98fb476548588))


### Bug Fixes

* add valid code coverage file in workflows ([#3000](https://github.com/rudderlabs/rudder-transformer/issues/3000)) ([34bf49d](https://github.com/rudderlabs/rudder-transformer/commit/34bf49d19f33326008a467230574e4f1c78e9ddb))
* enhancement and version upgrade of google ads remarketing list ([#2945](https://github.com/rudderlabs/rudder-transformer/issues/2945)) ([2380f9d](https://github.com/rudderlabs/rudder-transformer/commit/2380f9dcfcda2c6fe101b8b3a2d580e26a6452f3))
* error handling for trade desk first party data flow ([#2986](https://github.com/rudderlabs/rudder-transformer/issues/2986)) ([32c9c03](https://github.com/rudderlabs/rudder-transformer/commit/32c9c038ca96477cbe8d94d2a19679817b952e4c))
* error handling when payload contains toString as key ([#2954](https://github.com/rudderlabs/rudder-transformer/issues/2954)) ([e002093](https://github.com/rudderlabs/rudder-transformer/commit/e00209337fa0e4da88f4f9959558636eecd4f120))
* fixing network and default error messages for marketo bulk upload ([#3016](https://github.com/rudderlabs/rudder-transformer/issues/3016)) ([3741073](https://github.com/rudderlabs/rudder-transformer/commit/3741073ea37e83aa1e6e35c3ccb26d5a41a49617))
* for gainsight px only new users to have default signUp date ([#2953](https://github.com/rudderlabs/rudder-transformer/issues/2953)) ([8bf56cc](https://github.com/rudderlabs/rudder-transformer/commit/8bf56cc7914bda530b0bf3fb16bfece6be542ddd))
* klaviyo validate event name to be string before accessing it ([#2998](https://github.com/rudderlabs/rudder-transformer/issues/2998)) ([7aa6687](https://github.com/rudderlabs/rudder-transformer/commit/7aa6687829783df3924a89698a53b9cb315449eb))
* mailjet source operating on array instead object ([#2999](https://github.com/rudderlabs/rudder-transformer/issues/2999)) ([0dbb307](https://github.com/rudderlabs/rudder-transformer/commit/0dbb307bf5d18893e3331cd92bc16bae1b4a6add))
* mixpanel alias simplified merge error message ([#2996](https://github.com/rudderlabs/rudder-transformer/issues/2996)) ([e53b304](https://github.com/rudderlabs/rudder-transformer/commit/e53b3046252bb5abcae046445baf4a67c40f37a3))
* optimise build and coverage ([#2985](https://github.com/rudderlabs/rudder-transformer/issues/2985)) ([81ab6e8](https://github.com/rudderlabs/rudder-transformer/commit/81ab6e86070a9992141bad405c6f52d1ab186f11))
* ortto remove phn:phone field if no phone is there in payload ([#2997](https://github.com/rudderlabs/rudder-transformer/issues/2997)) ([0c2f7bc](https://github.com/rudderlabs/rudder-transformer/commit/0c2f7bcbf705787087a8d9073145e282851ddb6f))
* pr conflicts in back merge ([#2984](https://github.com/rudderlabs/rudder-transformer/issues/2984)) ([f16066c](https://github.com/rudderlabs/rudder-transformer/commit/f16066cc8f867378f1b9bb9812f8efe389ca5bc8))
* **slack:** add support of blank space in handlebar ([#2959](https://github.com/rudderlabs/rudder-transformer/issues/2959)) ([ff12d8f](https://github.com/rudderlabs/rudder-transformer/commit/ff12d8ffddccbdac934c7cbac03730cd2593147f))
* tiktok add missing field brand ([#2942](https://github.com/rudderlabs/rudder-transformer/issues/2942)) ([ca76297](https://github.com/rudderlabs/rudder-transformer/commit/ca76297147f0a2c12d68d97dda95b9a44efe4020))
* tiktok_ads remove page.url as a required field ([#3006](https://github.com/rudderlabs/rudder-transformer/issues/3006)) ([595f819](https://github.com/rudderlabs/rudder-transformer/commit/595f81982a2604ec08621e15cea7c16564d5ecab))
* version upgrade of gaec from 14 to 15 ([#2966](https://github.com/rudderlabs/rudder-transformer/issues/2966)) ([8bada4b](https://github.com/rudderlabs/rudder-transformer/commit/8bada4b21acf3ac884f44166b62098680f126898))

## [1.53.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.52.4...v1.53.0) (2024-01-08)


Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
coverageDirectory: 'reports/coverage',

// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: ['/node_modules/', '__tests__', 'warehouse/v0'],
coveragePathIgnorePatterns: ['/node_modules/', '__tests__', 'warehouse/v0', 'test'],

// A list of reporter names that Jest uses when writing coverage reports
coverageReporters: ['json', 'text', 'lcov', 'clover'],
Expand Down
2 changes: 1 addition & 1 deletion jest.config.typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
coverageDirectory: 'reports/ts-coverage',

// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: ['/node_modules/', '__tests__'],
coveragePathIgnorePatterns: ['/node_modules/', '__tests__', 'test'],

// A list of reporter names that Jest uses when writing coverage reports
coverageReporters: ['json', 'text', 'lcov', 'clover'],
Expand Down
2 changes: 1 addition & 1 deletion jest.default.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
coverageDirectory: 'reports/coverage',

// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: ['/node_modules/', '__tests__', 'warehouse/v0'],
coveragePathIgnorePatterns: ['/node_modules/', '__tests__', 'warehouse/v0' ,'test'],

// A list of reporter names that Jest uses when writing coverage reports
coverageReporters: ['json', 'text', 'lcov', 'clover'],
Expand Down
Loading
Loading