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 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) 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" } } 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"