Skip to content

Releases: tbjgolden/media-query-parser

v3.0.2

28 Feb 10:05
Compare
Choose a tag to compare

Other commits

  • fix: cjs exports es6 code, min node version v6.5
  • fix: remove node engine warning for pre esm versions of node

v3.0.1

28 Feb 09:40
Compare
Choose a tag to compare

Other commits

  • fix: enable cjs support
  • docs: update readme
  • docs: improve playground load
  • chore: remove unused file
  • docs: removed old section of docs
  • docs: smaller image

v3.0.0

27 Feb 20:32
Compare
Choose a tag to compare

Feature updates

  • Faster
  • Full media-queries-5 support
  • Added start and end indexes for the source code
  • Exposed the CSS tokens for the "general enclosed" production to enable processing custom extensions to media queries

Major changes (breaking)

  • Major changes to the shape of the AST to better reflect the actual structure of media queries
  • Removed some exports that were intended to be internal only

Also

  • Fixed some niche bugs with unusual inputs
  • More tests
  • Better api docs and playground

v3.0.0-beta.3

10 Aug 10:47
Compare
Choose a tag to compare
v3.0.0-beta.3 Pre-release
Pre-release
prerelease

Major changes (breaking)

  • feat!: bad mq in mql is undefined, updated docs

v3.0.0-beta.2

08 Aug 10:39
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release
prerelease

Contains breaking changes.

Not expecting the API to change significantly between this release and 3.x.

  • build: update check for new api
  • fix: removed redundant internals for ts
  • build(deps-dev): audit fix
  • refactor: update other parts to match new parser
  • chore: update dep
  • test: added more tests

v3.0.0-beta.1

13 Jun 21:15
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release
prerelease

This beta release contains breaking changes from beta.0.

Beta updates

  • feat: strip undefined from response shape
  • feat: removed featureName from range
  • feat: mediaType: "all" => mediaType: undefined
  • docs: updated docs
  • fix: more fixes and tests and updated readme
  • fix: incorrect behaviour with or
  • more test coverage

v3.0.0-beta.0

12 Jun 09:10
Compare
Choose a tag to compare
v3.0.0-beta.0 Pre-release
Pre-release
prerelease

Major changes (breaking)

  • feat: upgraded toolchain (and as such will require ESM support)
  • feat: improve ast
  • feat: limited the package's exports to make it more usable and maintainable

Feature updates

  • feat: generator
  • feat: variable refactors
  • feat: sourcecode indexes
  • feat: improved lexer that follows spec

Other commits

  • unknown: Merge pull request #6 from tbjgolden/new-toolchain
  • fix: removed mutation from flatten
  • docs: preparation for merge to main
  • docs: cleanup docs
  • docs: restore old docs
  • chore: update checkbuild to match new api
  • docs: added documentation
  • fix: fixed some bugs
  • fix: mq list parsing and bad tokens
  • chore: upload lockfile
  • chore: migrated source code and got tests passing
  • chore: new toolchain initial commit
  • docs: update badge on readme
  • unknown: Merge pull request #4 from tbjgolden/housekeeping
  • docs: updated docs

v2.0.2

27 Mar 21:24
Compare
Choose a tag to compare

2.0.2 (2022-03-27)

Bug Fixes

  • false negatives with nested or (ef6703c)

v2.0.1

27 Mar 18:44
Compare
Choose a tag to compare

2.0.1 (2022-03-27)

Bug Fixes

  • fixed some small bugs and upped coverage (5b64544)

v2.0.0

27 Mar 15:40
Compare
Choose a tag to compare

2.0.0 (2022-03-27)

Features

  • when a media query fails to parse, it throws (b58bdda)

BREAKING CHANGES

  • parsing now throws errors with messages to help
    indicate why parsing failed; this obviously breaks code from prev
    versions.