1 | # Changelog
|
2 |
|
3 | ## HEAD
|
4 |
|
5 | ## Version 2.1.1
|
6 |
|
7 | * Fix: ExtensionRewriter: The RegExp was not matching the . (dot) in an extension.
|
8 |
|
9 | ## Version 2.1.0
|
10 |
|
11 | * Feature: Lingon.build now writes to files disk per default (again). The server is explicitly overwriting this behaviour to serve files directly over http.
|
12 | * Fix: The ExtensionRewriter was not able to rewrite multiple segments: For instance "js.ejs" => "js".
|
13 |
|
14 | ## Version 2.0.0
|
15 |
|
16 | * Feature: Add option to specify a namespace in server mode
|
17 | * Feature: Add option to specify a directory index in server mode
|
18 | * Feature: Add unit test framework `tape` and restructure test folders
|
19 | * Refactor: Removed the processorStream built in file cache and fixed bugs in the directiveStream.
|
20 | * Refactor: Rewrote the build logic as a pipeline of pluggable functions
|
21 | * API change: Moved all configuration to `lingon.config`
|
22 | * API change: Refactor processors (ProcessorStore) with a simplified API syntax
|
23 | * API change: Files are no longer written to disk when in server mode. Only the build task will write files to disk.
|
24 |
|
25 | ## Version 1.4.0
|
26 |
|
27 | * Feature: A new object "context" is passed into the processor factory function. This object can be used to pass file-specific metadata around. It has the following fields built in: context.file.path (the path of the current file being rendered), context.file.layout (the path to the current layout, otherwise empty)
|
28 | * Because of this addition the lingon.context object will be renamed to lingon.global in an upcoming version. Both the global and the context objects are passed into the processor factory function, so it's backwards compatible.
|
29 |
|
30 | ## Version 1.3.0
|
31 |
|
32 | * Feature: Allow unshifting of processors and not only pushing
|
33 | * Feature: Added support for nested template layouts.
|
34 |
|
35 | ## Version 1.2.0
|
36 |
|
37 | * Feature: Basic support for ejs layouts. Use a yield directive to wrap a rendered html file inside another template.
|
38 |
|
39 | ## Version 1.1.0
|
40 |
|
41 | * Feature: Define a catch-all file to serve instead of displaying a 404 message. Useful when working with html5 History API.
|
42 |
|
43 | ## Version 1.0.4
|
44 |
|
45 | * Bug fix: The concat plugin could corrupt the encoding of a blob file, now the plugin runs only when necessary.
|
46 | * Bug fix: Prevent warning message from express dependency in server mode
|
47 |
|
48 | ## Version 1.0.3
|
49 |
|
50 | * Bug fix: The console output was showing absolute paths in server mode. Changed it back to relative paths.
|
51 |
|
52 | ## Version 1.0.2
|
53 |
|
54 | * Critical fix: The performance enhancement introduced a critical bug that was not caught by the test suite. Source->Build mapping did not work and filenames that were transformed were not found by the server.
|
55 |
|
56 | ## Version 1.0.1
|
57 |
|
58 | * Performance enhancements: Optimized how Lingon searches for a single source file, when requested in server mode. Also removed some old unnecessary code that was slowing down startup time for lingon server.
|
59 |
|
60 | ## Version 1.0.0
|
61 |
|
62 | * Feature: Inline includes in EJS/HTML files. The lingon inline directive can be used inside an inline HTML comment.
|
63 | * Breaking Change in EJS rendering: The task specific "config" object has been replaced with a global "context" object. All properties put on this object will be available inside the EJS execution context.
|
64 |
|
65 | ## Version 0.9.1
|
66 |
|
67 | * Fix: The orderedMergeStream would not properly wait for multi-file data events before processing the outgoing data queue. This lead to a race-condition that could affect the order of file concatenation.
|
68 |
|
69 | ## Version 0.9.0
|
70 |
|
71 | * Feature: Consistent renaming of filename extensions. File extensions are being rewritten based on a map of source -> destination files. This map includes some sane defaults (less -> css, etc) but can also be extended through a new api: lingon.extensionRewriter.
|
72 | * Feature: Server mode does not compile everything at startup. Instead, east request triggers a build.
|
73 |
|
74 | ## Version 0.8.2
|
75 |
|
76 | * Fix: Race condition in processor callbacks
|
77 |
|
78 | ## Version 0.8.1
|
79 |
|
80 | * Fix: Hide debug log statement
|
81 |
|
82 | ## Version 0.8.0
|
83 |
|
84 | * Feature: Support for nested include directives in source files
|
85 | * Improvement: Major refactor of the lingon core: Cleanup & increased readability of code.
|
86 | * Improvement: More tests
|
87 |
|
88 | ## Version 0.7.0
|
89 |
|
90 | * Feature: Tasks can now be chained
|
91 | * Feature: Introduced new `clean` task
|
92 | * Feature: Display an error message when streams throw an exception instead of killing the process
|
93 | * Feature: Plugins can insert their own express middlewares and modify the server output
|
94 | * Fix: Ensure that plugin's file operations still work after a lingon include ([#16](https://github.com/jpettersson/lingon/issues/16))
|
95 | * Fix: Use more reliable event manager ([#34](https://github.com/jpettersson/lingon/issues/34))
|
96 | * Some general cleanup
|
97 |
|
98 | ## Version 0.6.1
|
99 |
|
100 | * Fix: Prevent error when tasks don't register help messages
|
101 |
|
102 | ## Version 0.6.0
|
103 |
|
104 | * Feature: Add method to register path-matching processors (The processor will only be run if the file path matches the given regular expression)
|
105 |
|
106 | ## Version 0.5.3
|
107 |
|
108 | * Fix: Bugfixes around how the -v flag is handled by lingon-cli and lingon
|
109 |
|
110 | ## Version 0.5.2
|
111 |
|
112 | * Removed the lingon binary from this project and moved it to the lingon-cli package
|
113 |
|
114 | ## Version 0.5.1
|
115 |
|
116 | * Feature: Display lingon version with: `lingon version`
|
117 | * Feature: Improvements to the help command
|
118 |
|
119 | ## Version 0.5.0
|
120 |
|
121 | * Feature: The lingon command can now be installed globally with npm install -g lingon.
|
122 | * Feature: `lingon -h` provides help and a list of supported arguments.
|
123 | * Feature: Plugins can provide help messages for the tasks they define.
|
124 |
|
125 | ## Version 0.4.0
|
126 |
|
127 | * Renamed project to Lingon and deprecated the old orangejuice npm package.
|