Skip to content

Release notes

  • Testing Infrastructure: Migrated from Web Test Runner to Vitest with Browser testing:

    • Removed Web Test Runner dependencies and configuration
    • Removed old test file (o-embed_test.ts)
    • All tests now use Vitest browser testing with Playwright
  • Type Safety: Enhanced test suite with type checking (#42)

    • Added TypeScript type checking to Vitest configuration
    • Support for .test-d.ts type tests that validate component types
    • Isolated type checking within the package to prevent cross-package type issues
  • Build System: TypeScript and module resolution improvements (#45)

    • Updated moduleResolution to "bundler" for modern tooling compatibility
    • Added skipLibCheck to handle third-party type declaration issues
    • Applied Biome 2.0 formatting rules across all source files
    • Improved import organization and code consistency
  • README overhaul: Completely revitalized documentation with:

    • Clearer introduction and value proposition
    • Improved installation and usage instructions
    • Enhanced code examples
    • Better formatting and structure
  • Migration Notes: Added detailed documentation on the migration from Web Test Runner to Vitest, including completed tasks and remaining items.

Additional details on the next release will go here.

  • OEmbedElement.ts: Removed usage of the Provider enum.
    • Now checks provider.name (a string) from getProviderFromUrl(...).
    • Fallback logic for valid but unknown URLs creates a generic <iframe>, and invalid URLs produce a “No provider found” message.
  • Refactored <o-embed> to handle the new approach from @social-embed/lib:
    • No direct enum references—just .name for recognized providers.
    • Cleaned up dimension logic and error handling.
    • Consolidated allowfullscreen checks into a single helper method (shouldAllowFullscreen()).
  • Added fallback tests:
    • For unrecognized but valid URLs (renders a plain <iframe>).
    • For invalid URLs (renders a “No provider found…” message).
  • Existing YouTube, Vimeo, DailyMotion, EdPuzzle, Loom, Wistia tests remain valid and updated to confirm the new approach.

Maintenance release only, no bug fixes or new features.

  • Package manager: yarn classic -> pnpm (#29)
  • @social-embed/lib: From v0.1.0-next.8 to v0.1.0-next.9

Re-release of 0.1.0-next.9 with dist/ artifacts included.

Yanked: Missing build artifacts.

Maintenance release only, no bug fixes or new features.

  • @social-embed/lib: From v0.1.0-next.7 to v0.1.0-next.8
  • Update @web/dev-server-esbuild 0.4.4 -> 1.0.0 (release notes) (#14)

  • Update @web/test-runner + @web/test-runner-puppeteer (#15)

  • Docs (README): Further README updates in relation to vite
  • Docs (README): Fix links and example code
  • Bump lib to v0.1.0-next.5

    Dev package updates

  • Prettier: Add css and JS import ordering (#9)

  • Bump lib to v0.1.0-next.4

    Lib has improved prettier linting, including css rule and import ordering.

  • Include typings

  • Bump lib dependency to v0.1.0-next.3 (Fix typing inclusion in package.json)

See commits

  • Bump lib dependency to v0.1.0-next.2 (adds typings)

See commits

  • Move to vite (#8)
  • Bump lib dependency to v0.1.0-next.1

See commits

  • Bump @social-embed/lib from 0.1.0-next.12 -> 0.0.2-next.1

See commits

  • Move from tsc to rollup (#43)

    This handles legacy builds and UMD build (for documentation)

    Before hand, site/ had its own rollup configuration just for handling a UMD build.

See commits

Update lit-element to lit

See commits

See commits

  • DailyMotion: Fix dimension customization

See commits

  • Update lib to @social-embed/lib to ^0.1.0-next.12 to assure generic regexes provided.
  • Rollup: 2.50.5 -> 2.50.6

See commits

  • Accept css variables in generic iframe embeds
  • Update TypeScript 4.2 -> 4.3
  • Fallback to iframes for valid URLs not supported in providers
  • <o-embed> is now a block-level element
  • More dimension support, add examples to docs
  • Support passing --social-embed-iframe-width and --social-embed-iframe-height
  • Added normal documentation: https://social-embed.git-pull.com/wc/
  • #29 - Simplify test runner with esbuild. No need to wait for builds to dist/
  • Disable specRunner (runs before diff outputs on errors, making errosr harder to see. Also the logger.log() doesn’t work from the earlier example.
  • #30: Add loom, wistia and edpuzzle