Skip to content

Commit

Permalink
version 2.0.0 (#317)
Browse files Browse the repository at this point in the history
* versionn 2.0.0

* update sketch shield

* fix readme
  • Loading branch information
mathieudutour authored May 12, 2018
1 parent ec55f08 commit 5a606b2
Show file tree
Hide file tree
Showing 18 changed files with 31 additions and 17 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,17 @@

This project adheres to [Semantic Versioning](http://semver.org/).
Every release, along with the migration instructions, is documented on the Github [Releases](https://github.com/airbnb/react-sketchapp/releases) page.

## Version 2.0.0

- Now throws if the "Symbols" page is explicitly passed in as the `container` on the `render` method. Previously if you explicitly passed in the "Symbols" pages as a container, it would create a new page and render onto that. (#297 - Thanks @jaridmargolin!)
- Now throws an error if you attempt to render a Document component into a node intended to be a child of `Document`. (#297 - Thanks @jaridmargolin!)
- Adds support for rendering a `Page` component into a container passed through the `render` method. This allows for rendering multiple `Artboard`s onto an existing page. (#297 - Thanks @jaridmargolin!)
- More predictable rendering of `RedBox`. (#297 - Thanks @jaridmargolin!)
- Fix Symbols overrides for Sketch >= 46 (#198 - Thanks @ianhook!)
- Fix text overrides when the name of the Text layer is not explicitly defined (#292 - Thanks @jaridmargolin!)
- update `yoga-node` to 1.9 (#314)
- Add support for Sketch 50 (#290)
- Fix shared text style matching (#290)
- Remove n^2 rendering problem with large symbol sets (#235 - Thanks @ianhook!)
- `Page` without a name explicitly set will be auto-incremented ("Page 1", "Page 2", etc.) just like how Sketch is doing by default (#296 - Thanks @jaridmargolin!)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Next, [check out some more examples](https://github.com/airbnb/react-sketchapp/t
![readme-intro](https://cloud.githubusercontent.com/assets/591643/24777148/e742cd0e-1ad8-11e7-8751-090f6b2db514.png)

[![npm](https://img.shields.io/npm/v/react-sketchapp.svg)](https://www.npmjs.com/package/react-sketchapp)
![Sketch.app](https://img.shields.io/badge/Sketch.app-43--45-brightgreen.svg)
![Sketch.app](https://img.shields.io/badge/Sketch.app-43--50-brightgreen.svg)
[![Travis](https://img.shields.io/travis/rust-lang/rust.svg)](https://travis-ci.org/airbnb/react-sketchapp)
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/react-sketchapp/Lobby)

Expand Down
2 changes: 1 addition & 1 deletion examples/basic-setup-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"chroma-js": "^1.2.2",
"prop-types": "^15.5.8",
"react": "^15.4.2",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.2"
}
}
2 changes: 1 addition & 1 deletion examples/basic-setup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"chroma-js": "^1.2.2",
"prop-types": "^15.5.8",
"react": "^15.4.2",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.2"
}
}
2 changes: 1 addition & 1 deletion examples/basic-svg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"prop-types": "^15.5.8",
"react": "^15.4.2",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.2"
}
}
2 changes: 1 addition & 1 deletion examples/colors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prop-types": "^15.5.8",
"ramda": "^0.23.0",
"react": "^15.4.2",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.1",
"webpack-shell-plugin": "^0.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/form-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"react-dom": "^15.4.2",
"react-native": "^0.42.3",
"react-primitives": "^0.3.4",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/foursquare-maps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"react-native": "^0.42.3",
"react-primitives": "^0.3.4",
"react-primitives-google-static-map": "^1.0.1",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/glamorous/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"chroma-js": "^1.3.4",
"glamorous-primitives": "^2.1.0",
"react": "^15.6.1",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.6.1"
}
}
2 changes: 1 addition & 1 deletion examples/profile-cards-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"graphql-tag": "^2.4.0",
"react": "^16.2.0",
"react-apollo": "^2.1.0",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^16.2.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/profile-cards-primitives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react-dom": "^15.4.2",
"react-native": "^0.42.3",
"react-primitives": "^0.3.4",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/profile-cards-react-with-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"license": "MIT",
"dependencies": {
"react": "^15.4.2",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.2",
"react-with-styles": "^1.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/profile-cards/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"license": "MIT",
"dependencies": {
"react": "^15.4.2",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/styled-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"prop-types": "^15.5.8",
"react": "^15.4.2",
"react-primitives": "^0.4.2",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.2",
"styled-components": "^2.1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/styleguide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"chroma-js": "^1.2.2",
"react": "^15.4.2",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/symbols/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"react": "^16.2.0",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^16.2.0"
}
}
2 changes: 1 addition & 1 deletion examples/timeline-airtable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"prop-types": "^15.5.8",
"react": "^15.4.2",
"react-sketchapp": "^1.0.0",
"react-sketchapp": "^2.0.0",
"react-test-renderer": "^15.4.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-sketchapp",
"version": "1.1.0",
"version": "2.0.0",
"description": "A React renderer for Sketch.app",
"main": "lib/index.js",
"license": "MIT",
Expand Down

0 comments on commit 5a606b2

Please sign in to comment.