UNPKG

10.9 kBMarkdownView Raw
1# presta
2
3## 0.41.1
4
5### Patch Changes
6
7- [`d18d29f`](https://github.com/sure-thing/presta/commit/d18d29fc6aaf18a3dd4a72a468bb3d1dd5f6265b) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Standardize dev server responses
8
9* [`021c290`](https://github.com/sure-thing/presta/commit/021c2905059c5d27a558289117191320633c6c13) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Remove error handling and logging from `wrapHandler.ts` — this should only be handled during dev. In prod, users should rely on other libraries like `hypr`.
10
11- [`eb59ca9`](https://github.com/sure-thing/presta/commit/eb59ca940a3ff0a6f92a47f177ed2799d9f2e12e) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Normalize request headers & query params, add tests
12
13* [`79c9482`](https://github.com/sure-thing/presta/commit/79c948243403944d680a9a1da54ea3af59c134cf) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Remove static 404.html handling — this is specific to every hosting platform, we should not attempt to mimic it locally because it can result in non-prod-like edge cases that could confuse users.
14
15- [`7798391`](https://github.com/sure-thing/presta/commit/7798391e9019a576bcc1e8d02ec158da85495633) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Make sure new logo is used
16
17## 0.41.0
18
19### Minor Changes
20
21- [`07a540f`](https://github.com/sure-thing/presta/commit/07a540fa296edeea304d90de84c9c9f98f6bb0b1) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Update watch-dependency-graph to v3
22
23## 0.40.7
24
25### Patch Changes
26
27- [`1ac8f37`](https://github.com/sure-thing/presta/commit/1ac8f373fa0fe01dd3d78eee246ee99f446908c9) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Adds back livereload script to static HTML files, fixes #137
28
29## 0.40.6
30
31### Patch Changes
32
33- [`6e85ff9`](https://github.com/sure-thing/presta/commit/6e85ff9fef00c06e394d71372171d3bf2ef67415) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Ok now we got it I think, fixes #128
34
35## 0.40.5
36
37### Patch Changes
38
39- [`7329b16`](https://github.com/sure-thing/presta/commit/7329b16f39e37d1d10276d84288f3ddc34ad221f) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Pass PRESTA_SERVERLESS_RUNTIME at build time, fixes #128
40
41## 0.40.4
42
43### Patch Changes
44
45- [`61a3341`](https://github.com/sure-thing/presta/commit/61a3341036badd8d87eba4345cc520ba58289f54) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Fix routeParameters types
46
47* [`bb5a090`](https://github.com/sure-thing/presta/commit/bb5a090871ce11ee183ce4f4d9cf8cf735e0e203) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Adds PRESTA_SERVERLESS_RUNTIME, fixes #128
48
49## 0.40.3
50
51### Patch Changes
52
53- [`26dc21d`](https://github.com/sure-thing/presta/commit/26dc21d2e6fe7a1103739286508589361aa58d3c) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Allow sirv to pick up generated static files if they exist
54
55* [`50d5f21`](https://github.com/sure-thing/presta/commit/50d5f21ef2faffb3b93c1dd65bc47d0c4fc83415) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Delegate local server handling all the way down the chain of handlers
56
57## 0.40.2
58
59### Patch Changes
60
61- [`e5129dc`](https://github.com/sure-thing/presta/commit/e5129dceea0ec0ab96e67b6ba997380f8e14a51b) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Handle route params separately from query params, now available as `routeParameters` and `queryStringParameters` instead of merged in `params`.
62
63## 0.40.1
64
65### Patch Changes
66
67- [`ac87bc2`](https://github.com/sure-thing/presta/commit/ac87bc26a6c98e535d210ea442deed56d30bd76c) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Ensure query params are parsed and merged with route params
68
69## 0.40.0
70
71### Minor Changes
72
73- [`f640eac`](https://github.com/sure-thing/presta/commit/f640eacefefc34b039eed317589cd292a5af5f1e) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Make config creation async to allow plugins to bootstrap themselves if need be
74
75## 0.39.2
76
77### Patch Changes
78
79- [`4bdb013`](https://github.com/sure-thing/presta/commit/4bdb013f6424d00561274c2c79b17753b2ef2224) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Do not clear output directory on dev/watch startup
80
81## 0.39.1
82
83### Patch Changes
84
85- [`e6131bd`](https://github.com/sure-thing/presta/commit/e6131bd9effdefd421b39d80d109e02c27a0e07b) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Export logger, emit build before final core library logs 'complete' message
86
87## 0.39.0
88
89### Minor Changes
90
91- [`c53c96c`](https://github.com/sure-thing/presta/commit/c53c96c5ea5ab9698ca4776beeacc7ad3ff52ae1) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Standardize hooks interfaces — everything is now on `context.hooks` and follows `emitX` and `onX` pattern
92
93## 0.38.0
94
95### Minor Changes
96
97- [`e7e9fa4`](https://github.com/sure-thing/presta/commit/e7e9fa42be718902763c1e4b0dad5f8b10bb93a1) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Pass full context getter to plugins, standardize type imports
98
99### Patch Changes
100
101- [`aa32825`](https://github.com/sure-thing/presta/commit/aa3282511351de5afa2cb79b2c7c6bfbed0b44ea) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Move Env to constant value
102
103## 0.37.1
104
105### Patch Changes
106
107- [`747bc24`](https://github.com/sure-thing/presta/commit/747bc24d6c751cd9348477bb8a304b411f47fecb) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Clear manifest from require cache before routing
108
109## 0.37.0
110
111### Minor Changes
112
113- [`6010c96`](https://github.com/sure-thing/presta/commit/6010c968b3dfe2e04638233be1e3f20839bdfab8) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Introduce an actions API — subject to change
114
115## 0.36.3
116
117### Patch Changes
118
119- [`b867a13`](https://github.com/sure-thing/presta/commit/b867a13a7932d91b7be5086f68ab68333d198cc3) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Fix CLI help inconsistencies
120
121## 0.36.2
122
123### Patch Changes
124
125- [`898f5b2`](https://github.com/sure-thing/presta/commit/898f5b2e0ec9be7cc7a997a9164593aa6b75c3bb) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Fix typo
126
127## 0.36.1
128
129### Patch Changes
130
131- [`32e3bc5`](https://github.com/sure-thing/presta/commit/32e3bc557f6f9124e60ca6edb7e413c17e6008f7) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Register runtime for serve command
132
133## 0.36.0
134
135### Minor Changes
136
137- [`cd0a41f`](https://github.com/sure-thing/presta/commit/cd0a41ff0362fcca938d8b4c4442933f536ca1ba) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Update esbuild dependencies
138
139* [`50050de`](https://github.com/sure-thing/presta/commit/50050de22a8edf52c7fdb156d18b747e96a37847) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Adds port option to CLI and config file
140
141### Patch Changes
142
143- [`933f060`](https://github.com/sure-thing/presta/commit/933f060f5c511a58a733387bdd810d7b2b1590a4) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Handle getFiles exception
144
145* [`1649697`](https://github.com/sure-thing/presta/commit/1649697bc888f6e02418b886296f5ced45e9f0c8) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add more CLI help docs
146
147- [`f6dd990`](https://github.com/sure-thing/presta/commit/f6dd99040395e735514ca515b8e436ac4a0437f1) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Log swallowed handler error
148
149## 0.35.6
150
151### Patch Changes
152
153- [`f6c1b25`](https://github.com/sure-thing/presta/commit/f6c1b251fd217ee5c872ae1909b5dd428f9e5c42) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Noop bump for debug purposes
154
155## 0.35.5
156
157### Patch Changes
158
159- [`4b9da8c`](https://github.com/sure-thing/presta/commit/4b9da8c115ee9ebd74f41d1c595b60cda7364154) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add port to console log
160
161## 0.35.4
162
163### Patch Changes
164
165- [`bdcbded`](https://github.com/sure-thing/presta/commit/bdcbded8c9a3fdadf0848eb15166ad14625d6bc9) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Further improve config try/catch handling
166
167## 0.35.3
168
169### Patch Changes
170
171- [`100838b`](https://github.com/sure-thing/presta/commit/100838bac0ac260ba25dcc75a01061ee1765db3a) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Change task watch -> dev, add watch alias and description
172
173* [`c028e4a`](https://github.com/sure-thing/presta/commit/c028e4acf8f70d1aeef7fd24dc95bb19384234c5) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Fix getConfigFile try/catch logic — only log and/or exit under certain circumstances
174
175## 0.35.2
176
177### Patch Changes
178
179- [`c8df2d6`](https://github.com/sure-thing/presta/commit/c8df2d692a45a9d2ff244830189bc0630c2bd28f) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Adds simple default error handling to wrapHandler for both HTML and JSON requests
180
181## 0.35.1
182
183### Patch Changes
184
185- [`17ba054`](https://github.com/sure-thing/presta/commit/17ba054a323e44a6c62270cc74dbd88eba8cdfa8) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Adds additional export of getCurrentPrestaInstance
186
187* [`241aa30`](https://github.com/sure-thing/presta/commit/241aa304316a32d098564308a22eed822c8828f9) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - add typed hooks to Presta instance
188
189## 0.35.0
190
191### Minor Changes
192
193- [#105](https://github.com/sure-thing/presta/pull/105) [`bb4c1d0`](https://github.com/sure-thing/presta/commit/bb4c1d0d3505bd99639eec8d244e4a1763c77458) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - - adds `postbuild` event for adapter plugin use
194 - adds support for rudimentary plugins
195 - adds and fixes a few types
196
197### Patch Changes
198
199- [#105](https://github.com/sure-thing/presta/pull/105) [`c47957c`](https://github.com/sure-thing/presta/commit/c47957c6b9c4c97f578094a3e991a2aaeaaf8670) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Require cache was not being cleared during watch
200
201## 0.34.6
202
203### Patch Changes
204
205- [`0e6130e`](https://github.com/sure-thing/presta/commit/0e6130e3ceb3f5bcac3b9ac94ff95b590400f05f) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Test new changeset config
206
207## 0.34.5
208
209### Patch Changes
210
211- 0d514fd: New tiny-glob package was returning relative filepaths — the opposite of previous library, matched.
212
213## 0.34.4
214
215### Patch Changes
216
217- ff08a59: Test changesets with new config
218
219## 0.34.3
220
221### Patch Changes
222
223- Test changeset with new config
224
225## 0.34.2
226
227### Patch Changes
228
229- Previous build was published using es-mime-types, which is ESM an was not transpiled. This release reverts to mime-types and installs the TypeScript types required to use it.
230
231## 0.34.1
232
233### Patch Changes
234
235- Setup changesets