UNPKG

14.8 kBMarkdownView Raw
1# History
2
3## v6.7.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.6.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.5.0 2021 July 29
12
13- Fixed [#235](https://github.com/bevry/editions/issues/235)
14- Validate that the range can be broadened before it is attempted to be, and add more tests and reporting around broadening, its conditions, and its failures.
15- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
16
17## v6.4.1 2021 July 28
18
19- Progress on [#235](https://github.com/bevry/editions/issues/235)
20- Correctly identify and report invalid ranges and invalid broadened ranges
21- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
22
23## v6.4.0 2021 July 28
24
25- Progress on [#235](https://github.com/bevry/editions/issues/235)
26- Swapped `Errlop` for an in-house solution, that provides a concise and readable solution for this specific use case
27- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
28
29## v6.3.0 2021 July 28
30
31- Progress on [#235](https://github.com/bevry/editions/issues/235)
32- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
33
34## v6.2.1 2021 July 28
35
36- Progress on [#235](https://github.com/bevry/editions/issues/235)
37- Have package require failures output what package and entry the failure was on.
38
39## v6.2.0 2021 June 14
40
41- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
42
43## v6.1.0 2020 October 29
44
45- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
46
47## v6.0.0 2020 October 29
48
49- Changed semver dependency from `semver` to [`version-range`](https://github.com/bevry/version-range) which is faster, simpler, and supports Deno, completing our Deno compatibility
50 - While the simplicity of `version-range` does remove support for advanced ranges, it should cover all ranges that are used within editions
51- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
52
53## v5.0.0 2020 October 27
54
55- Changed engines from Node.js version `>=0.8` to `>=4` as Node.js versions prior to 4 do not support `require('process')` (they only support the `process` global), however, the process import is necessary for compatibility with Deno, which is more important than supporting 5+ year old Node.js versions
56- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
57
58## v4.2.0 2020 September 4
59
60- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
61
62## v4.1.0 2020 August 18
63
64- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
65
66## v4.0.0 2020 August 13
67
68- Since v2, engines have been the recommended way of stating compatibility, as such, blacklist functionality is now removed
69 - If anyone still requires blacklisting over engines, then file an issue
70- Work towards Deno and Web Browser compatibility
71- Additional API methods introduced, such that you can determine editions without loading them
72- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
73
74## v3.16.0 2020 August 4
75
76- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
77
78## v3.15.0 2020 July 24
79
80- Moved `semver` dependency from `devDependencies` to `dependencies` where it belongs (regression since v3.5.0, regressed again in v3.13.0)
81 - Thanks to [James Diamond](https://github.com/jdiamond) for [issue 91](https://github.com/bevry/editions/issues/91)
82- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
83
84## v3.14.0 2020 July 22
85
86- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
87
88## v3.13.0 2020 July 22
89
90- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
91
92## v3.12.0 2020 July 21
93
94- Moved `semver` dependency from `devDependencies` to `dependencies` where it belongs (regression since v3.5.0)
95 - Thanks to [James Diamond](https://github.com/jdiamond) for [issue 91](https://github.com/bevry/editions/issues/91)
96- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
97
98## v3.11.0 2020 July 3
99
100- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
101
102## v3.10.0 2020 June 25
103
104- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
105
106## v3.9.0 2020 June 21
107
108- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
109
110## v3.8.0 2020 June 21
111
112- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
113
114## v3.7.0 2020 June 20
115
116- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
117
118## v3.6.0 2020 June 20
119
120- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
121
122## v3.5.0 2020 June 10
123
124- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
125
126## v3.4.0 2020 June 10
127
128- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
129
130## v3.3.0 2020 May 22
131
132- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
133
134## v3.2.0 2020 May 21
135
136- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
137
138## v3.1.0 2020 May 21
139
140- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
141
142## v3.0.0 2020 May 13
143
144- Support node >= 0.8 but test only against node >= 10
145 - We are still generating the same code, using ES5 compile target, so support remains the same
146 - However, testing ecosystem have been upgrading to node >= 10, as such unless all testing packages also function on node >= 0.8, which is possible but highly inconvenient then tests cannot run on such versions
147- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
148
149## v2.3.0 2019 December 11
150
151- Rewrote in TypeScript
152- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
153
154## v2.2.0 2019 September 11
155
156- Removed the `browser` edition introduced in v2.0.1 as the Editions Autloader has no use in the web browser
157- Updated dependencies
158
159## v2.1.3 2018 December 29
160
161- Updated `errlop` dependency, should function to fix [issue #2](https://github.com/bevry/errlop/issues/2)
162
163## v2.1.2 2018 December 29
164
165Iternal change of not assuming the error `code` property exists, as on certain node versions its existance is denied. This should fix the following error:
166
167```
168./node_modules/editions/edition-node-0.8/index.js:310
169 if (editionError.code.indexOf('unsupported-edition-engines-node-version') === 0) {
170 ^
171
172TypeError: Cannot read property 'indexOf' of undefined
173```
174
175## v2.1.1 2018 December 29
176
177Internal change of requiring a specific [Errlop](https://github.com/bevry/errlop) edition, which should function as a workaround for [errlop#2](https://github.com/bevry/errlop/issues/2) to fix the following error:
178
179```
180./node_modules/errlop/index.js:4
181module.exports = require('editions').requirePackage(__dirname, require)
182 ^
183
184TypeError: require(...).requirePackage is not a function
185```
186
187## v2.1.0 2018 November 15
188
189- If none of the editions for a package match the current node version, editions will try to find a compatible package by converting strict version ranges likes `4 || 6 || 8 || 10` to looser ones like `>=4`, and if that fails, then it will attempt to load the last edition for the environment.
190 - This brings editions handling of engines closer in line with how node handles it, which is as a warning/recommendation, rather than a requirement/enforcement.
191 - This has the benefit that edition authors can specify ranges as the specific versions that they have tested the edition against that pass, rather than having to omit that information for runtime compatibility.
192 - As such editions will now automatically select the edition with guaranteed support for the environment, and if there are none with guaranteed support, then editions will select the one is most likely supported, and if there are none that are likely supported, then it will try the last edition, which should be the most compatible edition.
193 - This is timely, as node v11 is now the version most developers use, yet if edition authors specified only LTS releases, then the editions autoloader would reject loading on v11, despite compatibility being likely with the most upper edition.
194 - This behaviour is dictated by the new `strict` option, which omission of a value enables the above behavior.
195- Change `syntaxes` to `tags`, with backwards compatibility. This applies to edition specifications, as well as for the blacklist environment variable which is now named `EDITIONS_TAG_BLACKLIST`.
196- Added codes to the different types of errors we may produce.
197- Upgraded babel from v6 to v7
198- Documentation has swapped from Documentation.js to JSDoc with the Minami theme.
199
200## v2.0.2 2018 September 3
201
202- Fixed `Error: Cannot find module 'editions'` on Windows (caused by edition directories containing `:` which is unsupported on Windows)
203 - Regression in v2.0.0
204 - Closes
205 - [ungit issue #1130](https://github.com/FredrikNoren/ungit/issues/1130)
206 - [getmac issue #39](https://github.com/bevry/getmac/issues/39)
207 - [docpad issue #1088](https://github.com/docpad/docpad/issues/1088)
208 - [bevry thread #240](https://discuss.bevry.me/t/error-cannot-find-module-editions/240)
209
210## v2.0.1 2018 August 24
211
212- Fixed potential `Error: Cannot find module 'editions'` (causes by `main` pointing to a legacy location
213 - Regression in v2.0.0
214- Added an edition for browsers
215
216## v2.0.0 2018 July 27
217
218- Edition entries must now make use of the fields: `description`, `directory`, `entry`, and the new `engines` field (which follows the [`package.json:engines` spec](https://docs.npmjs.com/files/package.json#engines)).
219- In version 1, if an edition failed to load, its syntax combination would be blacklisted. This functionality has been removed. The `engines` field is a better replacement. The `syntaxes` field remains optional, as it is still useful for user configured blacklisting and ecosystem tooling.
220- Errors reported by the autoloader have improved readability thanks to [Errlop](https://github.com/bevry/errlop)
221- Updated base files
222
223## v1.3.4 2018 January 31
224
225- Updated base files
226
227## v1.3.3 2016 November 4
228
229- Properly add node 0.8 support
230
231## v1.3.2 2016 November 4
232
233- Added node 0.8 support
234
235## v1.3.1 2016 October 11
236
237- Fixed failure to load editions that had the edition directory within the edition entry
238 - Thanks to [Jordan Harband](https://github.com/ljharb) for [issue #20](https://github.com/bevry/editions/issues/20)
239
240## v1.3.0 2016 October 11
241
242- Added support for `EDITIONS_SYNTAX_BLACKLIST` environment variable
243 - Thanks to [Damon Maria](https://github.com/damonmaria) for [issue #10](https://github.com/bevry/editions/issues/10)
244- Dropped need for `DEBUG_BEVRY_EDITIONS` as failures will not output all the necessary debugging information
245
246## v1.2.1 2016 October 10
247
248- Change `esnext` skip from v8 engines < 4 to node engines < 0.12
249
250## v1.2.0 2016 October 10
251
252- Skip syntaxes that require preprocessors
253- Skip `import` syntax, as the `module` field inside `package.json` skips the autoloader if supported
254- Skip `esnext` syntax on v8 engines < 4
255
256## v1.1.2 2016 June 16
257
258- Parent errors are now displayed in a more sensible way
259
260## v1.1.1 2016 March 20
261
262- Errors and debug messages are now more useful
263 - Closes https://github.com/bevry/editions/issues/5
264
265## v1.1.0 2016 March 20
266
267- Added support for custom entry point overrides
268- Debugging goes to `console.error` (stderr) rather than `console.log` (stdout)
269 - Closes https://github.com/bevry/editions/issues/2
270- Added tests
271 - Closes https://github.com/bevry/editions/issues/4
272
273## v1.0.1 2016 March 9
274
275- Initial release
276
\No newline at end of file