From 8c9110af7c518db9c70ccbeab90e284bcfa9b4bd Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Wed, 27 Apr 2022 19:02:28 -0500 Subject: [PATCH 1/4] Update the bower dependencies --- bower.json | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/bower.json b/bower.json index 3304ccd..5c02e4b 100644 --- a/bower.json +++ b/bower.json @@ -12,22 +12,22 @@ "url": "https://github.com/purescript-node/purescript-node-http.git" }, "devDependencies": { - "purescript-console": "master" + "purescript-console": "^6.0.0" }, "dependencies": { - "purescript-arraybuffer-types": "main", - "purescript-contravariant": "master", - "purescript-effect": "master", - "purescript-foreign": "master", - "purescript-foreign-object": "master", - "purescript-maybe": "master", - "purescript-node-buffer": "master", - "purescript-node-net": "master", - "purescript-node-streams": "master", - "purescript-node-url": "master", - "purescript-nullable": "main", - "purescript-options": "main", - "purescript-prelude": "master", - "purescript-unsafe-coerce": "master" + "purescript-arraybuffer-types": "^3.0.2", + "purescript-contravariant": "^6.0.0", + "purescript-effect": "^4.0.0", + "purescript-foreign": "^7.0.0", + "purescript-foreign-object": "^4.0.0", + "purescript-maybe": "^6.0.0", + "purescript-node-buffer": "^8.0.0", + "purescript-node-net": "^3.0.0", + "purescript-node-streams": "^6.0.0", + "purescript-node-url": "^6.0.0", + "purescript-nullable": "^6.0.0", + "purescript-options": "^7.0.0", + "purescript-prelude": "^6.0.0", + "purescript-unsafe-coerce": "^6.0.0" } } From 921facb2359e677e051d0c76f07dcd1ead48365c Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Wed, 27 Apr 2022 19:02:28 -0500 Subject: [PATCH 2/4] Uncomment spago tests --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e91e9a..06ed895 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,4 +32,4 @@ jobs: - name: Run tests run: | bower install - # npm run-script test --if-present + npm run-script test --if-present From 7951cb5ede1835bf262b78e18d54644fb6d1c987 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Wed, 27 Apr 2022 19:02:28 -0500 Subject: [PATCH 3/4] Update the changelog --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07da869..cb2cfe0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ Notable changes to this project are documented in this file. The format is based ## [Unreleased] +Breaking changes: + +New features: + +Bugfixes: + +Other improvements: + +## [v7.0.0](https://github.com/purescript-node/purescript-node-http/releases/tag/v7.0.0) - 2022-04-28 + Breaking changes: - Update project and deps to PureScript v0.15.0 (#41 by @JordanMartinez, @sigma-andex) From 5b6f5c4f69878ecf97349da8c50183d73da5ccce Mon Sep 17 00:00:00 2001 From: Thomas Honeyman Date: Wed, 27 Apr 2022 20:05:18 -0400 Subject: [PATCH 4/4] Update Main.purs --- test/Main.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Main.purs b/test/Main.purs index d5860c2..ac8c103 100644 --- a/test/Main.purs +++ b/test/Main.purs @@ -43,7 +43,7 @@ respond req res = do , "" ] setHeader res "Content-Type" "text/html" - _ <- writeString outputStream UTF8 html (pure unit) + _ <- writeString outputStream UTF8 html mempty end outputStream (pure unit) "POST" -> void $ pipe inputStream outputStream _ -> unsafeCrashWith "Unexpected HTTP method"