UNPKG

11.7 kBMarkdownView Raw
1# History
2
3## v6.8.0 2021 July 30
4
5- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
6
7## v6.7.0 2021 July 29
8
9- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
10
11## v6.6.0 2020 October 29
12
13- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
14
15## v6.5.0 2020 September 4
16
17- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
18
19## v6.4.0 2020 August 18
20
21- Updated for [`get-current-line` v6](https://github.com/bevry/get-current-line), which also returns the character position of the line
22- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
23
24## v6.3.0 2020 August 18
25
26- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
27
28## v6.2.0 2020 August 18
29
30- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
31
32## v6.1.0 2020 August 4
33
34- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
35
36## v6.0.2 2020 July 22
37
38- Updated Transform documentation and renamed `Writeable` internal type to `Pipeable` to reflect its purpose better
39
40## v6.0.1 2020 July 22
41
42- Updated dependencies, fixes Node.js due to missing `semver` dependency under `editions`
43 - Closes [issue #80](https://github.com/bevry/caterpillar/issues/80)
44
45## v6.0.0 2020 July 24
46
47- Breaking Changes: Caterpillar has been rewritten for performance, ease of use, and deno compatibility (now it is compatible with Node.js, Deno, and Web Browsers)
48- The Caterpillar Transforms by Bevry, are now embedded into the `caterpillar` package:
49 - `caterpillar-filter` is now `import { Filter } from 'caterpillar'`
50 - `caterpillar-human` is now `import { Human } from 'caterpillar'`
51 - `caterpillar-browser` is now `import { Browser } from 'caterpillar'`
52- `*.create()` aliases for `new *()` are now removed, please just use `new *(config)`
53- Each Caterpillar Transform now maintains its own configuration, which is specified via their constructor
54 - As such, instead of doing `new *().setConfig(opts)` now jsut do `new *(opts)`
55- the default log level is now a configuration option, rather than an entry in the levels map
56- `level` configuration option has been renamed to `filterLevel`, which must now be specified directly on the filter transform
57- the logger transform now accepts a new `lineLevel` configuration option, which will limit fetching line info for only log levels equal to or below that the `lineLevel` value, by default it is `-1` which disables fetching line info
58 - This is a dramatic performance improvement for large applications, as fetching line levels for every log entry, even ones filtered out, was not performant
59 - Closes [issue #16](https://github.com/bevry/caterpillar/issues/16)
60- Caterpillar Transforms are no longer Node.js Streams, as using them was a major performance overhead
61 - We can still pipe to Caterpillar Transforms as well as to Node.js streams and WHATWG/Deno streams
62 - Closes [issue #17](https://github.com/bevry/caterpillar/issues/17)
63- Add `error`, `warn`, `info`, `debug` aliases to the logger
64 - Thanks to [Kirill Chernyshov](https://github.com/DeLaGuardo) for [issue #12](https://github.com/bevry/caterpillar/issues/12)
65- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
66
67## v5.15.0 2020 July 22
68
69- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
70
71## v5.14.0 2020 July 22
72
73- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
74
75## v5.13.0 2020 July 3
76
77- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
78
79## v5.12.0 2020 July 3
80
81- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
82
83## v5.11.0 2020 June 25
84
85- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
86
87## v5.10.0 2020 June 21
88
89- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
90
91## v5.9.0 2020 June 21
92
93- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
94
95## v5.8.0 2020 June 20
96
97- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
98
99## v5.7.0 2020 June 20
100
101- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
102
103## v5.6.0 2020 June 10
104
105- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
106
107## v5.5.0 2020 June 10
108
109- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
110
111## v5.4.0 2020 May 22
112
113- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
114
115## v5.3.0 2020 May 21
116
117- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
118
119## v5.2.0 2020 May 11
120
121- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
122
123## v5.1.2 2020 May 8
124
125- Added Logger as a default export, for better compat with the filters
126
127## v5.1.1 2020 May 8
128
129- Fix some types on the Transform class
130
131## v5.1.0 2020 May 8
132
133- Merge source code into a single file, and export the various types
134
135## v5.0.0 2020 May 8
136
137- Converted from JavaScript to TypeScript, no functionality changes here
138- Extracted the current line functionality into [get-current-line](https://github.com/bevry/get-current-line), which uses [a different means of calculating the offset](https://github.com/bevry/get-current-line/blob/master/HISTORY.md#v500-2020-may-8) which **you should refer to if you ever used custom offsets**
139- Extracted the log level functionality into [rfc-log-levels](https://github.com/bevry/rfc-log-levels), existing functionality is retained
140- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
141- Minimum required node version changed from `node: >=8` to `node: >=10` to keep up with mandatory ecosystem changes
142
143## v4.0.0 2019 December 1
144
145- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
146- Minimum required node version changed from `node: >=0.10` to `node: >=8` to keep up with mandatory ecosystem changes
147
148## v3.3.0 2019 November 13
149
150- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
151
152## v3.2.0 2019 January 1
153
154- Updated [base files](https://github.com/bevry/base) and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
155
156## v3.1.2 2018 September 3
157
158- Updated base files and [editions](https://github.com/bevry/editions) using [boundation](https://github.com/bevry/boundation)
159
160## v3.1.1 2018 August 19
161
162- Readded support for node 0.10
163
164## v3.1.0 2018 August 17
165
166- Now uses [rfc-log-levels](https://github.com/bevry/log-levels) for the initial log levels
167- Moved type linting from flow to jsdoc & typescript, which also results in better documentation for you, and visual studio code intellisense`
168- Updated base files and [editions](https://github.com/bevry/editions) using [boundation](https://github.com/bevry/boundation)
169
170## v3.0.1 2016 October 20
171
172- Fixed flow type errors with newer flow versions
173
174## v3.0.0 2016 May 4
175
176- Converted from CoffeeScript to JavaScript
177- `.createLogger()` and `.createTransform()` now removed in favour of `Logger.create()` and `Transform.create()`
178- `require('caterpillar').create()` alias added
179- Logger no longer inherits from Transform
180
181## v2.0.9 2015 February 18
182
183- Fixed an issue when fetching `(new Error()).stack` would fail
184- More robust stack parsing
185
186## v2.0.8 2015 February 7
187
188- Updated dependencies
189
190## v2.0.7 2013 December 12
191
192- Use native streams if available, otherwise fallback to [readable-stream](https://npmjs.org/package/readable-stream)
193- Repackaged
194
195## v2.0.6 2013 October 23
196
197- `Logger:log` is now permantely bound to the logger instance, for easy passing around
198
199## v2.0.5 2013 October 23
200
201- Added `create` API to make life easier when doing one liners
202- Project meta data files are now maintained by [Projectz](https://github.com/bevry/projectz)
203- Updated dependencies
204
205## v2.0.4 2013 July 23
206
207- Added `lineOffset` configuration offset to allow you to detect the correct line of the reporting when using wrappers
208- Updated dependencies
209
210## v2.0.3 2013 May 19
211
212- iOS support (iOS devices do not have `new Error().stack`)
213
214## v2.0.2 2013 May 7
215
216- Fixed defaulting the log level - Closes [issue #6](https://github.com/bevry/caterpillar/issues/6) reported by [Erik Dasque](https://github.com/edasque)
217
218## v2.0.1 2013 April 25
219
220- Node 0.8 support
221
222## v2.0.0 2013 April 25
223
224- Rewrote using streams
225
226## v1.1.4 2013 March 25
227
228- Repackaged
229
230## v1.1.3 2012 October 18
231
232- Updated cli-color from 0.1 to 0.2
233- Make cli-color an optional dependency
234
235## v1.1.2 2012 August 10
236
237- Rejigged directory structure
238- Re-added markdown files to npm distribution as they are required for the npm website
239
240## v1.1.1 2012 May 4
241
242- Fixed dependency overwrite
243
244## v1.1.0 2012 May 4
245
246- Caterpillar now pre-compiles, so the coffee-script dependency is no longer needed
247
248## v1.0.0 2012 February 11
249
250- Modularised
251- Added [docco](http://jashkenas.github.com/docco/) docs
252- Debug line is now only outputted if the log level is 7
253- Added `setLevel(level)`
254- Added `History.md`
255- Added new screenshots
256- `cli-color` dependency now accepts revisions
257
258## v0.1 2011 September 5
259
260- Initial commit