Skip to content

Commit 3edf956

Browse files
authored
Merge pull request #66 from saasquatch/widget-load-improvements
Widget load improvements
2 parents 9286061 + 3f69c73 commit 3edf956

43 files changed

Lines changed: 8009 additions & 4796 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.8.3] - 2026-04-01
11+
12+
### Added
13+
14+
- Preconnect and dns-prefetch resource hints for Cloudinary and Google Fonts to improve widget load performance
15+
- Initial height support from `brandingConfig.loadingHeight` for both embed and popup widgets
16+
- Loading skeleton displayed in declarative widgets while widget content loads
17+
18+
### Changed
19+
20+
- Replaced `debug` npm package with lightweight custom logger (~4-5KB bundle savings)
21+
- Switched from `resize-observer-polyfill` to native `ResizeObserver`
22+
- Enabled esbuild minification in Vite build config
23+
24+
### Fixed
25+
26+
- Fixed `brandingConfig` being undefined for passwordless widgets in `Widgets.render()`
27+
- Fixed popup widget `_createPopupDialog` to accept brandingConfig as parameter
28+
1029
## [2.8.2] - 2026-03-16
1130

1231
### Fixed
@@ -393,9 +412,10 @@ No release notes.
393412
394413
No release notes.
395414
396-
[unreleased]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.2...HEAD
397-
[2.8.2]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.7.0...@saasquatch%2Fsquatch-js@2.8.2
398-
[2.8.1]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.7.0...@saasquatch%2Fsquatch-js@2.8.1
415+
[unreleased]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.3...HEAD
416+
[2.8.3]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.2...@saasquatch%2Fsquatch-js@2.8.3
417+
[2.8.2]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.1...@saasquatch%2Fsquatch-js@2.8.2
418+
[2.8.1]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.0...@saasquatch%2Fsquatch-js@2.8.1
399419
[2.8.0]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.7.0...@saasquatch%2Fsquatch-js@2.8.0
400420
[2.7.0]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.6.3...@saasquatch%2Fsquatch-js@2.7.0
401421
[2.6.3]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.6.2...@saasquatch%2Fsquatch-js@2.6.3

babel.config.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

babelregister.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ require("@babel/register")({
1111
corejs: 2,
1212
},
1313
],
14-
"@babel/plugin-proposal-class-properties",
1514
],
1615
});

demo/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist
2-
.cache
2+
.cache
3+
perf-deploy/*.html

0 commit comments

Comments
 (0)