Skip to content

v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Nov 15:29
· 1 commit to main since this release

Added

  • The docs now have an llms.txt index for coding agents. It lists every page with a summary and a link to its Markdown source, and the docs site serves it at /llms.txt. (#2)
  • esf.TokenProvider(get_token) is a login flow that calls your function for a token. The client calls it for the first request and once more after a 401, so you can reuse an existing login such as the Salesforce CLI (sf org display --json) or a token from a secrets manager. Concurrent 401 responses share one call, and AsyncSalesforce runs the function in a worker thread. (#4)
  • Agent skills ship with the library: esf-usage, esf-probe, esf-migrate, esf-testing and esf-debug. esf skills list, esf skills show NAME and esf skills install [NAME ...] [--dir DIR] [--force] copy them into .claude/skills (Claude Code) or .agents/skills (Codex). Run esf skills install --force again after you upgrade. See Coding agents.
  • sf.bulk.ingest(rows=..., columns=[...]) sets the CSV columns for dict rows that set different fields. Without it, the error for an extra field now names columns=.

Changed

  • The Apex REST guide and the esf migrate hint say that an unknown Apex REST path raises ApexError with status 404, not NotFound, and show how to map ApexError.status to an HTTP response.
  • esf migrate rewrites apexecute() to sf.apex.*, and a new bulk rule names the Bulk API 2.0 call for each Bulk v1 use. TODOs for session_id, sf_instance, toolingexecute and mdapi now name the 0.5 replacements.

Fixed

  • esf migrate no longer rewrites sf.bulk.<Obj>.query_all() as a REST query_iter() call.

Install: pip install even-simpler-salesforce==0.6.0