Releases: k-capehart/go-salesforce
Releases · k-capehart/go-salesforce
v2.1.2
What's Changed
- feat: handle 300 response for when multiple matches are found for a single salesforce external id by @k-capehart in #63
Full Changelog: v2.1.1...v2.1.2
v2.1.1
What's Changed
- fix linting error: printf-style function with dynamic format string and no further arguments should use print-style function instead by @k-capehart in #60
- fix(deps): bump k8s.io/apimachinery from 0.30.3 to 0.31.0 in the dependencies group by @dependabot in #59
- fix(deps): bump k8s.io/apimachinery from 0.31.0 to 0.31.1 in the dependencies group across 1 directory by @dependabot in #61
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- fix(deps): bump k8s.io/apimachinery from 0.30.2 to 0.30.3 in the dependencies group by @dependabot in #57
- Refresh when Invalid Session error occurs by @k-capehart in #58
- Shoutout to aishmuru for bringing this idea up in #56
- When any operation fails with an Error Code of
INVALID_SESSION_ID
, then go-salesforce will attempt to generate a new access token by resubmitting the same credentials used during initialization - This fixes issues where the token would expire and require manual re-initialization
Full Changelog: v2.0.1...v2.1.0
v2.0.1
What's Changed
- fix: major version upgrade in go.mod by @k-capehart in #55
Full Changelog: v2.0.0...v2.0.1
v2.0.0
What's Changed
InsertOne
andUpsertOne
now return an instance ofSalesforceResult
which contains record IDs for newly created records- Collection and Composite methods now return an instance of
SalesforceResults
which contains an array ofSalesforceResult
and a booleanHasSalesforceErrors
- The
BulkJobResults
type has been updated to include new properties:SuccessfulRecords
andFailedRecords
- If Salesforce returns a 2xx response but includes record related errors, then do not return an error in the function
- These errors should be handled by the client by parsing through
SalesforceResult
- There is a notable exception in that if a record related error is encountered for
InsertOne
,UpdateOne
,UpsertOne
, orDeleteOne
, then a 4xx response is returned by Salesforce
- These errors should be handled by the client by parsing through
- These changes allow users to easily access record IDs of newly created records and better handle record related errors
- feature/return sf result by @k-capehart, @0cv, and @ccoVeille in #53 and #45
- docs: update readme to fix spacing and tweak examples by @k-capehart in #54
New Contributors
- @0cv made their first contribution in #45
- @ccoVeille made their first contribution in #53
Huge shoutout to @0cv for submitting #42 and doing the preliminary work, as well as to @ccoVeille for always being willing to review and make recommendations.
Full Changelog: v1.0.6...v1.0.7
v1.0.6
What's Changed
- chore: add dependabot job by @k-capehart in #48
- fix: add groups for dependabot by @k-capehart in #49
- fix: dependabot job by @k-capehart in #50
- chore: Update documentation to clarify relationship queries by @iamber12 in #52
- fix(deps): bump k8s.io/apimachinery from 0.29.4 to 0.30.2 in the dependencies group by @dependabot in #51
New Contributors
- @dependabot made their first contribution in #51
Full Changelog: v1.0.5...v1.0.6
v1.0.5
What's Changed
- add awesome-go badge by @k-capehart in #41
- create GetAccessToken() method to retrieve current session's access token by @iamber12 in #44
- update docs by @k-capehart in #47
New Contributors
Full Changelog: v1.0.4...v1.0.5
v1.0.4
What's Changed
- feat: add workflow for code coverage badge by @k-capehart in #37
- update workflow by @k-capehart in #38
- Improve code coverage for codecov by @k-capehart in #39
- update package link by @k-capehart in #40
Full Changelog: v1.0.3...v1.0.4
v1.0.3
What's Changed
- feat: authenticate with access token by @k-capehart in #36
Full Changelog: v1.0.2...v1.0.3
v1.0.2
What's Changed
- add linting and fix linting issues by @k-capehart in #30
- add file system abstraction to enable more testing by @k-capehart in #31
Full Changelog: v1.0.1...v1.0.2