UNPKG

3.55 kBMarkdownView Raw
1# Changelog
2
3These are the changes for server. Follows semver as long as you use the documented features. If you reach into the internals, make sure to lock the version and follow the changes. Feel free to ask any question in Github :)
4
5
6## 1.0.18 [[reference](https://github.com/franciscop/server/compare/1.0.17...1.0.18)]
7
8- Fixed tag for npm so it doesn't install alphas by default.
9
10
11## 1.0.17 [[reference](https://github.com/franciscop/server/compare/1.0.16...1.0.17)]
12
13- Forgot a couple of debugging console.log(), so had to re-publish without them.
14
15
16
17## 1.0.16 [[reference](https://github.com/franciscop/server/compare/1.0.15...1.0.16)]
18
19- Add [`options` sub-schema definition in the plugin parser](https://github.com/franciscop/server/issues/60).
20
21
22
23## 1.0.15 [[reference](https://github.com/franciscop/server/compare/1.0.14...1.0.15)]
24
25- Added [session to the sockets](https://github.com/franciscop/server/issues/55).
26- Fixed test and docs for jsonp.
27
28
29
30## 1.0.14 [[reference](https://github.com/franciscop/server/compare/1.0.13...1.0.14)]
31
32- Added [express session globally](https://github.com/franciscop/server/issues/30) so stores can be created based on that.
33
34
35
36## 1.0.13 [[reference](https://github.com/franciscop/server/compare/1.0.12...1.0.13)]
37
38- Fixed bug where some error handling might throw an error. From internal testing in one of my projects.
39
40
41
42## 1.0.12 [[reference](https://github.com/franciscop/server/compare/1.0.11...1.0.12)]
43
44- Remove [the unexpected body that was set by express](https://github.com/franciscop/server/issues/46) when only an status code was sent by making it explicit with status(NUMBER).send().
45
46
47
48## 1.0.11 [[reference](https://github.com/franciscop/server/compare/1.0.10...1.0.11)]
49
50- Never published, published on 1.0.12 instead.
51
52
53
54## 1.0.10 [[reference](https://github.com/franciscop/server/compare/1.0.9...1.0.10)]
55
56- Do not show a warning if [only the status was set but no body](https://github.com/franciscop/server/issues/46) was set.
57
58
59
60## 1.0.9 [[reference](https://github.com/franciscop/server/compare/1.0.8...1.0.9)]
61
62- Better error handling and warnings when there is no response from the server. Shows error only when it should.
63
64
65
66## 1.0.8 [[reference](https://github.com/franciscop/server/compare/1.0.7...1.0.8)]
67
68- Never published, published on 1.0.9 instead.
69
70
71
72## 1.0.7 [[reference](https://github.com/franciscop/server/compare/1.0.6...1.0.7)]
73
74- Fix for [Yarn and npm having different path resolution](https://github.com/franciscop/server/issues/43). This was giving inconsistent results when using yarn (vs the expected one with npm):
75
76```js
77server(
78 get('*', (ctx) => status(200))
79);
80```
81
82
83
84## 1.0.6 [[reference](https://github.com/franciscop/server/compare/1.0.5...1.0.6)]
85
86- Never published, published on 1.0.7 instead.
87
88
89
90## 1.0.5 [[reference](https://github.com/franciscop/server/compare/1.0.4...1.0.5)]
91
92- Fix subdomain order resolution (merged from @nick-woodward).
93- Test subdomain handling.
94- Removed pointless warning.
95
96
97
98## 1.0.4 [[reference](https://github.com/franciscop/server/compare/1.0.3...1.0.4)]
99
100- Specify that the `views` for express should be a folder (that can inherit).
101- Added environment variable name handling.
102
103
104
105## 1.0.3 [[reference](https://github.com/franciscop/server/compare/1.0.2...1.0.3)]
106
107- The log plugin is always on since it's needed internally.
108
109
110
111## 1.0.2
112
113- Better error handling for environment variables.
114
115
116
117## 1.0.1
118
119- Added the option to disable the CSRF and security plugins independently.
120
121
122
123## 1.0.0
124
125**First major release.**