Asher Gomez
58dbbd6bd2
chore: enable no-console
lint rule ( #5975 )
2024-09-13 15:43:13 +10:00
denobot
c5d7930d57
chore: release 2024.09.12 ( #5969 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-12 19:18:10 +09:00
Asher Gomez
b900e72b3d
BREAKING(net/unstable): move get-network-address
module to unstable-get-network-address
( #5949 )
...
* BREAKING(net/unstable): move `get-network-address` module to `unstable-get-network-address`
* fix
* fix
2024-09-12 04:05:40 +00:00
Yoshiya Hinosawa
c594a0ce49
BREAKING(http/unstable): move route
to ./unstable-route
( #5939 )
2024-09-12 12:50:47 +09:00
Yoshiya Hinosawa
8d7e184943
refactor(http): move unstable APIs (header
, method
, signed-cookie
) ( #5938 )
2024-09-11 20:23:59 +09:00
Marvin Hagemeister
9f19c9afa1
fix(http): invalid ipv6 hostname printed to console ( #5924 )
2024-09-10 08:38:03 +02:00
Yoshiya Hinosawa
70f981e605
refactor(http): inline serveFallback()
util ( #5917 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-09-05 20:50:25 +09:00
Yoshiya Hinosawa
fb79076121
fix(http): show hostname as 'localhost' for 0.0.0.0 on windows ( #5918 )
2024-09-05 20:39:02 +09:00
denobot
67e9cfa0ff
chore: release 2024.09.04 ( #5908 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-04 19:37:53 +09:00
Kenta Moriuchi
4d4bd0eb92
refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml): enable "exactOptionalPropertyTypes"
option ( #5892 )
2024-09-04 14:15:01 +09:00
Kitson Kelly
b8df2b3494
fix(http): less restrictive arguments for accepts*()
functions ( #5850 )
...
* fix(http): less restrictive types
* tweaks
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-29 10:09:44 +10:00
denobot
2b3683b6fb
chore: release 2024.08.26 ( #5824 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +09:00
Ian Bull
3c2ac9fe65
refactor(http): align additional error messages ( #5791 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-26 14:05:00 +09:00
Asher Gomez
68eb6c3d0e
fix(http/unstable): match request method ( #5772 )
2024-08-22 21:05:39 +09:00
Asher Gomez
dea7d7701a
docs(archive,assert,cache,cli,encoding,html,http,net,streams,text): remove unstable Markdown alert ( #5672 )
...
* docs(archive,cli,html,http,net,streams,text): remove unstable Markdown alert
* update
* fix
* update
* fmt
* fix
2024-08-22 02:55:17 -04:00
Tim Reichen
644e03b817
perf(cli,http,ini,internal,media-types): replace trim()
comparisons with regexps ( #5751 )
2024-08-21 13:50:18 +09:00
denobot
f7f275bd3b
chore: release 2024.08.16 ( #5687 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-16 15:33:08 +09:00
Asher Gomez
88b35ec82e
refactor(http): use methods
module in file-server
module ( #5668 )
2024-08-11 03:42:34 +09:00
denobot
96d70203cd
chore: release 2024.08.07 ( #5653 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-07 22:36:38 +09:00
Asher Gomez
32ece25136
fix(http/unstable): make info
parameter optional ( #5652 )
...
refactor(http): make `info` parameter
2024-08-07 13:12:53 +00:00
denobot
ce02d496a4
chore: release 2024.08.07 ( #5650 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-07 21:42:08 +09:00
Asher Gomez
d682c6be20
fix(http): handle wrong request method correctly ( #5643 )
...
* fix(http): handle incorrect method
* fix
2024-08-07 21:35:30 +09:00
Asher Gomez
e8aa4dfa4c
feat(http/unstable): route
module ( #5644 )
...
* feat(http): `http/router`
* work
* work
* fix
* work
* fix
* clean
* add unstable notices
* fix
* work
* work
* work
* work
* fix
* fix
* fix
* work
2024-08-07 14:35:13 +02:00
Asher Gomez
d99e1f8a57
refactor(http): use headers
module in file-server
module ( #5642 )
2024-08-06 15:40:47 +02:00
Halvard Mørstad
259ce6dfd2
feat(http/unstable): headers
module ( #4317 )
...
* Added IANA headers
* Apply suggestions from code review
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* Cleaned up and added jsr support
* Fixed linting
* unstable notices
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 09:29:53 +00:00
Halvard Mørstad
a9f3558b85
feat(http/unstable): methods
module ( #4320 )
...
* Added methods to http namespace
* Renamed type and const
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* Cleaned up methods and added support for jsr
* Fixed linting
* unstable notices
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 09:24:45 +00:00
Yoshiya Hinosawa
906a1fdd85
BREAKING(http): remove ETagSource
( #5577 )
2024-07-30 12:40:08 +09:00
Asher Gomez
c77e966efa
chore(http): release http@1.0.0
( #5217 )
2024-07-30 13:28:02 +10:00
Yoshiya Hinosawa
912c6f0069
fix(http): better eTag
return type for string
and Uint8Array
inputs ( #5571 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-30 12:10:53 +09:00
Asher Gomez
72e246222b
fix(http): update localhost strings in tests ( #5563 )
...
* fix(http): update localhost strings in tests
* fix
2024-07-29 13:59:32 +10:00
denobot
fb950fa0f3
chore: release 2024.07.26 ( #5554 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-26 19:45:22 +09:00
Luca Casonato
65c189aea6
fix(http): only show LAN address when --allow-sys
is provided ( #5547 )
...
This commit changes the behaviour of the file server to only print the LAN address if `--allow-sys=networkInterfaces` is provided. If it is not provided, no permission prompt for `--allow-sys` will be raised, and the LAN address will not be printed.
2024-07-25 12:13:16 +02:00
Asher Gomez
833544e293
chore(http): remove redundant constructor example ( #5512 )
...
chore(http): remove constructor example
2024-07-23 12:06:19 +09:00
denobot
3ee4c4dd43
chore: release 2024.07.19 ( #5494 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-19 20:22:43 +09:00
Asher Gomez
4e46b761b0
docs(http): fix options argument display ( #5488 )
...
* docs(http): fix options argument display
* work
2024-07-19 13:12:23 +09:00
Asher Gomez
0cf043102e
docs(http): improve unstable API notices ( #5483 )
2024-07-19 12:58:39 +09:00
denobot
f54eab4355
chore: release 2024.07.12 ( #5431 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-12 19:45:19 +09:00
Asher Gomez
ad1dad6ce6
docs(cli,csv,datetime,fmt,fs,http,ini,semver,testing): assert optional properties on types/interfaces have @default
tag ( #4933 )
...
* docs: assert optional properties on types/interfaces have `@default` tag
* work
* work
* work
* work
* work
* work
* fix
* fix
* Update fs/expand_glob.ts
* cleanups
* cleanups
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-11 09:21:37 +00:00
Yoshiya Hinosawa
26d6d2b510
chore: use new format for workspaces and re-enable using Deno canary and v1.x ( #5375 )
...
* chore: use new format for workspaces
* fixes
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-11 10:24:30 +10:00
Asher Gomez
aa06ae3c4e
BREAKING(http): rename Entity
to ETagSource
and calculate()
to eTag()
( #5144 )
2024-07-10 16:27:34 +10:00
denobot
dc14633394
chore: release 2024.07.09 ( #5363 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-09 15:13:21 +09:00
Yoshiya Hinosawa
9498a40bb4
fix(http): allow deleting cookie with secure
, httpOnly
and partitioned
attributes ( #5354 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-09 13:39:25 +09:00
denobot
940568c62d
chore: release 2024.07.02 ( #5254 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-02 20:43:42 +09:00
Asher Gomez
5803cc9172
BREAKING(assert): remove assert
from module names ( #5176 )
...
* BREAKING(assert): remove `assert` from module names
* work
* fix
* work
* work
* tweaks
* fix
2024-07-02 13:42:40 +10:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert
( #5199 )
...
* refactor: import from `@std/assert`
* update
2024-06-30 08:30:10 +00:00
Asher Gomez
fa330f69c3
refactor(http): change error thrown in ServerSentEventStream
to SyntaxError
( #5135 )
...
BREAKING(http): change error thrown in `ServerSentEventStream` to `SyntaxError`
2024-06-25 20:27:34 +10:00
Asher Gomez
9ae35474ce
BREAKING(http): rename verifyCookie()
to verifySignedCookie()
( #5138 )
2024-06-25 20:25:30 +10:00
Asher Gomez
f4b5f6b63d
chore(http): release http@1.0.0-rc.1
( #5131 )
2024-06-25 20:19:28 +10:00
Asher Gomez
d3551ec69c
refactor(http): minor cleanup ( #5126 )
...
* refactor(http): minor cleanup
* work
* work
* fix
2024-06-25 19:32:34 +10:00
Yoshiya Hinosawa
67eaa4ace2
refactor(http): remove dead code and improve UserAgent
testing ( #5120 )
2024-06-25 15:23:05 +09:00