Skip to content

v3.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 17:44
a7709db

3.0.0 (2025-11-23)

⚠ BREAKING CHANGES

  • change non-ES5 artifacts to target ES2021
  • fallback to main/module fields for bundlers that do not support exports field, instead of browser field
  • rename min-width/max-width in content attribute to minimum-width/maximum-width
  • provide artifacts with and without GlobalParameters support
  • remove setContent function
  • use attributes of all viewport meta elements as parameters
  • do not warn or fall back to defaults for invalid Content values
  • always use width of window when scale is 1 for comparison with minimum and maximum width
  • provide artifacts with and without side effects
  • avoid retaining state
  • provide ES2022 and ES5 artifacts
  • handle .ts and .js extensions as ES modules
  • aggregate artifacts into one directory
  • remove ViewportExtra class

Features

  • add min-width/max-width as alternatives to minimum-width/maximum-width (418dab0)
  • provide artifacts with and without GlobalParameters support (7107dee)
  • provide artifacts with and without side effects (06a2515)
  • provide ES2022 and ES5 artifacts (e01b358)

Bug Fixes

  • fallback to main/module fields for bundlers that do not support exports field, instead of browser field (3d75511)
  • link artifacts and source maps with sourceMappingURL (04cd287)

Miscellaneous Chores

  • change non-ES5 artifacts to target ES2021 (5670b66)
  • aggregate artifacts into one directory (10dd103)
  • always use width of window when scale is 1 for comparison with minimum and maximum width (fea3f9b)
  • avoid retaining state (573eb1d)
  • do not warn or fall back to defaults for invalid Content values (6f79e93)
  • handle .ts and .js extensions as ES modules (5e818eb)
  • remove setContent function (237c991)
  • remove ViewportExtra class (a7914d8)
  • rename min-width/max-width in content attribute to minimum-width/maximum-width (bad4492)
  • use attributes of all viewport meta elements as parameters (2589a42)