Introduces the full, stabilized version of Object Mapping, as well as very simple retries that should make Session.run() handle rate-limiting on Aura more gracefully. Alongside a number of minor fixes.
⭐ New Features
- Stabilized Record Object Mapping and introduced Parameter Object Mapping. #1362 #1407 NOTE: A usage guide can be found in the PR description on #1407
- Add single-shot retry for Idempotent errors on
Session.run(), these will currently only trigger on errors caused by Aura rate-limiting. #1404
🔧 Fixes
- Correct TypeScript exports for Record Object Mapping. #1359
- Improve error message for starting work on a busy session. #1363
- Fix error handling for unexpected errors in Authentication Provider. #1366
- Fix issue causing SNI deprecation warnings when correcting to an IP. #1369
- Eagerly send discard on close if connection is waiting to pull more, solves issue related to corner-case missuse that could make the driver release an unclean connection to the pool. #1403
- Do not mark Result as consumed when
Result.keys()is awaited. #1402