UNPKG

8.63 kBMarkdownView Raw
1# Change Log (@egodigital/egoose)
2
3## 6.7.0
4
5* now using forked `@egodigital/node-ews@^4.0.1`
6
7## 6.6.2
8
9* updated to `lodash@^4.17.13`
10
11## 6.6.1
12
13* updated to `express@^4.17.1`
14* updated to `node-geocoder@^3.23.0`
15* updated to `swagger-jsdoc-express@2.2.0`
16* updated to `yargs-parser@^13.1.1`
17
18## 6.4.0
19
20* updated to `swagger-jsdoc-express@2.0.0`
21
22## 6.3.0
23
24* set [TypeScript](https://www.typescriptlang.org) compiler target and lib to `es2017`
25
26## 6.2.0
27
28* updated to `swagger-jsdoc-express@1.5.0`
29
30## 6.1.0
31
32* added `createQueue()` function
33* updated to `errorhandler@1.5.1`
34
35## 6.0.0
36
37* changed to [Node.js 10](https://nodejs.org/en/blog/release/v10.0.0/) support
38
39## 5.22.0
40
41* updated to `@mapbox/polyline@1.1.0`
42* updated to `swagger-jsdoc-express@1.4.0`
43
44## 5.21.0
45
46* added `addFiles()` to `ZipBuilder` class
47* leading `/` chars are now supported as zip file paths
48* added additional `opts` argument for [Cache.set()](https://egodigital.github.io/egoose/interfaces/_cache_index_.cache.html#set) method
49* updated to `yargs-parser@13.1.0`
50
51## 5.20.0
52
53* added zip bilder classes and functions
54
55## 5.19.0
56
57* added `isJoi()` function
58* updated to `body-parser@1.19.0`
59
60## 5.18.0
61
62* added `connector` property to [MongoDatabaseOptions](https://egodigital.github.io/egoose/interfaces/_mongo_index_.mongodatabaseoptions.html)
63
64## 5.17.0
65
66* updated to `azure-storage@2.10.3`
67* updated to `moment-timezone@0.5.25`
68* updated to `mime-types@2.1.24`
69
70## 5.16.0
71
72* added [format()](https://egodigital.github.io/egoose/modules/_strings_index_.html#format) and [formatArray()](https://egodigital.github.io/egoose/modules/_strings_index_.html#formatarray) functions
73* updated to `swagger-jsdoc-express@1.3.1`
74
75## 5.15.0
76
77* added `doNotNormalizeHeaders` property to [HttpRequestOptions](https://egodigital.github.io/egoose/interfaces/_http_index_.httprequestoptions.html) interface
78
79## 5.14.0
80
81* updated to `swagger-jsdoc-express@1.2.0`
82
83## 5.13.1
84
85* updated to `swagger-jsdoc-express@1.1.0`
86
87## 5.12.1
88
89* added `setupSwaggerUIFromSourceFiles()` function from [swagger-jsdoc-express](https://www.npmjs.com/package/swagger-jsdoc-express)
90* bug fixes
91
92## 5.11.0
93
94* added `isAppEnv()` function
95
96## 5.10.0
97
98* [WebSocketHostServerFactory](https://egodigital.github.io/egoose/modules/_http_websockets_.html#websockethostserverfactory) now supports secure HTTP servers
99
100## 5.9.0
101
102* web socket servers can now verify remote clients
103
104## 5.8.0
105
106* added `glob()` and `globSync()` functions
107
108## 5.7.0
109
110* added `parseCommandLine()` function
111
112## 5.6.1
113
114* added WebSocket types
115* fixes
116
117## 5.5.0
118
119* added `addressToGeoCoordinates()` function
120
121## 5.4.0
122
123* optimized `jsonObject()` function
124
125## 5.3.0
126
127* added `jsonObject()` function
128
129## 5.2.1
130
131* added cache framework with [Redis](https://redis.io/) support
132* fixes
133
134## 5.1.0
135
136* added `asBuffer()` function
137
138## 5.0.2
139
140* refactored concept of handling and providing statistic data
141* fixes
142
143## 4.9.4
144
145* added classes and interface for handling statistic data
146* fixes
147
148## 4.8.3
149
150* added `Stopwatch` class
151
152## 4.6.0
153
154* added `registerForMicrosoftOAuth()` function, which registers an [Express](https://expressjs.com/) middleware to handle Microsoft OAuth requests
155* added `getMicrosoftMe()` function, which returns information about the currently logged in user
156* added `getMicrosoftOAuthLoginUrl()` function, which returns the login URL for the underlying tenant
157
158## 4.4.0
159
160* added `calcRoute()` function
161* added `randChars()` and `randCharsSync()` functions
162* added `sendMail()` function
163
164## 4.3.1
165
166* `blobContainerProvider` property of [AzureStorageClientOptions interface](https://egodigital.github.io/egoose/interfaces/_azure_storage_.azurestorageclientoptions.html) can also handle strings now
167* updated to `mime-types@2.1.22`
168
169## 4.2.0
170
171* added `log()` method to [MongoApiHost](https://egodigital.github.io/egoose/classes/_apis_host_.mongoapihost.html) class
172* added `initLogsSchema()` for mongo databases
173
174## 4.1.0
175
176* `new Buffer` => `Buffer.from`
177
178## 4.0.1
179
180* updated to `moment@2.24.0`
181* updated to `node-enumerable@4.0.2`
182* updated to `typescript@3.3.1`
183
184## 3.8.0
185
186* added `socket` property to `HttpRequestOptions` interface
187
188## 3.7.1
189
190* added `exec()` function
191* added `useMemAvailable` property to [CreateMonitoringApiResultOptions interface](https://egodigital.github.io/egoose/interfaces/_apis_index_.createmonitoringapiresultoptions.html)
192
193## 3.6.0
194
195* added `asLocal()`, `asMoment()`, `asUTC()`, `getAppVersionSync()` functions
196* `createMonitoringApiResult()` now also returns the app version information from `getAppVersionSync()` now
197* updated to `fast-glob@2.2.6`
198* updated to `moment@2.23.0`
199
200## 3.5.1
201
202* added `timeout` property to `HttpRequestOptions` interface
203* added `readBody`, `readJSON` and `readString` method to `HttpResponse` interface
204* updated to `fast-glob@2.2.4`
205
206## 3.4.1
207
208* corrected now(tz) bug
209* added test
210
211## 3.4.0
212
213* added `exists()` function
214* added `isBlockDevice()` and `isBlockDeviceSync()` functions
215* added `isCharDevice()` and `isCharDeviceSync()` functions
216* added `isDir()` and `isDirSync()` functions
217* added `isFile()` and `isFileSync()` functions
218* added `isSymLink()` and `isSymLinkSync()` functions
219* updated to `fs-extra@7.0.1`
220
221## 3.3.4
222
223* fixed `saveUniqueBlob()` method of `AzureStorageClient` class
224* updated to `moment-timezone@0.5.23`
225
226## 3.3.0
227
228* changed `mongooseOptions` datatype to `any`
229
230## 3.2.0
231
232* added `mongooseOptions` property to `MongoDatabaseOptions` interface
233* updated to `azure-storage@2.10.2`
234* updated to `mime-types@2.1.21`
235
236## 3.1.0
237
238* fixed `loadBlob()` method of `AzureStorageClient` class
239* updated to `express@4.16.4`
240
241## 3.0.1
242
243* default path prefix for Azure blob now using `APP_ENV` value with `prod` as default
244* set to `mongoose@5.2.17`
245* updated to `chai@4.2.0`
246* updated to `fast-glob@2.2.3`
247
248## 2.11.0
249
250* added `createMonitoringApiResult()` function
251* added `getCpuUsage()` function
252* added `getDiskSpace()` function
253* updated to `mongoose@5.2.17`
254
255## 2.10.0
256
257* added `isMongoId()` function
258* updated to `mongoose@5.2.15`
259
260## 2.9.0
261
262* added optional `errorKeysOnly` property to `SendResponseOptions` interface
263* added `AzureStorageClient` class
264* updated to `lodash@4.17.11`
265* updated to `mongoose@5.2.14`
266
267## 2.8.0
268
269* added `tempFile()` and `tempFileSync()` functions
270* fixed `guid` / `uuid` functions when using version 5
271* updated to `mongoose@5.2.12`
272
273## 2.7.3
274
275* update scripts
276
277## 2.7.2
278
279* updated to `@types/mongoose@5.2.7`
280
281## 2.7.1
282
283* updated to `mongoose@5.2.10`
284
285## 2.7.0
286
287* added `forEachAsync()` function
288* updated to `mongoose@5.2.9`
289
290## 2.6.0
291
292* using `APP_PORT` environment variable as default value for `start()` method of `ApiHost` class now
293
294## 2.5.1
295
296* `sendResponse()` uses `utf-8` instead of `utf8` now
297
298## 2.5.0
299
300* added `calcDistance()` function
301
302## 2.4.1
303
304* fixed bodyParser warnings thrown by express
305
306## 2.4.0
307
308* added additional parameter for custom options in `sendResponse()` function
309
310## 2.3.1
311
312* added `useErrorHandler()` to `ApiHost` class
313* added `applyFuncFor` and `toBooleanSafe()` functions
314
315## 2.2.0
316
317* added [node-enumerable](https://www.npmjs.com/package/node-enumerable)
318
319## 2.1.1
320
321* generic types for `query()` and `queryOne()` methods in `MongoDatabase` class
322
323## 2.0.0
324
325* improved use of `MongoApiHost` and `MongoDatabase` classes
326* remove static `fromEnvironment()` method from `MongoDatabase`
327
328## 1.15.0
329
330* added `guid()` and `uuid()` functions
331
332## 1.14.0
333
334* added custom options for an `initialize()` method of an `ApiHost` object
335
336## 1.13.0
337
338* `toStringSafe()` can also handle arrays and plain objects now
339
340## 1.11.0
341
342* added `model()`, `query()` and `queryOne()` methods for `MongoDatabase` class
343
344## 1.10.0
345
346* added special API host class with MongoDB helper methods
347
348## 1.9.0
349
350* added `cloneObj()`, `importApiErrors()` and `importApiErrorsSync()` functions
351
352## 1.8.0
353
354* Mongo database
355
356## 1.6.0
357
358* added `createCompletedAction()`, `now()` and `utc()` functions
359* added logger types and functions
360* added API host types
361* added `IS_DEV` and `IS_LOCAL_DEV` constants
362
363## 1.5.0
364
365* added unit tests
366* added `encoding` property to `HttpRequestOptions` interface
367* added `pipe()` method to `HttpResponse` interface
368* fixed typos
369* fixed handling options (`HttpRequestOptions`) of HTTP request functions