UNPKG

7.14 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## [5.1.0] - 2016-09-27
6
7### Fixed
8
9An issue with the webpack configuration which prevented multiple chunks when build a dev version of the server bundle, this would then result in errors on resolving our async routes. Phew! That was a hard fought fight.
10
11### Changed
12
13Updates the routing configuration to be concise.
14
15## [5.0.0] - 2016-09-27
16
17### Breaking Change
18
19Unfortunately webpack doesn't support System.import statements containing expressions when doing a target=node bundle. Therefore I have had to reluctantly revert back to the more verbose previous way of doing things.
20
21### Fixed
22
23I have picked up on an issue with webpack's tree shaking feature. Importing a constant boolean value from another file (i.e. our config files) and wrapping a code block with an if statement based on the respective value doesn't result in tree shaking even if the value is false. Therefore I have had to "inline" these statements, which does then result in tree shaking working.
24
25For example:
26
27 import { IS_HOT_DEVELOPMENT } from '../config';
28 if (IS_HOT_DEVELOPMENT) {
29 // tree shake me
30 }
31
32Has to be:
33
34 if (process.env.NODE_ENV === 'development' && module.hot) {
35 // tree shake me
36 }
37
38Please be aware of this.
39
40## [4.1.0] - 2016-09-26
41
42### Added
43
44babel-polyfill to client bundle output.
45
46### Fixed
47
48Webpack context regex to be windows path friendly.
49
50System.import expression within routes to not use a template string as Webpack throws warnings for these.
51
52## [4.0.0] - 2016-09-24
53
54### Breaking Changes
55
56Big restructure and improvement to the dynamic routing / code splitting configuration.
57We no longer need the previous manual import hacks for the routes to allow Hot Module Reloading to work. Yay!
58The ~/src/shared/components/App/ now has subfolders, one for "lib" components (i.e. components to be reused across views/routes), and a "views" folder which will contain components used for our routes.
59All our primary routes which we will use for code splitting have been moved to ~/src/shared/components/App/views
60
61Environment variables from the .env files are now automatically applied to the webpack DefinePlugin section, no longer requiring any error prone manual intervention.
62
63### Changed
64
65Updates dependencies.
66
67Minor optimization to bundle build size.
68
69### Fixed
70
71Adds missing plugin dependency for the transform-object-rest-spread babel plugin.
72
73## [3.3.1] - 2016-08-11
74
75### Changed
76
77Moved flow files into the tools dir.
78
79Minor enhancement to eslint config to play nicely with flow type imports.
80
81Moved the styles/scripts imports from react-helmet to be below the application styles/scripts.
82
83Cleaned up the config guards.
84
85Updated the .envnow file resolution.
86
87### Fixed
88
89Added missing rimraf dependency.
90
91## [3.3.0] - 2016-08-10
92
93### Added
94
95Flow type checking. Just a simple configuration for now, and we are only including definitions from the maintained 'flow-typed' repo. Closes #57
96
97## [3.2.1] - 2016-08-10
98
99### Changed
100
101Moved public dir resolution into configs.
102
103## [3.2.0] - 2016-08-10
104
105### Added
106
107The transform-object-rest-spread and transform-class-properties as they are too useful when developing react projects.
108
109### Changed
110
111Centralised env config values into config files so that they get parsed and validated in a single place and once.
112
113
114## [3.1.0] - 2016-08-09
115
116### Adds
117
118Long-term caching support. Closes #58
119
120Base robots.txt file to the public assets.
121
122.ico to the static files supported file format lists in the webpack config factory.
123
124### Changes
125
126Pulled out utils from webpack configFactory.
127
128Moved favicon to be colocated with the htmlPage.
129
130The "public" folder is now routed to the HTTP root.
131
132### Fixed
133
134Fixed eslint rule on the configFactory.js
135
136## [3.0.1] - 2016-08-09
137
138### Changes
139
140Changed url-loader to only emit files for client bundles.
141
142Replaced "fake-style-loader" with "css-loader/locals". Thanks @giltig! Closes #59
143
144## [3.0.0] - 2016-08-09
145
146### Breaking Changes
147
148Complete restructure to the development and build tooling. All put into the "tools" directory now.
149
150Ripped out our runtime dependencies on webpack. This was done by adding some new environment configuration variables and then combining them with the awesome 'app-root-path' library.
151
152### Changes
153
154Improved the react-helmet implementation example.
155
156## [2.0.0] - 2016-08-08
157
158### Breaking Changes
159
160The server side render method has been massively simplified as we are now using
161react-helmet to control our page header from our components. Closes #11
162
163### Added
164
165A 'public' static files endpoint, with a favicon implementation. Closes #14
166
167### Changed
168
169The server render helper now resolves the 'assets.json' via the webpack configuration for the client bundle.
170
171### Fixed
172
173Small issue with the dev server not hot reloading when just the server code changes.
174
175The projects dependencies structure so that the "dependencies" section contains ALL libraries that are required for the server runtime. The "devDependencies" section contains the libraries required for building the project. Fixes #27
176
177## [1.2.2] - 2016-08-03
178
179### Changed
180
181Updated dependencies.
182
183Fixed dependencies - moving required devDependencies into dependencies.
184
185Fixed project to match latest eslint configuration.
186
187Disabled the eslint rule required all files containing JSX to have a .jsx file extension.
188
189## [1.2.1] - 2016-08-01
190
191No Changes. Version bump to fix npm documentation.
192
193## [1.2.0] - 2016-08-01
194
195### Changed
196
197The devServer is far more robust, with webpack changes or process term signals resulting in any existing connections being forcefully disposed, whilst if only the server/client bundles get recompiled then existing connections are allowed to end. This results in a much nice dev experience.
198
199Simplified the externals configuration for the server, making it that we don't rely on manual intervention on a per library install basis. Thanks @swernerx!!
200
201Updated dependencies.
202
203Node version to 6.3.1
204
205## [1.1.2] - 2016-07-29
206
207### Fixed
208
209HMR reloading of asynchronous react-router routes. We have had to add a workaround section within the routes configuration. Please see the routes/index.js file for more info.
210
211## [1.1.1] - 2016-07-26
212
213### Fixed
214
215Fixed the HMR configuration. We were incorrectly using module.hot.accept() which would actually accept all changes. Instead we needed to target the direct file.
216
217### Changed
218
219Updated dependencies.
220
221## [1.1.0] - 2016-07-24
222
223### Added
224
225url-loader with a configuration allowing for images/fonts to be imported. An
226example of this has been included in the App component.
227
228### Changed
229
230Updated dependencies.
231
232The client side router configuration now handles redirect and "no renderProps" cases.
233
234## [1.0.1] - 2016-07-19
235
236### Changed
237
238Updated the following dependencies:
239 - react-router
240 - eslint
241 - eslint-plugin-jsx-a11y
242
243## [1.0.0] - 2016-07-18
244
245### Added
246
247Version 1 of the react-universally boilerplate. From here on out we are all about semantic versioning with a clear recording of all changes made to the project.