Commit cdabf6e
Remove support for simple objects in endpoints (#9181)
* Deprecate simple object from endpoints
* Update changeset
* Add missing Response return
Co-authored-by: Happydev <[email protected]>
* Update .changeset/clever-beds-notice.md
Co-authored-by: Sarah Rainsberger <[email protected]>
---------
Co-authored-by: Happydev <[email protected]>
Co-authored-by: Matthew Phillips <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>1 parent 37697a2 commit cdabf6e
File tree
56 files changed
+206
-529
lines changed- .changeset
- packages
- astro
- src
- @types
- core
- app
- build
- endpoint
- middleware
- render
- i18n
- vite-plugin-astro-server
- test
- fixtures
- api-routes/src/pages/context/data
- astro-get-static-paths/src/pages/data
- astro-markdown-frontmatter-injection/src/pages
- astro-markdown/src/pages
- content-collections/src/pages
- core-image-ssr/src/pages
- data-collections/src/pages
- authors
- translations
- dynamic-endpoint-collision/src/pages/api/catch
- non-html-pages/src/pages
- routing-priority/src/pages/api/catch
- ssr-api-route/src/pages
- context
- ssr-dynamic/src/pages/api/products
- ssr-prerender-get-static-paths/src/pages/data
- static-build/src/pages
- data
- with-endpoint-routes/src/pages
- data
- images
- integrations
- markdoc/test/fixtures/content-collections/src/pages
- mdx/test/fixtures
- mdx-frontmatter-injection/src/pages
- mdx-frontmatter/src/pages
- mdx-get-headings/src/pages
- mdx-url-export/src/pages
- mdx-vite-env-vars/src/pages
- node/test/fixtures/node-middleware/src/pages
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
56 files changed
+206
-529
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
2005 | 2004 | | |
2006 | 2005 | | |
2007 | 2006 | | |
2008 | | - | |
2009 | | - | |
2010 | 2007 | | |
2011 | 2008 | | |
2012 | 2009 | | |
| |||
2163 | 2160 | | |
2164 | 2161 | | |
2165 | 2162 | | |
2166 | | - | |
2167 | 2163 | | |
2168 | 2164 | | |
2169 | 2165 | | |
| |||
2199 | 2195 | | |
2200 | 2196 | | |
2201 | 2197 | | |
2202 | | - | |
2203 | | - | |
2204 | | - | |
2205 | | - | |
2206 | | - | |
2207 | | - | |
2208 | | - | |
2209 | | - | |
2210 | | - | |
2211 | | - | |
2212 | 2198 | | |
2213 | 2199 | | |
2214 | | - | |
| 2200 | + | |
2215 | 2201 | | |
2216 | 2202 | | |
2217 | | - | |
| 2203 | + | |
2218 | 2204 | | |
2219 | 2205 | | |
2220 | 2206 | | |
| |||
2319 | 2305 | | |
2320 | 2306 | | |
2321 | 2307 | | |
2322 | | - | |
2323 | | - | |
| 2308 | + | |
| 2309 | + | |
2324 | 2310 | | |
2325 | | - | |
2326 | | - | |
2327 | | - | |
2328 | | - | |
2329 | | - | |
2330 | | - | |
| 2311 | + | |
| 2312 | + | |
2331 | 2313 | | |
2332 | 2314 | | |
2333 | 2315 | | |
2334 | | - | |
2335 | | - | |
| 2316 | + | |
| 2317 | + | |
2336 | 2318 | | |
2337 | 2319 | | |
2338 | 2320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
181 | 180 | | |
182 | 181 | | |
183 | 182 | | |
184 | | - | |
185 | | - | |
186 | | - | |
| 183 | + | |
187 | 184 | | |
188 | 185 | | |
189 | 186 | | |
190 | 187 | | |
191 | 188 | | |
192 | 189 | | |
193 | | - | |
| 190 | + | |
194 | 191 | | |
195 | 192 | | |
196 | 193 | | |
| |||
322 | 319 | | |
323 | 320 | | |
324 | 321 | | |
325 | | - | |
| 322 | + | |
326 | 323 | | |
327 | 324 | | |
328 | 325 | | |
| |||
367 | 364 | | |
368 | 365 | | |
369 | 366 | | |
370 | | - | |
371 | | - | |
| 367 | + | |
| 368 | + | |
372 | 369 | | |
373 | 370 | | |
374 | 371 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
269 | 268 | | |
270 | 269 | | |
271 | 270 | | |
272 | | - | |
273 | | - | |
274 | | - | |
| 271 | + | |
275 | 272 | | |
276 | 273 | | |
277 | 274 | | |
278 | 275 | | |
279 | 276 | | |
280 | | - | |
| 277 | + | |
281 | 278 | | |
282 | 279 | | |
283 | 280 | | |
| |||
560 | 557 | | |
561 | 558 | | |
562 | 559 | | |
563 | | - | |
564 | 560 | | |
565 | 561 | | |
566 | 562 | | |
| |||
603 | 599 | | |
604 | 600 | | |
605 | 601 | | |
606 | | - | |
607 | 602 | | |
608 | 603 | | |
609 | 604 | | |
610 | 605 | | |
611 | 606 | | |
612 | 607 | | |
613 | 608 | | |
614 | | - | |
| 609 | + | |
615 | 610 | | |
616 | 611 | | |
617 | 612 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 1 | + | |
10 | 2 | | |
11 | 3 | | |
12 | 4 | | |
| |||
19 | 11 | | |
20 | 12 | | |
21 | 13 | | |
22 | | - | |
23 | | - | |
24 | 14 | | |
25 | 15 | | |
26 | 16 | | |
| |||
69 | 59 | | |
70 | 60 | | |
71 | 61 | | |
72 | | - | |
73 | 62 | | |
74 | 63 | | |
75 | 64 | | |
| |||
143 | 132 | | |
144 | 133 | | |
145 | 134 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 135 | + | |
172 | 136 | | |
173 | 137 | | |
174 | 138 | | |
175 | | - | |
| 139 | + | |
176 | 140 | | |
177 | 141 | | |
178 | 142 | | |
| |||
187 | 151 | | |
188 | 152 | | |
189 | 153 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
198 | 157 | | |
199 | 158 | | |
200 | 159 | | |
201 | 160 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | 161 | | |
292 | 162 | | |
293 | 163 | | |
0 commit comments