Skip to content

feat: Web SDK update for version 25.1.1#171

Merged
abnegate merged 2 commits into
mainfrom
dev
May 19, 2026
Merged

feat: Web SDK update for version 25.1.1#171
abnegate merged 2 commits into
mainfrom
dev

Conversation

@ArnabChatterjee20k
Copy link
Copy Markdown
Member

@ArnabChatterjee20k ArnabChatterjee20k commented May 19, 2026

This PR contains updates to the Web SDK for version 25.1.1.

What's Changed

  • Fixed: Removed Advisor service and Insight, InsightCTA, InsightList, Report, ReportList models (admin-only endpoints, not intended for client SDKs)
  • Added: sizeActual field to File model

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 19, 2026

Greptile Summary

This PR bumps the Web SDK from 25.1.0 to 25.1.1, removing the Advisor service (admin-only, not intended for client SDKs) and adding the sizeActual field to the File model.

  • Removes src/services/advisor.ts, its export from src/index.ts, all five related model types (Insight, InsightCTA, InsightList, Report, ReportList) from src/models.ts, and the four advisor documentation examples.
  • Adds sizeActual: number as a required field to the Models.File type, positioned after sizeOriginal, and updates the CHANGELOG to document both changes.
  • Version is bumped consistently across package.json, package-lock.json, src/client.ts, and the README CDN URL.

Confidence Score: 5/5

The change is a straightforward cleanup and additive field — no logic is modified, only removed and extended.

All removals (service file, model types, exports, docs) are internally consistent. The new sizeActual field is non-optional, matching the convention of every other field in the File model, and the CHANGELOG now correctly enumerates all five removed types. Version numbers are in sync across all four locations that carry them.

No files require special attention.

Important Files Changed

Filename Overview
src/models.ts Removes Advisor-related models (InsightList, ReportList, Insight, InsightCTA, Report) and adds required sizeActual field to the File type, consistent with the rest of the model's non-optional fields.
src/index.ts Advisor service export removed; remaining exports are unchanged and consistent with the deleted service file.
src/client.ts x-sdk-version header bumped from 25.1.0 to 25.1.1, matching package.json.
src/services/advisor.ts File deleted in its entirety; the removal is consistent with the index.ts export removal and CHANGELOG entry.
CHANGELOG.md 25.1.1 entry correctly lists all five removed model types (Insight, InsightCTA, InsightList, Report, ReportList) and the new sizeActual field addition.
package.json Version bumped to 25.1.1, consistent with package-lock.json and client.ts header.

Reviews (2): Last reviewed commit: "chore: update Web SDK to 25.1.1" | Re-trigger Greptile

Comment thread CHANGELOG.md Outdated
@abnegate abnegate merged commit 2460ef6 into main May 19, 2026
2 checks passed
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.

2 participants