- Package with rollup
- Adds ESM support
- Removes UMD support - CJS support still exists
- Still need UMD support? Stick with v9.0.1
- Upgraded all dependencies to latest
- Bumps minimum node version to 14 (dependencies are all at 14 anyways)
- Export MediaQueryMatchers type
- Convert project to typescript
- Upgrade to Webpack 5
- Fix a memory leak with useMediaQuery hook
- Add support for React 18
- Add docs webpage
- Fix typescript output
- Fix webpack bundle issue (self is not defined)
- Improve typescript typings
- Add typing support for React 18
- Example setup with React 18
- Upgrade to Webpack 5
- Fix a bug with React 18 not re-rendering
- Convert project to typescript
- Remove UMD build from project
- Remove samples from project
- Add docs webpage
- Fix a memory leak with useMediaQuery hook
- Repo maintenance - update dev dependencies and linter. Source maps updated.
- Expose
toQuery
function for turning our MediaQuery objects into strings
- Republish of 8.0.1 - version 8.0.2 was causing issues for people and is deprecated.
- Include
src
folder in package for webpack to get proper sourcemaps
- Adds Hooks API to make everything way easier (Thanks to @Tomekmularczyk)
- See README for more info on how to use it
- [BREAKING] Change
values
prop todevice
- Adds Context support to make testing and server-side rendering much easier (Thanks to @Tomekmularczyk)
- See README for more info on how to use it
- [BREAKING] Require React v16.8.0 or higher
- Fix issue with values prop changing (#197)
- Fix
forceStatic
issue with previous release
- Fix
values
prop existence not forcing static query resolution (Thanks @Herdismaria)
- Require React v16.3.0 or higher
- Update and simplify all lifecycle functions
- Remove all support for wrapper elements
- Previously, when either
component
or non-mediaquery props were provided, we would render a wrapper element. This behavior no longer exists. - The rendering logic is now a basic ternary -
matches ? props.children : null
- Previously, when either
- Thanks to @whatknight for doing the work here.
- New changelog system, all manual now since the automated system was overcomplicated and missed things.
- Breaking:
values
property always takes precedence when provided, no matter what (#161)
- e61ec94 4.0.5 (@contra)
- a8ec8e6 pre-release (@contra)
- #146 Guard against null children (@lunaleaps)
- 3b40652 Guard against null children (@lunaleaps)
- 6e1a359 4.0.2 (@contra)
- b78938d 4.0.0 (@contra)
- bd1c554 deps (@contra)
- #132 fix: support React 16 fragments (@jessepinho)
- aefef55 chore: build assets (@jessepinho)
- 184b88e style: make wrapChildren one line (@jessepinho)
- 95edc69 feat: don't wrap strings, either (@jessepinho)
- 0436fb5 chore: update React peer dependency (@jessepinho)
- 36f8372 fix: support React 16 fragments (@jessepinho)
- #130 docs(CHANGELOG): 3.0.0 (@evenchange4)
- aaceb45 docs(CHANGELOG): 3.0.0 (@evenchange4)
- #129 Fix view duplication in common uses example (@sonaye)
- 55a0f47 Fix view duplication in common uses example (@sonaye)
- edbd8e7 3.0 (@contra)
- 8a318fe 3.0.0 (@contra)
- 6bf6814 deps (@contra)
- #128 Fix linter and tests (@refinery29)
- 71b611e Fix repo attribution (@cribbles)
- 4e8186a Fix test (import as default) (@cribbles)
- ce0475b Lint (remove semicolon) (@cribbles)
- 73e2862 Add toQuery to default exports (@cribbles)
- #124 Export toQuery function directly since src folder is no longer exported (@morganmccrory)
- f5d9b8b Export toQuery function directly since src folder is no longer exported (@morganmccrory)
- fb23be4 log (@contra)
- dee5570 2.0.0 (@contra)
- 24ff262 stupid lock file (@contra)
- cb120f8 house clean (@contra)
- 1e05b0c housekeeping (@contra)
- 14004ab housekeeping (@contra)
- 8ff7425 rebuild (@contra)
- #120 support react 16. (@whatknight)
- 6b300d7 Merge branch 'master' into react16 (@contra)
- #119 Housekeeping (@whatknight)
- #121 Update README.txt (@vpicone)
- 1d19af9 Update README.txt (@vpicone)
- bb69da2 support react 16. (@whatknight)
- e78cab9 bump sinon (@whatknight)
- 8380bd9 update webpack (@whatknight)
- 9429386 remove transform runtime (@whatknight)
- 48b2a33 update test deps (@whatknight)
- 81d9d18 update eslint (@whatknight)
- 307b31d update babel config (@whatknight)
- #117 Update README.md (@modosc)
- 0b4d019 Update README.md (@modosc)
- c55a77e closes #116 (@contra)
- c93ac7a 1.3.4 (@contra)
- #109 fix Cannot read property 'removeListener' of undefined (@modosc)
- ea3d577 update matchmediaquery@^0.2.1
- 3687115 fix Cannot read property 'removeListener' of undefined
- 83c2409 1.3.3 (@contra)
- 58fdb89 1.3.3 (@contra)
- e3781d2 diff (@contra)
- #108 fix PropTypes warnings, fix react-addons-test-utils deprecation, fix … (@modosc)
- 49919d0 fix PropTypes warnings, fix react-addons-test-utils deprecation, fix eslint to work with test/
- 9957f24 1.3.2 (@contra)
- a595593 1.3.2 (@contra)
- 516f270 merge (@contra)
- 40fe34e build (@contra)
- 85ae4cd build (@contra)
- 69cde10 changes (@contra)
- #106 Fixing a memory leak. (@ncochard)
- 00af280 1.3.1
- 1e8dcb9 Created 'matchmediaquery' as a replacement for 'matchmedia'.
- 6df7684 Fix for a memory leak.
- #102 Close #74 (@WRONGWAY4YOU)
- 7877b80 Merge branch 'master' into iss74 (@wrongway4you)
- 374b290 Close #74 (@wrongway4you)
- 4156475 Merge branch 'remove-npm-bin-prefixes' (@wrongway4you)
- #101 Remove unneeded "$(npm bin)/" prefixes (@WRONGWAY4YOU)
- adfaf69 Remove unneeded "$(npm bin)/" prefixes in
package.json
(@wrongway4you) - #100 Document common use cases (@sonaye)
- b917322 Document common use cases (@sonaye)
- 44a7bf8 1.3.0 (@contra)
- #97 Add onChange and onChangeBefore callbacks (@hiddenboox)
- 6cb52b1 Add onBeforeChange callback (@hiddenboox)
- #96 Adding demo link to readme (@scottwarren)
- 5836dfe Adding link to readme (@scottwarren)
- 2c6b00d Add onChange callback (@d4rky-pl)
- 07849af 1.2.9 (@contra)
- #90 Replace proptypes in index file (@rmdort)
- a4a9120 Removed React proptype in index (@rmdort)
- c1a8081 Spellfix (@rmdort)
- 0d7ffb6 Replace react proptypes (@rmdort)
- 48c303f build (@contra)
- 4778c1e 1.2.8 (@contra)
- #88 Added prop-type library for React 16 (@rmdort)
- 7039ef6 Added prop-type library for react 16 (@rmdort)
- #86 docs(readme): add install part (@kud)
- 4665934 docs(readme): add install part (@kud)
- 8c53639 changelog (@contra)
- ee6b142 1.2.7 (@contra)
- #83 Add react 0.14.x as potential peer dep (@jesstelford)
- 29266f0 Peer dep on all react versions (@jesstelford)
- 1007031 Add react 0.14.x as potential peer dep (@jesstelford)
- bc69299 changes (@contra)
- 342621d 1.2.6 (@contra)
- #78 Removed babel-polyfill (@vjancik)
- ebfeec0 Removed babel-polyfill (@vjancik)
- 9b91c9c #66 (@contra)
- 56b794a dist fix (@contra)
- d337ce3 1.2.2 (@contra)
- #70 Wrap children if it's single-element array (@Instamotor-Labs)
- 341fdec Wrap children if it's single-element array (@skydan)
- #65 Use ES2015 (@whatknight)
- 1b07af3 Clean up webpack file syntax. (@whatknight)
- b72e2c0 Update source to ES2015 syntax. (@whatknight)
- 94dbf57 add gitbook stuff. (@whatknight)
- 6aa759d autofix lint errors (@whatknight)
- 902d432 Use eslint instead of jshint. (@whatknight)
- 9b22166 Remove gulp. (@whatknight)
- 2810466 Build using babel and webpack. (@whatknight)
- 43b5741 update author, license, and urls. (@whatknight)
- 477174c 1.2.1 (@contra)
- f185c21 rebuild (@contra)
- 7895cde 1.2.0 (@contra)
- #64 Pass function as children. (@whatknight)
- 5ce699b Add space to readme. (@whatknight)
- b27da86 Update docs with new feature. (@whatknight)
- 80fddd9 Add ability to render with a function as the component child. (@whatknight)
- b6364b6 1.1.5 (@contra)
- #62 Fix for Uncaught Invariant Violation #56. (@rhavill)
- 3199bef Added unit test to make sure MediaQuery render function can handle an empty array as children.
- fdb34e8 Fix for Uncaught Invariant Violation #56. Return null from render function when MediaQuery has no children.
- #61 Small fixes to indentation in README (@TSMMark)
- b75d5d8 small fixes to indentation in README (@TSMMark)
- eac6444 1.1.4 (@contra)
- #58 Doesn't throw error with empty children (@nkov)
- df33365 doesnt throw error with empty children (@nkov)
- ba1cb39 1.1.3 (@contra)
- #53 Always wrap children if it's a string. (@whatknight)
- 23f35cb Always wrap children if it's a string. (@whatknight)
- 02dd120 add dev dep for react (@contra)
- #52 Add testing with jsdom. (@whatknight)
- #51 Fix bug where string would cause invariant error. (@whatknight)
- 55707f1 Add testing with jsdom. (@whatknight)
- 7dacb42 Fix bug where string would cause invariant error. (@whatknight)
- 8d03ff0 1.1.2 (@contra)
- #47 Bump react peer dependency to allow v15 (@cesarandreu)
- 87619fe Bump react peer dependency to allow v15 (@cesarandreu)
- #46 Use API to examine number of children (@jdlehman)
- 6c75c26 Use API to examine number of children (@jdlehman)
- c82c671 1.1.1 (@contra)
- #39 fixed usage of Object.assign for older browsers (@pekeler)
- ce639c9 fixed usage of Object.assign for older browsers (@pekeler)
- cfff39a 1.1.0 (@contra)
- #37 Without lodash (@pekeler)
- ea47d21 reverted spelling, dist (@pekeler)
- 26e540d reverted spelling (@pekeler)
- 1cd1947 readded old react versions (@pekeler)
- #38 reverted stupid spelling (@pekeler)
- 996f15e reverted stupid spelling (@pekeler)
- #36 Newer dependencies (@pekeler)
- 83f461b replaced lodash.omit with own implementation to reduce total file size (@pekeler)
- 4534c1f make npm test work (@pekeler)
- 5cd9036 updated to latest dependecies, sample can't be easily backwards compatible with old react versions so we focus on the latest react (@pekeler)
- 29d0d08 more readme info (@contra)
- b4ce24e 1.0.1 (@contra)
- #32 Add children to excluded keys (@ch2ch3)
- 30b3f9f Add children to excluded keys (@ch2ch3)
- a20d7f3 1.0.0 (@contra)
- #30 Do not require a component to wrap MediaQuery children (@jdlehman)
- 27c09e5 Pass props to single child even if not using a wrapper (@jdlehman)
- 56ecbb2 Add documentation for component prop (@jdlehman)
- 4543f17 Do not require a component to wrap MediaQuery children (@jdlehman)
- 62af1d5 0.0.10 (@contra)
- #28 support react 0.14 (@0x80)
- d1dc1e9 support react 0.14 (@0x80)
- #26 Allow for react 0.14.0-rc1 as peer-dependency (@npasserini)
- b3e687d Allow for react 0.14.0-rc1 as peer-dependency (@npasserini)
- 969736a 0.0.8 (@contra)
- #18 There is possible memory leak and bug leads to many listeners. It is … (@vavdav)
- d435265 There is possible memory leak and bug leads to many listeners. It is necessary to remove listener before creating new object. (@vavdav)
- #17 Add support for React 0.14.0-beta1 (@frederickfogerty)
- 45861f7 Update package.json (@frederickfogerty)
- 84fb5a8 Add support for React 0.14.0-beta1 (@frederickfogerty)
- #16 Use
hyphenate-style-name
module instead of React internal (@rexxars) - 7046106 Use
hyphenate-style-name
module instead of React internal (@rexxars)
- e9214ce 0.0.6 (@contra)
- 7bcb9b5 fix linting (@contra)
- #12 Provide more flexible React peer dependency range (@colindresj)
- 7db99e3 Provide more flexible React peer dependency range (@colindresj)
- #11 switch to matchmedia module for client/server abstraction (@phated)
- 7d05ab6 change names to MediaQuery and add
all
type (@phated) - 39ab71d add type property (@phated)
- 6c6054a update readme (@phated)
- 48e6c5d update reactify, add example, use React.PropTypes.shape to define values (@phated)
- 759154b switch to matchmedia module for client/server abstraction (@phated)
- 72f4e25 0.0.5 (@contra)
- acef7f0 lint fixes (@contra)
- #10 fix usage of idiomatic react props (@ChrisSki)
- 27e9f25 remove propTypes: types (@ChrisSki)
- 6f4b364 actually remove types this time (@ChrisSki)
- dcdea6a remove types prop (@ChrisSki)
- 207a385 fix usage of idiomatic react props (@ChrisSki)
- 4f91d06 0.0.4 (@contra)
- 609e3ae fix linter (@contra)
- #9 mergeInto removed and window checked (@fvitullo)
- c9eef42 fixes #7
- 26f2e95 mergeInto replaced with object-assign
- 085d2f3 0.0.2 (@contra)
- f5674b6 react 0.12 (@contra)
- d6c4a4b readme (@contra)
- d713f0b docs (@contra)
- af44f6c respond to prop changes (@contra)
- 1413782 basically done (@contra)
- ec2ed95 start on js -> mq thing (@contra)
- c145e0b fixdemo (@contra)
- ef59366 demo (@contra)
- 8c08276 yo (@contra)
- 891ed6e fix readme (@contra)
- dc3fb1b initial (@contra)