sigma-andex
fcf532bd71
Add hello world example to readme & format code
2022-05-22 17:54:11 +01:00
sigma-andex
345675d5bd
Make settings optional
...
- Add default onStarted and closingHandler
- Use justifill to easily add options
- Remove multiple serve options
2022-05-22 17:37:42 +01:00
sigma-andex
c16eb2bdcc
Rename modules and rudimentarily update readme
2022-05-22 12:48:32 +01:00
sigma-andex
dc245bbfc7
Update packages and spago files
2022-05-22 12:34:27 +01:00
sigma-andex
9a8f34cf73
Update HTTPure to routing duplex
2022-05-22 12:34:27 +01:00
sigma-andex
24197a474a
First working example of routing duplex
2022-05-22 12:34:27 +01:00
Connor Prussin
2286472305
Use niv out of nixpkgs ( #195 )
...
* Use `niv` out of `nixpkgs`
* Update CI tests and add one for Nix formatting
2022-05-04 23:33:37 -07:00
Thomas Honeyman
42bf4475e0
Update for PureScript 0.15 ( #194 )
...
* Update shell and packages
* Fix code for 0.15
* Fix tests
* Format
* Add check-pulp command
* Generate bowerfile
* Add check-pulp to CI
* Add nixfmt to formatting
* Fixup test helpers
* Take 2
* PR comments (#1 )
* Nix cleanup from PR
* Use arrows functions
* Remove unnecessary step
Co-authored-by: Connor Prussin <connor@prussin.net>
2022-05-04 14:02:29 -07:00
Connor Prussin
bc93c23f21
v0.13.1 → v0.14.0
2021-12-06 21:08:44 -08:00
Connor Prussin
4f0fb34195
Release notes for v0.14.0
2021-12-06 21:03:07 -08:00
Wenbo Gao
4319cffed6
Cache Body toBuffer
/toString
Results ( #189 )
...
* cache `body` processing results (Buffer, String) with `Ref`
* add `readBodyAs(Buffer|Stream|String)` for accessing `body`
* fix tests
* add tests for `readBodyAsBuffer` and `readBodyAsString`
* move Body to HTTPure.Body and rename it to RequestBody
* add HTTPure.Body.toStream
* consolidate `readBodyAs(Buffer|String)` into `to(Buffer|String)`
and move `Ref` from top level `body` down to `buffer` and `string` fields
* fix tests
* import constructors explicitly
* revert changes
This reverts commit e53188c3e6d74ca00d3d891829ca91f0803b870b.
* update `Body.read` to return `RequestBody`
2021-12-06 20:59:53 -08:00
Connor Prussin
3f20f1cff8
v0.13.0 → v0.13.1
2021-11-29 21:26:39 -08:00
Connor Prussin
c21da0917e
Release notes for v0.13.1
2021-11-29 21:19:33 -08:00
Arthur Xavier
c34b341a03
Support 'Duplex' streams in the existing 'Body' instance for streams ( #187 )
2021-11-29 09:09:40 -08:00
Connor Prussin
619c18e8a8
v0.12.0 → v0.13.0
2021-11-20 09:47:43 -08:00
Connor Prussin
e99713c830
Regenerate bower.json
2021-11-20 09:47:43 -08:00
Connor Prussin
0b44d317e1
Release notes for v0.13.0
2021-11-20 09:47:43 -08:00
Connor Prussin
e6c12b9cf7
Update Releasing notes
2021-11-20 09:47:43 -08:00
Connor Prussin
7dfc1ba32b
Rename master to main in github workflow
2021-11-20 09:47:43 -08:00
Connor Prussin
8840689a60
Upgrade sources
2021-11-20 09:35:41 -08:00
Connor Prussin
8295d8755e
Clean up imports ( #185 )
...
* Clean up import declarations to only use qualified when necessary
* Remove unused imports
2021-11-18 22:16:35 -08:00
Connor Prussin
f58aa94484
Remove some stale doc references to make
2021-11-16 21:50:23 -08:00
Connor Prussin
6e886b91ac
Add support for non string requests ( #184 )
...
* First version of supporting non-string requests
* Clean up
* Minor cleanup
* Simplify to directly export the stream
* Add nl
* Clean up & add more testing
Co-authored-by: sigma-andex <sigma.andex@pm.me>
2021-11-15 20:02:36 -08:00
Connor Prussin
beb4621f4b
Update project setup ( #183 )
...
* Update project setup to use spago.
* Add license and repo info to spago.dhall
* Fix check.yaml
* Remove unused dependencies
* Remove --no-install from checks.yaml
* Minor cleanup
* Readd nix checks
* Migrate everything to spago & remove Makefile
* Split nix environment install from build in workflow
* Fix NIX_PATH
* Make build step of workflow build everything
* Fix github action
Co-authored-by: sigma-andex <sigma.andex@pm.me>
2021-11-12 23:46:59 -08:00
Thomas Honeyman
6ce52417f7
Migrate from purty
to purs-tidy
( #178 )
...
* Replace purty with purs-tidy
* run purs-tidy
2021-11-06 12:37:31 -07:00
dependabot[bot]
af027845e9
Bump path-parse from 1.0.6 to 1.0.7 ( #177 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-31 14:08:03 -07:00
Connor Prussin
c075df65d7
Ensure correct ordering on stream operations ( #176 )
2021-06-25 10:58:16 -07:00
Connor Prussin
1da43a09c4
Minor cleanup - remove unused imports
2021-06-25 10:25:17 -07:00
Jan Schulte
8f1730c00b
Add documentation for a shutdown hook ( #174 )
2021-06-14 08:08:32 -07:00
Connor Prussin
2f815ce336
Rename 'master' branch to 'main' ( #173 )
2021-03-22 12:34:49 -07:00
Connor Prussin
43f89f139b
Clean up github workflows ( #172 )
...
* Clean up workflows
* Remove build status badge
2021-03-22 12:20:17 -07:00
Connor Prussin
1ad5a08306
Add code formatting with purty ( #171 )
...
* Add code formatting with purty
* Purtify code
2021-03-22 12:02:36 -07:00
Connor Prussin
1ce9147917
Fix build status badge to point to github action
2021-03-20 16:10:29 -07:00
Connor Prussin
2ec5e6826d
Update releasing guide to use pulp publish
...
Previously this was done in Travis CI but there's really no good reason to
manually push branches and let CI publish instead of just using the publish
command directly.
2021-03-20 16:08:23 -07:00
Connor Prussin
db23d9e5f0
v0.12.0
2021-03-20 15:47:30 -07:00
Connor Prussin
a888601e95
Release notes for v0.12.0
2021-03-20 15:44:36 -07:00
Connor Prussin
52f19fbabb
Don't use echo -n
since it's nonportable to OSX ( #170 )
2021-03-20 15:44:36 -07:00
Connor Prussin
c913cca696
Modernize tooling & fix CI ( #168 )
...
* Modernize tooling & fix CI
- Remove old spago & psc-package files
- Update dependencies
- Move to github actions instead of travis CI
- Use purescript 0.14.0 in nix-shell
* Re-add all referenced dependencies to bower file
* Build in a separate action step
2021-03-20 15:44:36 -07:00
Connor Prussin
2611d498b8
Release notes for v0.11.0
2021-03-04 09:39:26 -08:00
Victor Peter Rouven Müller
ab8c1fe88c
Update to purescript 0.14 ( #167 )
2021-03-03 11:16:22 -08:00
Tim McIver
b3eb977096
Fix HTTPure.Utils.replacePlus ( #166 )
...
* Create failing test.
* Fix code so failing test passes.
2020-11-14 13:09:07 -08:00
dependabot[bot]
a81abca2d6
Bump lodash from 4.17.15 to 4.17.20 ( #163 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 13:59:37 -07:00
dependabot[bot]
cba2cf01f6
Bump elliptic from 6.5.1 to 6.5.3 ( #161 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.1 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.1...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-05 13:28:25 -07:00
dependabot[bot]
4b6aa3dcc5
Bump tree-kill from 1.2.1 to 1.2.2 ( #162 )
...
Bumps [tree-kill](https://github.com/pkrumins/node-tree-kill ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/pkrumins/node-tree-kill/releases )
- [Commits](https://github.com/pkrumins/node-tree-kill/compare/v1.2.1...v1.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-05 13:10:26 -07:00
dependabot[bot]
0708d729a6
Bump acorn from 7.1.0 to 7.1.1 ( #156 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-02 11:10:33 -07:00
paluh
896956b762
Expose original request url as a part of Request
( #155 )
2020-03-09 08:34:04 -07:00
Connor Prussin
61b88de59b
#153 bind to 0.0.0.0 instead of localhost ( #154 )
...
* Bind to 0.0.0.0 instead of localhost
* Don't use nixjs for purescript
* Use lorri
* Use niv
* Use nix for travis build
* Clean up travis config
2020-02-26 16:43:38 -08:00
Drew Olson
91224a955f
Add spago configuration ( #152 )
2020-02-24 17:20:40 -08:00
Connor Prussin
a12e63b879
v0.10.0
2019-12-03 13:36:39 -08:00
Connor Prussin
b47c9a2c6c
Release notes for v0.10.0
2019-12-03 13:35:30 -08:00