Skip to content

Commit cc9bf0c

Browse files
committed
travis update and final changelog
1 parent fc09f3d commit cc9bf0c

File tree

2 files changed

+61
-2
lines changed

2 files changed

+61
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
sudo: false
3-
node_js: [10, 8, 6]
3+
node_js: [10, 8]
44
addons:
55
chrome: stable
66
script:

CHANGELOG.md

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,69 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [3.0.0]
99

10+
### Fixed
11+
12+
- Tests now check if custom props are properly set.
13+
- Change sets are tested with hyphenated prop names instead of camel cased ones.
14+
- `container-query`
15+
- Value precision is now consistent across browsers. (Instead of chrome
16+
applying 1px and firefox 1.00px for example.)
17+
18+
### Added
19+
20+
- Testing in Node 10
21+
- Integration tests, supported by SauceLabs
22+
- `postcss-container-query`
23+
- [Parcel bundler](https://github.com/parcel-bundler/parcel) support.
24+
Re-running the plugin on the same file is now safe. (The Parcel bundler reruns
25+
the same plugins over the same css file multiple times.)
26+
27+
### Removed
28+
29+
- "test" script is now only in the root, instead of in every package.
30+
- **[BREAKING]** No longer testing for Node 7 and 6 (dom-testing-library needs 8
31+
and up, and the real targets are the browsers anyway.)
32+
- **[BREAKING]** Removed test running from Node 6
33+
- `react-container-query`
34+
- **[BREAKING]** Removed the "render" prop from ContainerQuery in favour of
35+
using children. (The former was not documented anyway.)
36+
- **[BREAKING]** Removed the `ResizeObserver` component in favour of the
37+
[react-resize-observer](https://github.com/ZeeCoder/react-resize-observer) and
38+
[use-resize-observer](https://github.com/ZeeCoder/use-resize-observer) packages.
39+
- **[BREAKING]** Removed the default export. (Both ContainerQuery and withContainerQuery
40+
is still available as named exports.)
41+
- **[BREAKING]** Removed the `stats` prop from ContainerQuery. (Always use
42+
`meta` instead.)
43+
1044
### Changed
1145

46+
- Removed unnecessary files from the packages.
47+
- `container-query-meta-builder`
48+
- Removed the engines field package.json field.
49+
- **[BREAKING]** Removed the UMD build.
1250
- `postcss-container-query`
13-
- Moved `getMetadataFromMessages` under the lib/ folder.
51+
- **[BREAKING]** Minimum tested version lifted to v8. (The engines field still
52+
allows for v6.)
53+
- **[BREAKING]** Dropped the `getJSON` option, and no json is saved by default.
54+
The new behaviour is to use the ICSS `:export` syntax, which then can be
55+
imported through css-loader. (The meta object is still passed down in the
56+
postcss plugin messages in case it's needed.)
57+
- **[BREAKING]** Removed `saveMeta`.
58+
- **[BREAKING]** Moved `getMetadataFromMessages` from root to the lib/ folder.
59+
- `react-container-query`
60+
- `ContainerQuery` no longer returns with a "null" size object when a function
61+
is passed in as the children prop. Instead it returns with `{width: 0, height: 0}`
62+
initially, then updates with the observed container element.
63+
- **[BREAKING]** `ContainerQuery` now renders a div root node by default, inside
64+
of which it renders all children. (Also accepts an `as` prop to change the
65+
tag type.)
66+
- **[BREAKING]** ContainerQuery no longer returns an object for size, but width
67+
and height as the first parameter of the child function
68+
- **[BREAKING]** ContainerQuery now returns 1x1 dimensions before the ResizeObserver
69+
kicks in
70+
- `container-query`
71+
- **[BREAKING]** Set the pixel precision to be 0, so that whole numbers are
72+
applied by default.
1473

1574
## [3.0.0-alpha.3]
1675

0 commit comments

Comments
 (0)