Skip to content

chore: revert "chore: upgrade salesforce api version from v50.0 to v63.0" - #4285

Merged
manish339k merged 1 commit into
developfrom
revert-4116-chore.salesforce.upgrade.to.v63
Apr 29, 2025
Merged

manish339k merged 1 commit into
developfrom
revert-4116-chore.salesforce.upgrade.to.v63

Conversation

@manish339k

@manish339k manish339k commented Apr 29, 2025 •

Copy link
Copy Markdown
Contributor

Reverts #4116

Resolves INT-3322

@manish339k
manish339k requested review from a team and sivashanmukh as code owners April 29, 2025 05:26
@manish339k
manish339k requested review from a team, ItsSudip and vinayteki95 April 29, 2025 05:26
@coderabbitai

coderabbitai Bot commented Apr 29, 2025 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Updated the Salesforce API version used by the application.

Walkthrough

The constant SF_API_VERSION in the Salesforce destination configuration file was updated, changing its value from '63.0' to '50.0'. No other code, logic, or configuration parameters were altered in this pull request.

Changes

File(s) Change Summary
src/v0/destinations/salesforce/config.js Downgraded SF_API_VERSION constant from '63.0' to '50.0'.

Possibly related PRs

Suggested reviewers

  • sivashanmukh
  • utsabc

Suggestion:
If this downgrade is intentional, consider documenting the reason in a comment near the constant, especially if compatibility or stability with Salesforce APIs is a concern. This will help future maintainers understand the context of the version selection.


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 162c370 and ca56e70.

⛔ Files ignored due to path filters (10)
  • test/__tests__/data/salesforce_router_metadata_input.json is excluded by !**/test/**, !**/*.json
  • test/integrations/destinations/salesforce/dataDelivery/business.ts is excluded by !**/test/**
  • test/integrations/destinations/salesforce/dataDelivery/data.ts is excluded by !**/test/**
  • test/integrations/destinations/salesforce/network.ts is excluded by !**/test/**
  • test/integrations/destinations/salesforce/processor/data.ts is excluded by !**/test/**
  • test/integrations/destinations/salesforce/router/data.ts is excluded by !**/test/**
  • test/integrations/destinations/salesforce_oauth/dataDelivery/oauth.ts is excluded by !**/test/**
  • test/integrations/destinations/salesforce_oauth/network.ts is excluded by !**/test/**
  • test/integrations/destinations/salesforce_oauth_sandbox/dataDelivery/oauth.ts is excluded by !**/test/**
  • test/integrations/destinations/salesforce_oauth_sandbox/network.ts is excluded by !**/test/**
📒 Files selected for processing (1)
  • src/v0/destinations/salesforce/config.js (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.js`: Focus on ESLint errors (max 3) and warnings (max 5).

**/*.js: Focus on ESLint errors (max 3) and warnings (max 5).

  • src/v0/destinations/salesforce/config.js
⏰ Context from checks skipped due to timeout of 90000ms (9)
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Code Coverage
  • GitHub Check: UT Tests
  • GitHub Check: test_and_publish
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (go)
🔇 Additional comments (1)
src/v0/destinations/salesforce/config.js (1)

22-22:

Details

✅ Verification successful

Confirm that Salesforce API v50.0 meets all requirements.

The change from v63.0 back to v50.0 successfully accomplishes the reversion requested in this PR. However, it's worth verifying that API v50.0 still meets all functional requirements and isn't approaching end-of-life status with Salesforce.


🌐 Web query:

Is Salesforce API v50.0 still supported or approaching end-of-life?

💡 Result:

Salesforce API v50.0: Support and End-of-Life Status

Summary: As of April 2025, Salesforce API v50.0 remains fully supported and is not approaching end-of-life.


Support and Retirement Policy

  • Salesforce's API end-of-life policy clearly states that each API version is supported for a minimum of three years from its initial release. Customers are notified at least one year in advance before any planned deprecation[6].
  • According to the official documentation, as of today, all API versions from 31.0 through 63.0 are listed as "Supported," including v50.0, which was introduced in Winter '21[6].

Current Supported Versions

  • The most recent Salesforce REST API versions, up to v61.0 (Summer '24), are available. API v50.0 is thus within the actively supported range[1].
  • Only API versions 30.0 and below are being formally retired in Summer '25, meaning v50.0 is unaffected by this round of deprecations[6][9].

Key Points from Official Documentation

  • API v50.0 is still recognized and accessible via the REST API as per official Salesforce developer resources[1][6].
  • Salesforce provides a clear list of versions: versions 31.0 through 63.0 are actively supported. No documentation indicates v50.0 is approaching end-of-life at this time[6].
  • If a version becomes unsupported or retired, Salesforce will return a 410:GONE error for any requests to that version; this does not currently apply to v50.0[6].
  • API version deprecation is rare and customers usually move to newer functionality long before their version is deprecated[9].

Conclusion

Salesforce API v50.0 is fully supported as of April 2025 and not approaching end-of-life. You can continue to use this version safely. However, it is best practice to plan eventual upgrades to newer API versions to access new features and maintain long-term compatibility[6][9].

Citations:


Salesforce API v50.0 support verified

Salesforce API version 50.0 is fully supported as of April 2025 and not approaching end-of-life. You can continue using v50.0 safely; consider planning periodic upgrades to newer API versions to access new features and maintain long-term compatibility.

• src/v0/destinations/salesforce/config.js:22

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@codecov

codecov Bot commented Apr 29, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.29%. Comparing base (79cebfc) to head (ca56e70).
Report is 18 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4285      +/-   ##
===========================================
+ Coverage    91.21%   91.29%   +0.07%     
===========================================
  Files          632      636       +4     
  Lines        33053    33376     +323     
  Branches      7827     7889      +62     
===========================================
+ Hits         30150    30471     +321     
- Misses        2658     2660       +2     
  Partials       245      245              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud

Copy link
Copy Markdown

@manish339k
manish339k merged commit a9d8a48 into develop Apr 29, 2025
@manish339k
manish339k deleted the revert-4116-chore.salesforce.upgrade.to.v63 branch April 29, 2025 06:40
vinayteki95 added a commit that referenced this pull request Apr 29, 2025
* chore(docs): update README on how to configure secrets in tests (#4242)

* chore: remove conplexity issue and redundant comments (#4250)

* chore: remove conplexity issue and redundant comments

* chore: address comment

* chore(deps): bump rudderlabs/build-scan-push-action from 1.5.2 to 1.5.3 (#4236)

chore(deps): bump build scan push action to 1.5.3

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(pyroscope): use forked pyroscope middleware with latest updates

* chore(pyroscope): use forked pyroscope middleware with latest updates

* chore(pyroscope): use rudderstack scoped pyroscope nodejs

* chore(pyroscope): scope and version change

* chore: run ingestion svc test after artefacts build (#4196)

* chore: run ingestion svc test after artefacts build

* fix: test

* fix: test

* fix: test

* chore: test

* chore: test

* chore: use go version file

* chore: use transformer image

* chore: misc

* chore: review comment

* chore: misc

* chore: pass secrets

* chore: fix workflow

* chore: add docker login

* chore: pull image

* chore: misc

* chore: misc

* chore: misc

* chore: cleanup

* chore: remmove env

* chore: remove branch

* chore: bump actions/setup-node from 4.0.4 to 4.4.0 (#4262)

chore(deps): bump actions/setup-node from 4.0.4 to 4.4.0

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v4.0.4...v4.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 (#4264)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.0 to 5.4.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v5.4.0...v5.4.2)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 5.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: convert necessary fields to string for pinterest (#4272)

* feat: onboarding new destination loops (#3976) (#4235)

* feat: identify and track for loops (#3976)

* feat: identify and track for loops

* feat: test for mailing lists

* Update src/cdk/v2/destinations/loops/procWorkflow.yaml

Co-authored-by: Yashasvi Bajpai <[email protected]>

* fix: added response step; updated tests

* fix: better way to get email and userId

* feat: some changes

* feat: use type

---------

Co-authored-by: Yashasvi Bajpai <[email protected]>

* fix: minor issues

* chore: added test

* feat: identify and track for loops (#3976)

* feat: identify and track for loops

* feat: test for mailing lists

* Update src/cdk/v2/destinations/loops/procWorkflow.yaml

Co-authored-by: Yashasvi Bajpai <[email protected]>

* fix: added response step; updated tests

* fix: better way to get email and userId

* feat: some changes

* feat: use type

---------

Co-authored-by: Yashasvi Bajpai <[email protected]>

* fix: minor issues

* chore: added test

* chore: update test to new structure

* chore: minor change

* chore: minor change

---------

Co-authored-by: Dan <[email protected]>
Co-authored-by: Yashasvi Bajpai <[email protected]>

* feat: onboarding snapchat v3 (#4052)

* feat: snapchat v3

* chore: added mappings for v3

* chore: small fix

* chore: updated files

* feat: onboarding snapchat capi v3

* feat: refactoring and some changes

* chore: minor changes

* chore: added tests and minor refactoring

* fix: minor change

* chore: minor changes

---------

Co-authored-by: Manish Kumar <[email protected]>
Co-authored-by: Manish Kumar <[email protected]>

* fix(dynamicConfigParser): fix cloning issue in getdynamicconfig method (#4278)

fix(dynamic config): fix cloning issue in getdynamicconfig method

Resolves INT-3571

- Fix bug where original event was being modified instead of cloned event
- Add comprehensive tests to verify the fix works correctly
- Implement table-driven tests for better maintainability

* feat(mixpanel): add support for partial batch failure handling (#4260)

* feat(mixpanel): add support for partial batch failure handling

* chore: misc

* fix: handler

* fix: handler

* fix: review comments

* fix: review comments

* chore: review comments

* chore: review comments

* chore: review comments

* chore: review comments

* chore: review comments

* chore: remove unused code

* chore: table test case

* chore: table test case

* fix: test

* chore: improve test

* chore: upgrade salesforce api version from v50.0 to v63.0 (#4116)

Co-authored-by: Manish Kumar <[email protected]>
Co-authored-by: Manish Kumar <[email protected]>

* chore: return error when gzip compression fails (#4283)

chore: return error when gzip compression fails for mp

* chore: revert "chore: upgrade salesforce api version from v50.0 to v63.0" (#4285)

Revert "chore: upgrade salesforce api version from v50.0 to v63.0 (#4116)"

This reverts commit c600f53.

* chore: improving code coverage of snapchat conversion (#4284)

* chore: improving code coverage of snapchat conversion

* chore: minor change

* fix: timestamp duration in v2 api

* chore(release): 1.98.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Dilip Kola <[email protected]>
Co-authored-by: Yashasvi Bajpai <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vinay Teki <[email protected]>
Co-authored-by: Mahesh Kutty <[email protected]>
Co-authored-by: Manish Kumar <[email protected]>
Co-authored-by: Dan <[email protected]>
Co-authored-by: Aanshi Lahoti <[email protected]>
Co-authored-by: Manish Kumar <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants