UNPKG

4.68 kBMarkdownView Raw
1# Change Log
2All notable changes to this project will be documented in this file.
3This project adheres to [Semantic Versioning](http://semver.org/).
4
5
6
7## [Unreleased] - YYYY-MM-DD
8#### Added
9#### Changed
10#### Deprecated
11#### Removed
12#### Fixed
13#### Security
14
15
16
17
18## [3.15.0] - 2016-07-15
19#### Added
20- Serving CSS from parent module, the same way as images.
21
22
23
24
25
26## [3.14.0] - 2016-06-06
27#### Added
28- Support for [CSS Modules](https://github.com/css-modules/css-modules).
29 ![CSS Modules](https://cloud.githubusercontent.com/assets/185555/16597779/c6c086b4-434e-11e6-9491-5046c95fedad.png)
30
31
32
33
34## [3.11.0-beta1] - 2016-06-18
35#### Added
36- [Typescript](https://www.typescriptlang.org) support.
37
38
39
40
41## [3.10.0] - 2016-06-18
42#### Changed
43- Locking `react` to latest version (finding path to `react` folder hierarchically).
44- Saving `stats.json` object with build output.
45
46
47
48## [3.9.0] - 2016-05-10
49#### Changed
50Update references, including bringing React up to `15.0.2`.
51
52
53
54## [3.8.1] - 2016-04-14
55#### Removed
56- `this.border()` style helper
57 Caused some problems with component sizing, this needs to be thought through a little more carefully. Will re-implement this soon.
58
59
60
61
62## [3.8.0] - 2016-04-13
63#### Added
64- Style properties:
65 - `this.border()` style helper
66 - `this.background()` style helper.
67
68
69
70
71## [3.7.8] - 2016-04-11
72#### Added
73- A `__UIHARNESS__` environment variable that can be used to mix UIHarness specs with server-side unit-tests.
74 See [issue 60](https://github.com/philcockfield/ui-harness/issues/60).
75- Explicit reference to `memory-fs`.
76
77#### Changed
78- Taking an array of entry paths within the `.uiharness.yml` configuration file.
79
80
81
82
83
84## [3.7.0] - 2016-02-23
85#### Added
86- Support for passing context down to a hosted component (see [React Context](https://facebook.github.io/react/docs/context.html)).
87 Methods:
88 - `this.childContextTypes`
89 - `this.context`
90- `this.page.insertScript` method.
91
92#### Changed
93- `this.load` method to `this.component`.
94
95#### Deprecated
96- `this.load` method (still working with a deprecation warning in the console).
97
98
99
100
101## [3.6.0] - 2016-02-18
102#### Added
103- Adding `<link>` to `<head>` for adding web-fonts. See `this.page.insertFont(url)`.
104- Setting the `NODE_ENV` to production for WebPack when building in production mode.
105 This speeds up React when deployed in production.
106
107#### Changed
108- Looking for build config within the `.uiharness.yml` file if parameter not passed into the `build` function. Before this, the YAML file was being inspected only from the shell command which prevented the YAML file from being considered if the caller was doing it from code via the API.
109
110
111
112
113## [3.4.0] - 2016-02-12
114#### Added
115- Reading `graphqlSchema` and `proxy` from the `.uiharness.yml` configuration file.
116- Exposing `/<package-name>/images` as a static web-server path for image assets.
117- Build command for generating bundled JS, along with file-size details.
118
119#### Changed
120- Relay configuration supports taking a path to a `.json` file from the `graphqlSchema` argument.
121
122#### Deprecated
123#### Removed
124- The file Size calculation command. Covered with the `build` command.
125
126
127
128## [3.3.0] - 2016-01-27
129#### Added
130- Calculating built JS size statistics (run `$ node size`);
131
132
133
134## [3.2.0] - 2016-01-27
135#### Added
136- Configuration settings specified in a `.uiharness.yml` file within the in the root of the project.
137
138
139
140## [3.1.0] - 2016-01-26
141#### Added
142- Relay/GraphQL support.
143- Passing `proxy` option through to server start method. This allows things like the GraphQL proxy to be configured.
144- Force min-version of Node at startup. (`>=5.5.0` as of version `3.0.3`).
145
146#### Changed
147- Referencing [Babel](https://babeljs.io/) dependencies via `js-babel` and `js-babel-dev` modules.
148- Linting updated to use [AirBnB style guide](https://github.com/airbnb/javascript).
149
150#### Deprecated
151
152#### Removed
153- Removed the `bundle` and `bundle:init` scripts. The UIHarness client is now bundled as a chunk within the main Webpack build.
154
155#### Fixed
156#### Security
157
158
159## [3.0.0] - 2016-01-21
160#### Added
161- Bundling the UIHarness code itself as a static file so only the test specs/components are build (faster).
162- `node bundle` command.
163
164#### Changed
165- Moved from WebPack middleware to use the `WebpackDevServer`.
166 - This was done because reload issues were occurring with the middleware (it is less well supported) and is no longer necessary with an firmer understanding of the `proxy` feature of the `WebpackDevServer` which allows for a server-app to be used.
167
168
169
170
171## [2.0.0] - 2016-01-04
172#### Changed
173- Updated to using Babel 6.
174
175
176
177## [1.1.9] - 2015-12-04
178#### Fixed
179- Fixed breaking changes caused by updates to `react-schema` module.