Skip to content

fix(deps): update module github.com/k-capehart/go-salesforce/v2 to v3#57

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-go-deps
Open

fix(deps): update module github.com/k-capehart/go-salesforce/v2 to v3#57
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-go-deps

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Oct 4, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/k-capehart/go-salesforce/v2 v2.5.2v3.2.0 age confidence

Release Notes

k-capehart/go-salesforce (github.com/k-capehart/go-salesforce/v2)

v3.2.0

Compare Source

What's Changed

  • feat: make authentication flows also use the custom HTTP client configuration by @​TuSKan in #​143
  • feat: Decode string to time salesforce format in mapStructure by @​TuSKan in #​144
  • feat: Support Custom Tags for Mapstructure and CSV Decoding by @​TuSKan in #​145
  • fix: mapsToCSV to handle nil map values using reflection by @​TuSKan in #​148

Full Changelog: k-capehart/go-salesforce@v3.1.2...v3.2.0

v3.1.2

Compare Source

What's Changed

Full Changelog: k-capehart/go-salesforce@v3.1.1...v3.1.2

v3.1.1

Compare Source

What's Changed

New Contributors

Full Changelog: k-capehart/go-salesforce@v3.1.0...v3.1.1

v3.1.0

Compare Source

What's Changed

Full Changelog: k-capehart/go-salesforce@v3.0.3...v3.1.0

v3.0.3

Compare Source

What's Changed

Full Changelog: k-capehart/go-salesforce@v3.0.2...v3.0.3

v3.0.2

Compare Source

What's Changed

New Contributors

Full Changelog: k-capehart/go-salesforce@v3.0.1...v3.0.2

v3.0.1

Compare Source

What's Changed

Full Changelog: k-capehart/go-salesforce@v3.0.0...v3.0.1

v3.0.0

Compare Source

Big Changes

We've made it to version 3.0! 🎉 These include some big changes to how configuration is handled as well as some notable deprecations.

Big shoutout to @​mutovkin for the hard work in getting these new features.

Configuration during client initialization overhaul

  • func WithCompressionHeaders(compression bool) Option - see docs
  • func WithAPIVersion(version string) Option - set API version manually instead of using default
  • func WithBatchSizeMax(size int) - for collections API
  • func WithBulkBatchSizeMax(size int) Option - for Bulk API
  • func WithRoundTripper(rt http.RoundTripper) Option - for http requests
  • func WithHTTPTimeout(timeout time.Duration) Option - set custom timeout
  • func WithValidateAuthentication(validate bool) Option - optionally skip validation during certain auth flows

Example:

sfCustom, err := salesforce.Init(creds,
  salesforce.WithAPIVersion("v58.0"),
  salesforce.WithBatchSizeMax(150),
  salesforce.WithBulkBatchSizeMax(8000),
  salesforce.WithCompressionHeaders(true),
)

See more examples: https://github.com/k-capehart/go-salesforce/tree/main/examples

Retrieve current configuration using one of these new methods:

  • func (sf *Salesforce) GetAPIVersion() string
  • func (sf *Salesforce) GetBatchSizeMax() int
  • func (sf *Salesforce) GetBulkBatchSizeMax() int
  • func (sf *Salesforce) GetCompressionHeaders() bool
  • func (sf *Salesforce) GetHTTPClient() *http.Client

The biggest new feature to come out of this is the ability add a round tripper with WithRoundTripper(), allowing you to hook in to what happens in between sending a request and receiving the response.

There is additional documentation on this in a new markdown file here

There has also been a bug fix for using the Upsert methods with an external ID of type int or float64. Before, this just wouldn't work but it plays nicely now.

Updates to GitHub actions for formatting and linting enforcement and a new MAKEFILE for a much improved developer experience.

Deprecated

These methods and structs are no longer available.

  • salesforce.Config - this is now a private struct so is inaccessible
  • salesforce.Config.SetDefaults() - defaults are set on initialization if specific overrides are not given.
  • salesforce.Config.SetCompressionHeaders() - this is now handled through WithCompressionHeaders()

What's Changed

New Contributors

Full Changelog: k-capehart/go-salesforce@v2.5.2...v3.0.0


Configuration

📅 Schedule: (in timezone Europe/London)

  • Branch creation
    • Only on Monday, Wednesday, and Saturday (* * * * 1,3,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner October 4, 2025 06:36
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from 8032440 to 8be0322 Compare October 8, 2025 06:01
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from 8be0322 to bce6d99 Compare October 8, 2025 06:07
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from bce6d99 to 9299ce0 Compare October 10, 2025 12:56
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from 9299ce0 to 47a0cac Compare October 11, 2025 02:45
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from 47a0cac to 2fae103 Compare October 15, 2025 00:48
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from 2fae103 to 7be3881 Compare October 15, 2025 00:55
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from 7be3881 to 28974d8 Compare October 15, 2025 16:08
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from 28974d8 to 78a9600 Compare October 16, 2025 11:06
canonical-iam
canonical-iam previously approved these changes Oct 16, 2025
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Oct 17, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated

Details:

Package Change
github.com/golang-jwt/jwt/v5 v5.2.2 -> v5.3.0
github.com/spf13/afero v1.14.0 -> v1.15.0
k8s.io/apimachinery v0.33.2 -> v0.34.2
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 -> v0.0.0-20250604170112-4c0f3b243397

@renovate renovate Bot force-pushed the renovate/major-go-deps branch from 87111b2 to cb74967 Compare October 18, 2025 02:53
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from cb74967 to 7776d02 Compare October 18, 2025 06:02
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from 7776d02 to 2c46ab7 Compare October 18, 2025 06:10
@renovate renovate Bot force-pushed the renovate/major-go-deps branch from 2c46ab7 to cb66d99 Compare October 20, 2025 18:58
canonical-iam
canonical-iam previously approved these changes Mar 30, 2026
canonical-iam
canonical-iam previously approved these changes Apr 17, 2026
canonical-iam
canonical-iam previously approved these changes Apr 22, 2026
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.

1 participant