gruber 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +342 -328
- package/core/configuration.d.ts +31 -19
- package/core/configuration.js +75 -31
- package/core/configuration.test.js +99 -8
- package/core/fetch-router.d.ts +3 -3
- package/core/http.d.ts +1 -1
- package/core/migrator.d.ts +6 -0
- package/core/migrator.js +23 -0
- package/core/postgres.d.ts +1 -1
- package/core/structures.d.ts +16 -3
- package/core/structures.js +39 -1
- package/core/structures.test.js +75 -2
- package/core/types.d.ts +1 -2
- package/core/types.ts +2 -1
- package/core/utilities.d.ts +12 -0
- package/core/utilities.js +45 -1
- package/core/utilities.test.js +63 -5
- package/package.json +1 -1
- package/source/configuration.d.ts +5 -8
- package/source/configuration.js +5 -2
- package/source/express-router.js +1 -1
- package/source/koa-router.d.ts +1 -1
- package/source/koa-router.js +1 -1
- package/source/mod.js +0 -2
- package/source/node-router.d.ts +1 -2
- package/source/postgres.d.ts +1 -1
- package/source/postgres.js +2 -17
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
This file documents notable changes to the project
|
|
4
4
|
|
|
5
|
+
## 0.5.0
|
|
6
|
+
|
|
7
|
+
**new**
|
|
8
|
+
|
|
9
|
+
- Add the second argument to `config.getUsage(struct, currentValue)` so that is also documents the current configuration value after the default one
|
|
10
|
+
- `ConfigurationOptions#readTextField` accepts URLs and strings
|
|
11
|
+
- Allow HTTP `OPTIONS` method
|
|
12
|
+
- Experimental `Structure.union` type
|
|
13
|
+
- Experimental `Configuration.array` type
|
|
14
|
+
- Non `[Configuration.spec]` types are allowed in configuration (and ignored)
|
|
15
|
+
- Added `trimIndentation` utility
|
|
16
|
+
|
|
17
|
+
**fixes**
|
|
18
|
+
|
|
19
|
+
- Fix `formatMarkdownTable` to generate a valid markdown table
|
|
20
|
+
- `ExpressRouter` & `KoaRouter` are processing routes again
|
|
21
|
+
- Update deno postgres type-only dependency from `3.4.3` to `3.4.4`
|
|
22
|
+
- `Structure.url` handles bad URLs better
|
|
23
|
+
- Ignore `$schema` field when parsing configuration
|
|
24
|
+
|
|
5
25
|
## 0.4.1
|
|
6
26
|
|
|
7
27
|
**fixes**
|