From 55893617fe9b3587adcdeca912e446cf78881277 Mon Sep 17 00:00:00 2001 From: Eric Hwang Date: Thu, 18 Apr 2024 14:01:40 -0700 Subject: [PATCH 1/3] Fix page.params creation in server renderStatic --- src/PageForServer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PageForServer.ts b/src/PageForServer.ts index 810f38d9..719e3fac 100644 --- a/src/PageForServer.ts +++ b/src/PageForServer.ts @@ -84,7 +84,8 @@ function stringifyBundle(bundle) { // TODO: Cleanup; copied from tracks function pageParams(req) { - const params = Object.create(null, { + const params = Object.create(null); + Object.assign(params, { url: req.url, body: req.body, query: req.query, From 530ca5cfa2dbef5f95e9269be5888c7d8e5b67b4 Mon Sep 17 00:00:00 2001 From: Eric Hwang Date: Thu, 18 Apr 2024 14:06:49 -0700 Subject: [PATCH 2/3] 3.0.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 921df022..50803165 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "derby", "description": "MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers.", - "version": "3.0.2", + "version": "3.0.3", "homepage": "http://derbyjs.com/", "repository": { "type": "git", From 8b763ff587a4a1e98de4ff679a5fa931200bb24b Mon Sep 17 00:00:00 2001 From: Eric Hwang Date: Thu, 18 Apr 2024 14:09:25 -0700 Subject: [PATCH 3/3] 4.0.0-beta.12 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 83949442..ea354b1e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "derby", "description": "MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers.", - "version": "4.0.0-beta.11", + "version": "4.0.0-beta.12", "homepage": "http://derbyjs.com/", "repository": { "type": "git",