Skip to content

v2.1.0 - #471

Open
sjvans wants to merge 3 commits into
mainfrom
develop
Open

v2.1.0#471
sjvans wants to merge 3 commits into
mainfrom
develop

Conversation

@sjvans

@sjvans sjvans commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Release: v2.1.0

Standing release PR — accumulates everything merged into develop for the next minor. Do not squash-merge; review and merge with a team member to satisfy the main review requirement. Description is kept up to date as PRs land on develop.

Changes so far

  • package.json / CHANGELOG.md: Bumped version to 2.1.0; added the ## Version 2.1.0 changelog section.
  • .github/workflows/ci.yml: CI (lint + test matrix) now also runs on push / pull_request to develop.
  • fix: Cloud SDK outbound requests are traced again — @sap-cloud-sdk/http-client's getter-only exports are now patched via Object.defineProperty; @sap-cloud-sdk/http-client added to devDeps so the path is exercised in CI. Adds cloud-sdk + native-fetch tracing tests.

compiled of:

sjvans added 2 commits August 7, 2026 10:03
Prepare `develop` for the next minor release.

- bump version `2.0.1` → `2.1.0`
- add `## Version 2.1.0 - tbd` changelog skeleton (Added / Changed /
Fixed)

Feature PRs merging into `develop` add their bullet under this section;
the date is set when `develop` → `main` is promoted.
Add `develop` to the CI workflow's `push` and `pull_request` branch
triggers so PRs into `develop` (the new integration branch) get lint +
the test matrix.

`main` triggers unchanged. HANA remains `workflow_dispatch`-only.
@hyperspace-pr-bot

Copy link
Copy Markdown
Contributor

Summary

The following content is AI-generated and provides a summary of the pull request:


Release: v2.1.0

Chore

🔖 Standing release PR accumulating changes from develop for the next minor version bump (2.0.12.1.0). Do not squash-merge.

Changes

  • package.json: Bumped package version from 2.0.1 to 2.1.0.
  • CHANGELOG.md: Added the ## Version 2.1.0 - tbd section with placeholder entries for Added, Changed, and Fixed.
  • .github/workflows/ci.yml: Extended CI trigger branches to include develop for both push and pull_request events, so the lint and test matrix runs on the integration branch as well.

Compiled from


  • 🔄 Regenerate and Update Summary
  • ✏️ Insert as PR Description (deletes this comment)
  • 🗑️ Delete comment
PR Bot Information

Version: 1.29.18

  • Summary Prompt: Default Prompt
  • File Content Strategy: Full file content
  • Correlation ID: fd848e30-9239-11f1-802e-ae2522cdec59
  • LLM: anthropic--claude-4.6-sonnet
  • Event Trigger: pull_request.opened
  • Output Template: Default Template

@hyperspace-pr-bot hyperspace-pr-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a clean, minimal release-preparation PR. The only thing to address before merging to main is trimming the empty changelog sub-sections (### Added, ### Changed, ### Fixed) that have no entries — leaving them in would result in bare headings in the published changelog.

PR Bot Information

Version: 1.29.18

  • LLM: anthropic--claude-4.6-sonnet
  • Correlation ID: fd848e30-9239-11f1-802e-ae2522cdec59
  • Event Trigger: pull_request.opened
  • File Content Strategy: Full file content

Comment thread CHANGELOG.md
Comment on lines +9 to +13
### Added

### Changed

### Fixed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best Practices: Empty changelog sub-sections will be published as-is if merged without content.

The ### Added, ### Changed, and ### Fixed headers under ## Version 2.1.0 are currently empty placeholders. Before merging into main, any sub-section that has no entries should be removed so the published changelog doesn't contain bare headings with nothing beneath them. Consider removing the unused sub-sections as part of the final merge preparation.

Suggested change
### Added
### Changed
### Fixed
### Changed

Double-check suggestion before committing. Edit this comment for amendments.


Please provide feedback on the review comment by checking the appropriate box:

  • 🌟 Awesome comment, a human might have missed that.
  • ✅ Helpful comment
  • 🤷 Neutral
  • ❌ This comment is not helpful

## Problem

Cloud SDK v4 exposes `executeHttpRequest` /
`executeHttpRequestWithOrigin` as **getter-only properties**. The plugin
patched them with plain assignment, which silently fails on a getter —
so the Cloud SDK outbound path (CAP's default when
`@sap-cloud-sdk/http-client` is installed) produced **no CLIENT span**
and no `sap.btp.destination`.

## Fix

Patch via `Object.defineProperty(cloudSDK, name, { value, writable:
true, configurable: true })` — `writable`/`configurable` keep the
exports re-patchable. Verified the wrapper now fires end-to-end.

## Tests

- `test/tracing-remote-cloudsdk.test.js` — Cloud SDK path: asserts a
`@cap-js/telemetry` CLIENT span with `sap.btp.destination`, and no
undici span.
- `test/tracing-remote-native.test.js` — native-fetch path: asserts the
span comes from `@opentelemetry/instrumentation-undici` (not `-http`)
with `http.*`/`url.*`/`server.*` attributes.

Both drive a real local HTTP call; gated on `cds.version >= 9`.
Changelog updated.

---------

Co-authored-by: sjvans <sjvans@users.noreply.github.com>
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