Skip to content

Commit 5828c9a

Browse files
committed
Add changelog
1 parent 529de86 commit 5828c9a

File tree

1 file changed

+306
-0
lines changed

1 file changed

+306
-0
lines changed

changelog.md

Lines changed: 306 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,306 @@
1+
2+
2012-05-20
3+
==========
4+
**v0.2.0**
5+
6+
* Update mocha generated docs
7+
* Tests for the rjs task
8+
* Tests for init task
9+
* Slight changes to the rjs task, moving config to gruntfile
10+
* Add init templates for default and rjs configuration
11+
12+
2012-05-19
13+
==========
14+
15+
* Move back the lib entry point to root, needs to be next the tasks/ dir
16+
otherwise, grunt won't find it with the npmTasks thing
17+
* Tests for html task and build:minify
18+
* Don't spawn a full server for viewing the docs
19+
- File protocol should be enough
20+
- Plus basic tests for the doc tasks, just testing the task goes through
21+
* use mocha directly with npm test, turn off helpers log when --silent
22+
* No grunt output by default during test
23+
when --silent flag is turned on, stderr/stdout output of spawned grunt
24+
is not redirect back to the current process.
25+
* Rework the usemin task to also do the replacement in stylesheets
26+
Closes [#27](https://github.com/h5bp/node-build-script/issues/27)
27+
* Add test setup for img replacement in stylesheets.
28+
Relates to [#27](https://github.com/h5bp/node-build-script/issues/27)
29+
* Add credits to @krzychukula for the replace helper
30+
love it, super easy to add new hooks. Now needs to run it through the
31+
optimized stylesheets
32+
* Add a new replacement for usemin on html files for url(...)
33+
case there are some inline <style />. Start of a fix for [#27](https://github.com/h5bp/node-build-script/issues/27)
34+
* update css fixture files
35+
* Add fixtures to test out the imports inline
36+
* css task - do the minification once inline imports are done
37+
* Reformat project's gruntfile, comments on dev helpers and tests
38+
* deps: update requirejs
39+
* Format build targets, move all the comments to the top
40+
* Move test mocha wrapper and helper to generate the test in support/
41+
* Move doc generation task in support/grunt-docs.js
42+
* Re-generate the docs
43+
* Add dev helpers un support/grunt-inspect.js, init a tasks/util.js file
44+
* Move lib entry point to lib/h5bp.js
45+
* Run each test sequentially, making sure to exit on first fail
46+
* Move script/ to support/
47+
* deps: update request
48+
49+
2012-05-17
50+
==========
51+
52+
* Add notes on local install for dev
53+
54+
2012-05-06
55+
==========
56+
57+
* Generate test documentation
58+
this doc reporter is pretty cool
59+
* Add tests for the usemin task
60+
* formatting build targets in helpfile for clarity.
61+
* Add tests for the tar task, plus few more assertion helpers
62+
* Generate test with `test-` prefix
63+
* Generate tests for tar task
64+
Results of running grunt genmocha:tar
65+
* grunt test, to run them all
66+
* Add tests for img task
67+
* Add tests for css task
68+
* Rework default task test and update helpers
69+
70+
* add tasks to generate test for a given task
71+
* Should this make testing easier. Added task which prompt for a bunch of
72+
values, which are used with the gherkin feature template file in
73+
test/features/template.feature.
74+
* A default step definition file is used (if there's no task specific
75+
step defs) with snippets to run a given task, and some basic assertions.
76+
* The test generated should provide a good starting point but will most
77+
likely need to adjust a few path maybe (unless you give the correct
78+
prompt, or adjust the feature file and regenerate)
79+
* Usually, each task is comparing a file or a set of files in `.test`
80+
directory with expected files stored in test/fixtures/<taskname>
81+
* Tests needs to define a mocha before handler with helper.before
82+
function.
83+
84+
* cleanup, remove old test suite
85+
* grunt test running mocha instead
86+
* Add mocha test setup
87+
88+
2012-05-01
89+
==========
90+
91+
* Merge pull request [#36](https://github.com/h5bp/node-build-script/issues/36) from EpocSquadron/feature/requirejs-task
92+
* Task to use Requirejs for js optimization
93+
94+
2012-04-28
95+
==========
96+
97+
**v0.1.1**
98+
99+
* bump version 0.1.1
100+
* closes [#34](https://github.com/h5bp/node-build-script/issues/34)
101+
102+
2012-04-24
103+
==========
104+
105+
* complete mkdirs/copy refactoring. Bonus: we now have a tar task!
106+
for easy tarball creation.
107+
* The tar task is standalone, not part of overall build
108+
* The copy task has some logic to know whether it needs to be a simple
109+
directory copy or tar/tgz creation.
110+
* If the file ends with either .tar or .tgz, a tarball is made from then
111+
the intermediate/ folder (or any other value put in config for
112+
`staging`)
113+
* If it ends with .tgz, then the tarball is also gziped (pass tru
114+
zlib.Gzip())
115+
* Changing last step to not create a publish directory, but rather
116+
creates a single tarball for the build output is a matter of appending
117+
`.tgz` at the end of config for `output`
118+
* Copy itself is far clever. It now uses fstream-ignore to intelligently
119+
avoid the copy of files matching globs in one of .gitignore, .ignore
120+
and .buildignore files. This eventually fixes a nasty bug on Windows
121+
for the mkdirs task.
122+
Closes [#30](https://github.com/h5bp/node-build-script/issues/30)
123+
124+
2012-04-23
125+
==========
126+
127+
* minor changes to misc.js and copy/mkdirs tasks
128+
still needs a bit more work (further tests on tar generation, bad EOF,
129+
should set strip: 1)
130+
relates to [#30](https://github.com/h5bp/node-build-script/issues/30)
131+
* minor change to task doc, open browser and forget
132+
* windows kinda weird with "explorer" command, returns status !=0 even
133+
though evertyhing went well.
134+
* will probably ends up in just the display of url to open, no automatic
135+
browser opening
136+
* improved copy / mkdirs task to use fstream and ignore
137+
* alot clever now
138+
* automatically ignores globs in .gitignore, .ignore, .buildignore
139+
throughout the tree
140+
* can copy a whole dir to another one (basic)
141+
* can also copy into a tarball destination (gzipped, should be optional)
142+
if the destination ends with .tar
143+
still a bit more work to do and cleanup (namely the tar copy) to close
144+
issue [#30](https://github.com/h5bp/node-build-script/issues/30)
145+
146+
2012-04-22
147+
==========
148+
149+
* Add prompts for choosing requirejs, and conditional stuff in gruntfile template
150+
* Add a task file that optimizes only js usign requirejs
151+
152+
153+
2012-04-16
154+
==========
155+
156+
**0.1.0**
157+
158+
* update grunt to 0.3.7, udpate binary
159+
160+
* add a docs tasks
161+
* plus the internal scripts/docs tool and genedocs grunt task to generate
162+
* the docs task will start a server on top of docs/ directory and open a
163+
browser on generated documentation
164+
165+
* css - use rjs to optimize and handle @import statements
166+
167+
* Added few alias as build targets. Closes #21
168+
169+
* add img optimization task, optipng / jpetran (closes #25)
170+
* fallback to local binaries for windows system
171+
* added optipng-8d and optipng-0.7.1 into vendor/
172+
* necessary change to img task code to work on windows
173+
174+
* slightly reworked the build targets to be a single task (closes #26)
175+
* to run: `grunt build:<target>`
176+
* targets: default, text, buildkit, basics, minify
177+
178+
* pre/post series of tasks runs automatically
179+
* pre: intro clean mkdirs
180+
* post: copy time
181+
182+
* add some debugging helpers to project gruntfile
183+
184+
* add htmlclean task, build targets and removed tasks' subdirs
185+
* htmlclean task, running html through html-minifier. Closes #23
186+
187+
* plugin config/tasks loading now done in tasks/h5bp.js
188+
189+
* moved all tasks files into tasks/*.js (no more subdir, except the init one)
190+
191+
* minor tweaks to our custom binary
192+
193+
* init task (closes #29)
194+
195+
* better mkdirs task, reading .gitignore file to avoid file copy
196+
* complements the exclude property of config
197+
* this doensn't work recursively, eg. .gitignore files in subdfolders are
198+
not handled.
199+
200+
* removed docs, now in wiki and separate branch
201+
202+
* improved the tests
203+
204+
* usemin - have the switch to revved file done with surrounding comments (closes #13)
205+
206+
* usemin - reworked the usemin task to be a little bit clever
207+
* original idea from @necolas in: https://github.com/h5bp/html5-boilerplate/issues/831
208+
* usemin task is now using "directives", some special kind of html comments
209+
surrounding the part of html we want to replace.
210+
Ex:
211+
212+
<!-- build:css css/site.css -->
213+
<link rel="stylesheet" href="css/style.css">
214+
<!-- endbuild -->
215+
216+
Results in: `<link rel="stylesheet" href="css/site.css">`
217+
218+
* mkdirs - rewrote the mkdirs task to use ncp and minimatch
219+
* ignores are glob paterns
220+
* output / staging dirs filtered too, automatically added to the list
221+
of ignores
222+
* cleanup
223+
224+
* rev - reworked the rev task, updated gruntfile
225+
* register a simple task
226+
* with two helpers: hash / md5
227+
228+
* connect - same rework as the serve task
229+
* register helper connect and basic task
230+
231+
* serve - reworked the serve task, using new grunt api
232+
233+
* gruntfile 0.3.x updates
234+
235+
* dom - minor changes to plugins options (cwd, dir, out) and file html output
236+
* added cwd for base dir to work from
237+
* out: assets optimized output gets resolve under this dir
238+
* html file output at the same location (will most likely work with a
239+
pre-copy task)
240+
241+
* Init the udpate to grunt 0.3.x api, minor changes + script domplugin first impl
242+
* moving tasks into tasks "subsets"
243+
* update of load method, a bit hacky right now
244+
* minor docs updates
245+
* moving jquery from support to tasks/dom/support
246+
* minor changes to link domplugin
247+
* added script plugin, with basic concat / min / replace
248+
* plus some minor changes to runner (previously tasks/dom)
249+
250+
* dom - a start on dom-based build using jsdom
251+
* doing most of the stuff outlined in
252+
https://github.com/h5bp/node-build-script/wiki/jsdom-implementation
253+
* the only plugin (partially) implemented is link for now (#1)
254+
255+
2012-03-14
256+
==========
257+
258+
**v0.0.3**
259+
260+
* misc - update connect / socket.io to latest (closes #14)
261+
* dist - update grunt to latest (0.2.15)
262+
* misc - ensure parent directory is there before copying
263+
* merged changes to misc task (closes #11)
264+
265+
2012-03-06
266+
==========
267+
268+
**v0.0.2**
269+
270+
* add an h5bp executable, wrapper to built-in grunt
271+
* better and improved usemin task (by @krzychukula / #9)
272+
* usemin - use the same technique of file replacement for css/img than js'
273+
* file expand of every file within output postfixed by assets reference
274+
* relative path handling
275+
* replacement of css / js if found, otherwise skip it probably
276+
concatenated into another file
277+
* replacement of img if found, otherwise leave off the actual content
278+
* absolute and external uris ignored
279+
* usemin - handle relative prefix with nested .html files
280+
281+
* start of test suite (vows based)
282+
* output / staging config values (#3)
283+
* improved documentation
284+
* windows support
285+
* added a basic server reload ability, using socket.io / grunt's watch (live reload like)
286+
* the whole idea is refering to https://github.com/tbranyen/backbone-boilerplate/issues/10
287+
* A tiny client-side script is injected on every `*.html` requests, the
288+
connect task (might be renamed) setup a basic connect server with
289+
socket.io enabled. Whenever a new connection is established, the socket
290+
object is stored through `config('socket')` to be able to use it and
291+
emit from another task (a task that it triggered by grunt's watch)
292+
* kudos to @tbranyen for the original idea
293+
294+
2012-01-15
295+
==========
296+
297+
**v0.0.1**
298+
299+
* birthday!
300+
* added tasks and gruntfile for basic css / js / imgs opts
301+
* First working implementation that includes:
302+
* concat / minfiy js files
303+
* inline @imports of css files (recursive process, should support any
304+
level of nested imports) + minification
305+
* revving of js / css / imgs
306+
* html inline replace of js / css / imgs (to the revved one)

0 commit comments

Comments
 (0)