Skip to main content

Changelog for the salesforce adaptor

@openfn/language-salesforce

4.8.6

Patch Changes

  • Security fix: update jsonpath-plus version

4.8.5

Patch Changes

  • 3fd13c2: Update axios to 1.7.7

4.8.4

Patch Changes

  • 8d866e4: Update tough-cookie dependency

4.8.3

Patch Changes

4.8.2

Patch Changes

  • ce08e7f: Fix autoFetch behaviour in query() function. All records are merged into a single records array, and pushed to [0] in state.references.

    For jobs which use references[0][0] to read query results, this is a breaking fix.

4.8.1

Patch Changes

4.8.0

Minor Changes

  • 5fb82f07: Export group operation from common

  • b5e0c266: ### Added

    • insert() function as an alias for create().

    Improved

    • JSDocs for query, bulk, describe, create, and upsert.

    Deprecated

    • upsertIf() and createIf() functions are now deprecated. Use fnIf(condition, upsert()) instead.

Patch Changes

4.7.0

Minor Changes

  • 73433c20: Add fnIf operation

Patch Changes

4.6.11

Patch Changes

4.6.10

Patch Changes

  • 90f44c62: Include the Salesforce query response in the result, even if no records are found.

4.6.9

Patch Changes

  • Fix any-ascii load and add more tests

4.6.8

Patch Changes

  • Properly ensure any-ascii is loaded before executing, resolving a critical race that we are losing in production

4.6.7

Patch Changes

  • 332225ec: - Set default API version to 47.0
    • In bulkQuery throw errors if API version is less than 47.0
    • Update bulkQuery jsdocs with a link to Bulk API 2.0 Query

4.6.6

Patch Changes

4.6.5

Patch Changes

  • b1c915b0: Add documentation about Salesforce API limits to query and bulkQuery

4.6.4

Patch Changes

4.6.3

Patch Changes

4.6.2

Patch Changes

4.6.1

Patch Changes

4.6.0

Minor Changes

  • cfe1ccb: Add options and callback params in query function

4.5.2

Patch Changes

  • 2006e88: fix an issue with bulk jobs not closing

4.5.1

Patch Changes

  • fa3e28fe: refactor bulk() to use newExpandReferences

4.5.0

Minor Changes

  • 0d2b478: Remove instance_url under other_params and put it at the root level of the configuration schema

4.4.0

Deprecated because it does not work with Lightning

Minor Changes

  • 632b585: Add OAuth support
  • a12f434: Add request(path, opts, cb) function

4.3.1

Patch Changes

  • 1131c34: Remove regex pattern for validation and changed minLength to 1

4.3.0

Minor Changes

  • 1d5b62f: Add toUTF8 function

4.2.2

Patch Changes

4.2.1

Patch Changes

  • 07debe9: Update bulkQuery to use bulkv2

4.2.0

Minor Changes

  • fc58f1c: add options in bulkQuery

4.1.0

Minor Changes

  • 1e3a083: add bulkQuery function

4.0.8

Patch Changes

4.0.7

Patch Changes

4.0.6

Patch Changes

  • aceedd2: update jsforce and remove unused packages

4.0.5

Patch Changes

4.0.4

Patch Changes

4.0.3

Patch Changes

4.0.2

Patch Changes

4.0.1

Patch Changes

4.0.0

Major Changes

  • 2c1d603: Remove parameter reassignment to ensure proper functioning inside an each block; add eslint

    The packages receiving a major bump here exposed functions that didn't work as expected inside each blocks. Users were previously wrapping these functions inside their own custom fn blocks, and this change will ensure that they can be used inside a standard each.

    See https://github.com/OpenFn/adaptors/issues/275 for more details.

Patch Changes

3.0.7

Patch Changes

  • 7cc8efc: remove FakeAdaptor references

3.0.6

Patch Changes

  • 705caab: Remove tools as devdependencies

3.0.5

Patch Changes

  • 929bca6: Use metadata helper function from common
  • Updated dependencies [929bca6]

3.0.4

Patch Changes

3.0.3

Patch Changes

  • 06aced8: Fix dependencies

3.0.2

Patch Changes

  • aed7e0b: fix required field in configuration schema

3.0.1

Patch Changes

  • c09b821: Add @magic annotations

3.0.0

Major Changes

  • 190f667: Remove curry from salesforce

2.12.3

Patch Changes

  • f7ebd3c: remove sample configuration

2.12.2

Patch Changes

  • f2aed32: add examples

2.12.1

Patch Changes

  • 6d8de03: change @constructor to @function and remove /* @module Adaptor /

2.12.0

Minor Changes

  • 5c883c6: Allow expansion for describe(), add describeAll()

Patch Changes

2.11.1

Patch Changes

  • e7bf865: chore(deps): update dependency sinon to v14
  • 8566b26: Fix typings
  • b3d45ff: Fix CJS export of npm package.
  • Updated dependencies [8566b26]
  • Updated dependencies [b3d45ff]
  • Updated dependencies [b5eb665]
  • Updated dependencies [ecf5d30]

2.11.0

Minor Changes

  • edff578: Migrate salesforce