1 | # History
|
2 |
|
3 | ## v5.4.0 2021 July 31
|
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 | ## v5.3.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 | ## v5.2.0 2021 July 28
|
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 | ## v5.1.0 2020 October 29
|
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 | ## v5.0.0 2019 November 18
|
20 |
|
21 | - Converted from JavaScript to TypeScript
|
22 | - `const requireFresh = require('requirefresh')` must be changed to one of these:
|
23 | - `const requireFresh = require('requirefresh').default`
|
24 | - `const { requireFresh } = require('requirefresh')`
|
25 | - `import requireFresh from 'requirefresh'`
|
26 | - `import { requireFresh } from 'requirefresh'`
|
27 | - `requireFreshSafe` is now an alias for `requireFreshCallback`
|
28 | - Introduced `requireFreshPromise`
|
29 | - Node.js engines support is now back to `>=4`, bringing back previous `requirefresh` v2 coverage
|
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 | ## v4.13.0 2020 September 5
|
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 | ## v4.12.0 2020 August 18
|
37 |
|
38 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
39 |
|
40 | ## v4.11.0 2020 August 4
|
41 |
|
42 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
43 |
|
44 | ## v4.10.0 2020 July 23
|
45 |
|
46 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
47 |
|
48 | ## v4.9.0 2020 June 25
|
49 |
|
50 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
51 |
|
52 | ## v4.8.0 2020 June 22
|
53 |
|
54 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
55 |
|
56 | ## v4.7.0 2020 June 21
|
57 |
|
58 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
59 |
|
60 | ## v4.6.0 2020 June 20
|
61 |
|
62 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
63 |
|
64 | ## v4.5.0 2020 June 11
|
65 |
|
66 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
67 |
|
68 | ## v4.4.0 2020 June 10
|
69 |
|
70 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
71 |
|
72 | ## v4.3.0 2020 May 22
|
73 |
|
74 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
75 |
|
76 | ## v4.2.0 2020 May 21
|
77 |
|
78 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
79 |
|
80 | ## v4.1.0 2020 May 21
|
81 |
|
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 | ## v4.0.0 2020 May 11
|
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 | - Minimum required node version changed from `node: >=8` to `node: >=10` to keep up with mandatory ecosystem changes
|
88 |
|
89 | ## v3.3.0 2019 December 10
|
90 |
|
91 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
92 |
|
93 | ## v3.2.0 2019 December 1
|
94 |
|
95 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
96 |
|
97 | ## v3.1.0 2019 December 1
|
98 |
|
99 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
100 |
|
101 | ## v3.0.0 2019 November 18
|
102 |
|
103 | - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
104 | - Minimum required node version changed from `node: >=0.12` to `node: >=8` to keep up with mandatory ecosystem changes
|
105 |
|
106 | ## v2.3.0 2019 November 13
|
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 | ## v2.2.0 2019 January 1
|
111 |
|
112 | - Added JSDoc documentation
|
113 | - Updated [base files](https://github.com/bevry/base) and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
|
114 |
|
115 | ## v2.1.0 2016 May 2
|
116 |
|
117 | - Converted from CoffeeScript to JavaScript
|
118 | - Updated base files
|
119 |
|
120 | ## v2.0.0 2015 March 16
|
121 |
|
122 | - Simplified the API - `require('requirefresh').requireFresh('the-module')` is now `require('requirefresh')('the-module')` - `require('requirefresh').requireFreshSafe('the-module', next)` is now `require('requirefresh').safe('the-module', next)`
|
123 | - Removed domains from safe method, seemed out of scope to have them there (there is now just a try..catch)
|
124 |
|
125 | ## v1.1.2 2011 August 30
|
126 |
|
127 | - Learnt how to use finally in try catch finally (it runs even after returns!)
|
128 |
|
129 | ## v1.1.1 2011 August 30
|
130 |
|
131 | - Re-applied engines to be node 0.8 and above due to use of domains
|
132 |
|
133 | ## v1.1.0 2011 August 30
|
134 |
|
135 | - Split out into `requireFresh` and `requireFreshSafe`
|
136 |
|
137 | ## v1.0.1 2011 August 30
|
138 |
|
139 | - Updated engines to be node 0.8 and above due to use of domains
|
140 |
|
141 | ## v1.0.0 2011 August 30
|
142 |
|
143 | - Split from [bevry/safeps](https://github.com/bevry/safeps)
|
144 | - Added domains to catch even more errors
|