Releases: Topsort/banners.js
Releases · Topsort/banners.js
v0.8.2
What's Changed
- test: improve unit test coverage from 85% to 91% by @anonvt in #136
- docs: require admin override check before merging by @anonvt in #137
- fix: make searchQuery independent of category in buildAuction by @anonvt in #138
- docs: require 5-minute wait after CI before admin merge by @anonvt in #139
- fix: only post size-limit report when bundle exceeds limits by @anonvt in #141
- feat: add card styles to predefined template snippets in playground by @anonvt in #142
- fix: use pnpm exec vite in e2e webServer command by @anonvt in #144
- docs: run pre-merge wait in background to keep session responsive by @anonvt in #143
- fix: bypass pnpm in e2e webServer to avoid nested pnpm hang by @anonvt in #145
- docs: update CLAUDE.md - change 5-min wait from CI finish to PR open by @anonvt in #146
- chore(deps): update dependency @biomejs/biome to v2.4.5 by @renovate[bot] in #140
- docs: update CODEOWNERS to target code files only by @anonvt in #147
- fix: use **/ prefix in CODEOWNERS for recursive matching by @anonvt in #148
- fix: add missing fallback placeholder images for playground by @anonvt in #149
- fix: include public/ assets in GitHub Pages deployment by @anonvt in #150
- fix: use relative paths for fallback SVGs in demo by @anonvt in #151
- chore(deps): update dev tooling by @renovate[bot] in #152
- fix: emit statechange event from topsort-banner-slot in context mode by @barbmarcio in #161
- chore: v0.8.2 by @barbmarcio in #163
Full Changelog: v0.8.1...v0.8.2
v0.8.1
0.8.1
- Support explicit
key:targetsyntax indata-ts-field(e.g.data-ts-field="mainImage:src") for deterministic bindings without tag-based inference - Support comma-separated multiple bindings on a single element (e.g.
data-ts-field="mainImage:src, altText:alt") - Bare-key
data-ts-fieldusage (implicit tag-based inference) now logs a one-time deprecation warning - Bindings to attributes that don't exist on the element are skipped with a warning, enforcing fallback values in templates
- Update Lit to v3.3.2
v0.8.0
0.8.0
- Add support for fallback banners (
isFallback) returned by the auction API - Omit
data-ts-resolved-bidattribute on fallback banners to prevent false attribution - Add
predefinedattribute to<topsort-banner>and<topsort-banner-slot>for inline predefined content support - When
predefinedis set, child elements annotated withdata-ts-fieldare mutated in place on auction success, preserving all existing markup, classes, ARIA attributes, and event listeners - Support
data-ts-attroverride for targeting a specific attribute instead of the element-type default - On auction failure or no winners, predefined content remains untouched and visible
- Error (not silent broken image) when a predefined-content winner arrives on a non-predefined component
v0.7.0
What's Changed
- feat: add IIFE bundle for legacy systems by @barbmarcio in #64
- chore: 0.7.0 by @barbmarcio in #65
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
- fix: Load HLS through dependency injection by @frankpizzella-topsort in #58
- chore: switch npm auth token for publishing by @jbergstroem in #60
- build(deps-dev): bump vite from 5.2.9 to 5.4.20 by @dependabot[bot] in #53
- chore: update deps as of 251124 by @jbergstroem in #62
- chore(deps): brace-expansion v4.0.1 by @jbergstroem in #63
- feat: add custom user ID support and opaque user ID handling by @FelipeRiveraC in #59
Full Changelog: v0.5.2...v0.6.0
v0.5.2
Replace the cloudflare video iframe with hls.js which improves load times and overall UX.
What's Changed
- fix: use HLS.js to play videos by @frankpizzella-topsort in #56
- chore: v0.5.2 by @jbergstroem in #57
v0.5.1
New patch release to organize package version numbers across platforms.
What's Changed
- chore: v0.5.1 by @jbergstroem in #55
v0.5.0
What's Changed
- docs: fix typo in README code snippet by @willemschots in #46
- feat: Add video support to banners.js by @borumy-topsort in #52
- chore: enable trusted publishing by @jbergstroem in #54
v0.4.0
What's Changed
- feat: add option to open target in a new tab by @anonvt in #40
- fix: X-UA header device type typo by @jasanchez1 in #45
- feat: banner-context by @PabloReszczynski in #44
Full Changelog: 0.3.0...v0.4.0
v0.3.0
What's Changed
- fix: initialize pnpm in release action by @jbergstroem in #34
- docs(readme): update slot-id to id in the banner component by @jasanchez1 in #37
- doc(changelog): update changelog by @jasanchez1 in #38
- feat: add multicategory query support by @anonvt in #39
- chore: use @lit/task library to manage async tasks for fetching the banner from the auction by @PabloReszczynski in #42
- fix: task is constantly retrying by @PabloReszczynski in #43
Full Changelog: v0.2.0...v0.3.0