gruber 0.4.0 → 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 CHANGED
@@ -2,6 +2,36 @@
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
+
25
+ ## 0.4.1
26
+
27
+ **fixes**
28
+
29
+ - `getDenoConfigOptions`, `getDenoConfiguration`, `getNodeConfigOptions` and `getNodeConfiguration` all have a default options of `{}`
30
+ - The Configuration markdown tables calculates the width properly when there are non-strings (URLs) in there
31
+ - The `Structure.boolean` method correctly types the optional fallback argument.
32
+ - Add experimental `Structure.literal` construct
33
+ - `Structure.object` fails if there are additional fields or the value is an instance of a class
34
+
5
35
  ## 0.4.0
6
36
 
7
37
  **new**