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