Skip to content

Commit

Permalink
2.1.0 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzzy authored Jul 11, 2018
1 parent 05ecc8b commit 5029217
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 25 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ node_js:
- "node"
- "lts/*"

cache:
directories:
- "node_modules"

before_install:
- npm install --global codecov

install:
- npm install

script:
- npm run lint
- npm run test -- --coverage
Expand Down
27 changes: 16 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,38 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.1.0] - 2018-07-11

- Add [TypeScript](https://www.typescriptlang.org/) typings.

## [2.0.0] - 2018-03-19

* [BREAKING] Rename higher-order app from `render` to `withRender`.
* [BREAKING] Rename global exports from `window.*` to `window.hyperappRender.*`.
* [BREAKING] Rename server package from `@hyperapp/render/server` to `@hyperapp/render`.
* Add support for [lazy components](https://github.com/hyperapp/hyperapp/tree/1.2.0#lazy-components).
- [BREAKING] Rename higher-order app from `render` to `withRender`.
- [BREAKING] Rename global exports from `window.*` to `window.hyperappRender.*`.
- [BREAKING] Rename server package from `@hyperapp/render/server` to `@hyperapp/render`.
- Add support for [lazy components](https://github.com/hyperapp/hyperapp/tree/1.2.0#lazy-components).

## [1.3.0] - 2018-02-24

* Scoped npm package name. Use `@hyperapp/render` instead of `hyperapp-render`.
* Render `style` attribute with `cssText` correctly.
* Better performance for numeric attributes.
- Scoped npm package name. Use `@hyperapp/render` instead of `hyperapp-render`.
- Render `style` attribute with `cssText` correctly.
- Better performance for numeric attributes.

## [1.2.0] - 2018-02-14

* Ignore [jsx `__source`](https://babeljs.io/docs/plugins/transform-react-jsx-source/) attribute.
- Ignore [jsx `__source`](https://babeljs.io/docs/plugins/transform-react-jsx-source/) attribute.

## [1.1.0] - 2018-02-07

* Compatibility with Hyperapp [v1.1.0](https://github.com/hyperapp/hyperapp/releases/tag/1.1.0)
- Compatibility with Hyperapp [v1.1.0](https://github.com/hyperapp/hyperapp/releases/tag/1.1.0)
after internal VNode schema change.

## 1.0.0 - 2018-01-24

* Initial public release.
- Initial public release.

[Unreleased]: https://github.com/hyperapp/render/compare/v2.0.0...HEAD
[unreleased]: https://github.com/hyperapp/render/compare/v2.1.0...HEAD
[2.1.0]: https://github.com/hyperapp/render/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/hyperapp/render/compare/v1.3.0...v2.0.0
[1.3.0]: https://github.com/hyperapp/render/compare/v1.2.0...v1.3.0
[1.2.0]: https://github.com/hyperapp/render/compare/v1.1.0...v1.2.0
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ npm install @hyperapp/render --save
```

Or using a [CDN](https://en.wikipedia.org/wiki/Content_delivery_network) like
[unpkg.com](https://unpkg.com/@hyperapp/render@latest/hyperapp-render.min.js) or
[jsDelivr](https://cdn.jsdelivr.net/npm/@hyperapp/render@latest/hyperapp-render.min.js)
[unpkg.com](https://unpkg.com/@hyperapp/render/hyperapp-render.min.js) or
[jsDelivr](https://cdn.jsdelivr.net/npm/@hyperapp/render/hyperapp-render.min.js)
with the following script tag:

```html
Expand Down
16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@hyperapp/render",
"version": "2.0.0",
"version": "2.1.0",
"description": "Render Hyperapp to an HTML string with SSR and Node.js streaming support",
"repository": "hyperapp/render",
"author": "Vladimir Kutepov",
Expand All @@ -25,14 +25,17 @@
"src/node.d.ts": "./src/browser.d.ts",
"src/node.js": "./src/browser.js"
},
"dependencies": {
"@types/node": "*",
"hyperapp": "^1.2.0"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.52",
"@babel/plugin-transform-react-jsx": "7.0.0-beta.52",
"@babel/preset-env": "7.0.0-beta.52",
"@babel/register": "7.0.0-beta.52",
"@types/node": "^6.0.114",
"babel-core": "^7.0.0-0",
"babel-jest": "^23.2.0",
"babel-jest": "^23.4.0",
"benchr": "^4.3.0",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^17.0.0",
Expand All @@ -42,8 +45,7 @@
"eslint-plugin-react": "^7.10.0",
"fs-extra": "^6.0.1",
"husky": "^0.14.3",
"hyperapp": "^1.2.6",
"jest": "^23.3.0",
"jest": "^23.4.0",
"prettier": "^1.13.7",
"rollup": "^0.62.0",
"rollup-plugin-babel": "4.0.0-beta.7",
Expand All @@ -52,10 +54,6 @@
"rollup-plugin-uglify": "^4.0.0",
"typescript": "^2.9.2"
},
"peerDependencies": {
"@types/node": ">=6.x",
"hyperapp": "^1.2.6"
},
"scripts": {
"lint": "node tools/lint",
"test": "node tools/test",
Expand Down

0 comments on commit 5029217

Please sign in to comment.