Skip to content

Bump Yospace dependency#107

Merged
ceyhun-o merged 7 commits into
mainfrom
bugfix/yospace/replace-removed-apis
May 27, 2026
Merged

Bump Yospace dependency#107
ceyhun-o merged 7 commits into
mainfrom
bugfix/yospace/replace-removed-apis

Conversation

@ceyhun-o
Copy link
Copy Markdown
Contributor

@ceyhun-o ceyhun-o commented May 22, 2026

This PR has similar changes to THEOplayer/android-connector#89 for Android to make the Yospace connector compatible with the latest version of the Yospace library. You can find their changelog here.

3 main changes are:

  • Replaced PlaybackMode with SessionMode for compatibility with Yospace Ad Management SDK 3.10.0+. This change brings the minimum supported Yospace Ad Management SDK version to 3.10.0.
  • Removed isPlaceholder() and isEncoded() type definitions since they were removed in Yospace Ad Management SDK 3.11.0. -> The alternatives for these are getCategory() and getStatus() according to their changelog. I haven't included these since their return types are not documented (or I couldn't find them).
  • Fixed an exception when an ad break starts without data during live playback. -> This was an existing issue on the connector and doesn't related to the version bump here. There was an exception on console from Yospace library at the beginning of every live stream (regarding getStart() being null). The change I made basically aligns the logic to what our Android connector does.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 22, 2026

🦋 Changeset detected

Latest commit: a4f9321

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@theoplayer/yospace-connector-web Major
@theoplayer/conviva-connector-web Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@MattiasBuelens MattiasBuelens added enhancement New feature or request 🔌 connector: yospace Affects the Yospace connector labels May 22, 2026
@ceyhun-o
Copy link
Copy Markdown
Contributor Author

@MattiasBuelens, before I merge this, do you have an idea why changeset bot seems to think there are some changes to @theoplayer/conviva-connector-web on this PR?

@MattiasBuelens
Copy link
Copy Markdown
Contributor

@ceyhun-o Ah right, the Conviva connector has an optional peer dependency on the Yospace connector.

Hmm. I don't think this should be a major bump for Conviva though, we should just change the peer dependency to support both majors...

I'll take a look. Don't merge yet.

@MattiasBuelens
Copy link
Copy Markdown
Contributor

Should be good now. Conviva connector will get a patch bump.

@ceyhun-o ceyhun-o merged commit dba0d71 into main May 27, 2026
1 check passed
@ceyhun-o ceyhun-o deleted the bugfix/yospace/replace-removed-apis branch May 27, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔌 connector: yospace Affects the Yospace connector enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants