|
1 | 1 | # Changelog
|
| 2 | + |
2 | 3 | All notable changes to this project will be documented in this file.
|
3 | 4 |
|
4 | 5 | The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5 | 6 | and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6 | 7 |
|
7 | 8 | ## [Unreleased]
|
8 | 9 |
|
| 10 | +## [2.2.0] |
| 11 | + |
| 12 | +### Added |
| 13 | + |
| 14 | +* react-container-query module |
| 15 | +* doc updates |
| 16 | +* various refactorings |
| 17 | + |
9 | 18 | ## [2.1.0]
|
| 19 | + |
10 | 20 | ### Added
|
11 |
| -- [size-limit](https://github.com/ai/size-limit) for limiting bundle sizes |
| 21 | + |
| 22 | +* [size-limit](https://github.com/ai/size-limit) for limiting bundle sizes |
12 | 23 |
|
13 | 24 | ### Changed
|
14 |
| -- Dependency updates |
| 25 | + |
| 26 | +* Dependency updates |
15 | 27 |
|
16 | 28 | ### Fixed
|
17 |
| -- Missing `NodeList.forEach` #72 |
| 29 | + |
| 30 | +* Missing `NodeList.forEach` #72 |
18 | 31 |
|
19 | 32 | ## [2.0.0] - 2017-09-04
|
| 33 | + |
20 | 34 | ### Added
|
21 |
| -- New diffing algorithm, which keeps track of the container's status (which |
22 |
| -query was applied already) and applies / removes the least amount of new styles |
23 |
| -possible. |
24 |
| -- r-units produce a value with limited precision. This is 2 by default, which |
25 |
| -can be changed in the Container options as `valuePrecision`. |
26 |
| -- `singleContainer` option (true by default), which makes the use of |
27 |
| -`@define-container` unnecessary for single-file containers. (Works well with |
28 |
| -Component-based architecture.) |
29 |
| -- Support for using r-units with css custom props. ie: `--rw: 1rw;` |
| 35 | + |
| 36 | +* New diffing algorithm, which keeps track of the container's status (which |
| 37 | + query was applied already) and applies / removes the least amount of new styles |
| 38 | + possible. |
| 39 | +* r-units produce a value with limited precision. This is 2 by default, which |
| 40 | + can be changed in the Container options as `valuePrecision`. |
| 41 | +* `singleContainer` option (true by default), which makes the use of |
| 42 | + `@define-container` unnecessary for single-file containers. (Works well with |
| 43 | + Component-based architecture.) |
| 44 | +* Support for using r-units with css custom props. ie: `--rw: 1rw;` |
30 | 45 |
|
31 | 46 | ### Changed
|
32 |
| -- Published the runtime and the postcss plugin separately, both of which reside |
33 |
| -in the same monorepo. (Thanks to [Lerna](https://github.com/lerna/lerna)) |
34 |
| -- Container instances are auto-adjusting themselves on size change by default. |
35 |
| -(`adjustOnResize` option.) |
36 |
| -- Bundling with Rollup instead of just transpiling the source. This gives better |
37 |
| -control over what is exposed, makes it easy to support other module formats in |
38 |
| -the future, and integrates Babel seemlessly. |
| 47 | + |
| 48 | +* Published the runtime and the postcss plugin separately, both of which reside |
| 49 | + in the same monorepo. (Thanks to [Lerna](https://github.com/lerna/lerna)) |
| 50 | +* Container instances are auto-adjusting themselves on size change by default. |
| 51 | + (`adjustOnResize` option.) |
| 52 | +* Bundling with Rollup instead of just transpiling the source. This gives better |
| 53 | + control over what is exposed, makes it easy to support other module formats in |
| 54 | + the future, and integrates Babel seemlessly. |
39 | 55 |
|
40 | 56 | ### Removed
|
41 |
| -- Removed support for the container and css unit combinations - like chpx - in |
42 |
| -favour of rw/rh/rmin/rmax units. |
43 |
| -- Removed `initialiseAllContainers`. It'll be turned to a demo instead in the |
44 |
| -future. |
45 |
| -- Removed some of the limitation on r-units. Paddings, for example can now use |
46 |
| -them. |
47 | 57 |
|
| 58 | +* Removed support for the container and css unit combinations - like chpx - in |
| 59 | + favour of rw/rh/rmin/rmax units. |
| 60 | +* Removed `initialiseAllContainers`. It'll be turned to a demo instead in the |
| 61 | + future. |
| 62 | +* Removed some of the limitation on r-units. Paddings, for example can now use |
| 63 | + them. |
48 | 64 |
|
49 | 65 | ## [1.3.0] - 2017-06-07
|
| 66 | + |
50 | 67 | ### Added
|
51 |
| -- Resize Observer can be enabled (will be the default behaviour in 2.0.0) |
52 |
| -- Resize observation can be switched on / off. |
53 |
| -- First adjustment on Container instantiation can be switched off |
| 68 | + |
| 69 | +* Resize Observer can be enabled (will be the default behaviour in 2.0.0) |
| 70 | +* Resize observation can be switched on / off. |
| 71 | +* First adjustment on Container instantiation can be switched off |
54 | 72 |
|
55 | 73 | ### Changed
|
56 |
| -- Dependency upgrades |
| 74 | + |
| 75 | +* Dependency upgrades |
57 | 76 |
|
58 | 77 | ## [1.2.6] - 2017-03-26
|
| 78 | + |
59 | 79 | ### Fixed
|
60 |
| -- Fixed exports for non es-6 environments |
| 80 | + |
| 81 | +* Fixed exports for non es-6 environments |
61 | 82 |
|
62 | 83 | ## [1.2.5] - 2017-03-25
|
| 84 | + |
63 | 85 | ### Fixed
|
64 |
| -- Fixed a bug where the postcss plugin processed nodes it shouldn't have |
| 86 | + |
| 87 | +* Fixed a bug where the postcss plugin processed nodes it shouldn't have |
65 | 88 |
|
66 | 89 | ## [1.2.4] - 2017-03-20
|
| 90 | + |
67 | 91 | ### Fixed
|
68 |
| -- Fixed a bug where initialiseAllContainers didn't trigger adjust calls on dom |
69 |
| -load |
| 92 | + |
| 93 | +* Fixed a bug where initialiseAllContainers didn't trigger adjust calls on dom |
| 94 | + load |
70 | 95 |
|
71 | 96 | ## [1.2.3] - 2017-03-03
|
| 97 | + |
72 | 98 | ### Changed
|
73 |
| -- Made the runtime work with an invalid config |
| 99 | + |
| 100 | +* Made the runtime work with an invalid config |
74 | 101 |
|
75 | 102 | ## [1.2.2] - 2017-03-02
|
| 103 | + |
76 | 104 | ### Changed
|
77 |
| -- Improved browser support: |
78 |
| - - Object.assign replacement |
79 |
| - - Removed forEach calls on NodeList objects |
| 105 | + |
| 106 | +* Improved browser support: |
| 107 | + * Object.assign replacement |
| 108 | + * Removed forEach calls on NodeList objects |
80 | 109 |
|
81 | 110 | ### Added
|
82 |
| -- Started working on a new demo |
| 111 | + |
| 112 | +* Started working on a new demo |
83 | 113 |
|
84 | 114 | ## [1.2.1] - 2017-03-01
|
| 115 | + |
85 | 116 | ### Changed
|
86 |
| -- README update |
| 117 | + |
| 118 | +* README update |
87 | 119 |
|
88 | 120 | ## [1.2.0] - 2017-02-28
|
| 121 | + |
89 | 122 | ### Added
|
90 |
| -- Made "or" queries work as they do for @media queries |
| 123 | + |
| 124 | +* Made "or" queries work as they do for @media queries |
91 | 125 |
|
92 | 126 | ## [1.1.1] - 2017-02-27
|
| 127 | + |
93 | 128 | ### Fixed
|
94 |
| -- Attempt to make the readme appear on npm |
| 129 | + |
| 130 | +* Attempt to make the readme appear on npm |
95 | 131 |
|
96 | 132 | ## [1.1.0] - 2017-02-27
|
| 133 | + |
97 | 134 | ### Added
|
98 |
| -- cmin / cmax unit support |
| 135 | + |
| 136 | +* cmin / cmax unit support |
99 | 137 |
|
100 | 138 | ## [1.0.4] - 2017-02-27
|
| 139 | + |
101 | 140 | ### Fixed
|
102 |
| -- Fixed the aspect-ratio query |
| 141 | + |
| 142 | +* Fixed the aspect-ratio query |
103 | 143 |
|
104 | 144 | ### Changed
|
105 |
| -- improved the isEmptyObject tests |
| 145 | + |
| 146 | +* improved the isEmptyObject tests |
106 | 147 |
|
107 | 148 | ## [1.0.3] - 2017-02-26
|
| 149 | + |
108 | 150 | ### Changed
|
109 |
| -- Made Jest a dev-only dependency |
| 151 | + |
| 152 | +* Made Jest a dev-only dependency |
110 | 153 |
|
111 | 154 | ## [1.0.2] - 2017-02-22
|
| 155 | + |
112 | 156 | ### Fixed
|
113 |
| -- BUGFIX (#6): Fixed unitless @container queries |
| 157 | + |
| 158 | +* BUGFIX (#6): Fixed unitless @container queries |
114 | 159 |
|
115 | 160 | ### Changed
|
116 |
| -- Upgraded Jest from v18 to v19 |
| 161 | + |
| 162 | +* Upgraded Jest from v18 to v19 |
117 | 163 |
|
118 | 164 | ## [1.0.1] - 2017-02-21
|
| 165 | + |
119 | 166 | ### Removed
|
120 |
| -- Removed coverage/ and .babelrc from the installed package, hence making it a |
121 |
| -bit lighter. |
| 167 | + |
| 168 | +* Removed coverage/ and .babelrc from the installed package, hence making it a |
| 169 | + bit lighter. |
0 commit comments