Guillermo Céspedes Tabárez
c8a7271d21
optimize debug log and apply clippy/fmt suggestions
2025-05-19 02:41:48 -03:00
Guillermo Céspedes Tabárez
0a9f6c1955
feat(introspection): enhance introspection feature with detailed route registration and full path tracking
2025-05-18 21:19:34 -03:00
Guillermo Céspedes Tabárez
dcad1d9b89
Merge branch 'master' into introspection
2025-05-12 02:37:52 -03:00
Guillermo Céspedes Tabárez
d501102610
feat(introspection): rename feature from `resources-introspection` to `experimental-introspection`
...
- Refactored introspection logic.
- Enhanced route introspection to register HTTP methods and guard names.
- Added example for testing the experimental introspection feature.
2025-05-12 02:29:11 -03:00
Rob Ede
2c55d659dd
chore(actix-web): prepare release 4.11.0
2025-05-10 06:19:10 +01:00
Rob Ede
276f5d5bd4
chore(actix-http): prepare release 3.11.0
2025-05-10 06:18:25 +01:00
Rob Ede
5f3c02813a
chore: narrow tokio dep to account for RUSTSEC-2025-0023
...
closes #3640
2025-05-10 06:09:51 +01:00
Degubi
3d3b31e16a
fix: svg files should be compressed ( #3486 )
...
* Fix svg files not being compressed
* docs: update changelog
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-05-10 03:21:36 +00:00
Joel Wurtz
3147aaccc7
feat: do not use host header on http2 for guard ( #3525 )
...
* feat(guard): do not use host header on http2 for guard
* docs: update changelog
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-05-10 02:42:00 +00:00
Björn Wärmedal
a49f055561
build(deps): update url requirement from 2.1 to 2.5.4 ( #3527 )
...
Co-authored-by: Björn Wärmedal <bjorn.warmedal@lumera.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-05-10 02:00:20 +00:00
Rob Ede
55268b6898
fix: improve logger header values printing
2025-05-10 02:56:41 +01:00
Rob Ede
89b5b04653
docs: update docs about peer_addr when bound to a UDS socket
2025-05-10 02:23:22 +01:00
silverpill
e42cffc28d
Fix HttpRequest::peer_addr documentation
2025-05-10 02:20:13 +01:00
Rob Ede
8765b04476
refactor: simplify on_connect
2025-05-10 02:19:56 +01:00
Rob Ede
40179e2aa6
docs: fix ConnectionInfo::realip_remote_addr documentation
2025-05-10 01:21:34 +01:00
JackSpagnoli
9bbb5414d1
Implements log_level for Logger middleware ( #3605 )
...
* implements log level for Logger
* docs: update changelog
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-05-09 23:51:47 +00:00
Alexander
65f254d1b2
Re-export mime types for easier access #3603 ( #3624 )
...
* Re-export mime types for easier access #3603
* docs: update changelog
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-05-09 23:40:21 +00:00
Sebastian Ziebell
25511dfb38
Fix order of template arguments in Handler documentation example ( #3566 )
...
Fix order of template arguments in doc
2025-05-09 23:31:59 +00:00
Rob Ede
6e902d1d5c
feat: add HttpServer::shutdown_signal ( #3644 )
2025-05-10 00:16:21 +01:00
dependabot[bot]
bbe0134523
build(deps): bump brotli from 7.0.0 to 8.0.0 ( #3627 )
...
* build(deps): bump brotli from 7.0.0 to 8.0.0
Bumps [brotli](https://github.com/dropbox/rust-brotli ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/dropbox/rust-brotli/releases )
- [Commits](https://github.com/dropbox/rust-brotli/commits )
---
updated-dependencies:
- dependency-name: brotli
dependency-version: 8.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* docs: update changelog
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-05-09 20:05:56 +00:00
Rob Ede
7eea3d3657
chore: address clippy lints
2025-05-09 20:21:02 +01:00
Guillermo Céspedes Tabárez
585552f70f
Merge branch 'master' into introspection
2025-04-01 22:39:21 -03:00
dependabot[bot]
c284426698
build(deps): bump once_cell from 1.21.1 to 1.21.3 ( #3606 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.21.1 to 1.21.3.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.21.1...v1.21.3 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 07:57:06 +00:00
Guillermo Céspedes Tabárez
3506512ed9
Merge branch 'master' into introspection
2025-03-10 16:40:42 -03:00
Rob Ede
cede0c6dbb
chore(actix-web): prepare release 4.10.2
2025-03-10 04:52:02 +00:00
Rob Ede
1005b6a12a
chore: fix actix-http ver req
2025-03-10 04:51:37 +00:00
Rob Ede
d898e8f739
chore(actix-web): prepare release 4.10.1
2025-03-10 04:38:45 +00:00
Rob Ede
353873fc04
chore: fix derive-more feature selection
2025-03-10 04:38:20 +00:00
Rob Ede
c6e7ebd185
refactor: use Payload::from internally
2025-03-10 04:23:03 +00:00
Rob Ede
f63cf69e6a
docs: remove "copyright"
2025-03-09 19:08:00 +00:00
Rob Ede
4bb495aba0
chore(actix-web): prepare release 4.10.0
2025-03-09 19:02:33 +00:00
Guillermo Céspedes Tabárez
aebab17c1e
refactor(introspection): add GuardDetail enum and remove downcast_ref usage
...
- Added `GuardDetail` enum to encapsulate various introspection details of a guard.
- Refactored `HttpMethodsExtractor` implementation to use `GuardDetail` instead of `downcast_ref`.
2025-03-05 02:37:12 -03:00
Guillermo Céspedes Tabárez
0548b127c3
Merge branch 'introspection' of https://github.com/dertin/actix-web into introspection
2025-03-04 05:50:04 -03:00
Guillermo Céspedes Tabárez
3b99f86e89
fix(introspection): add conditional arbiter creation for io-uring support
2025-03-04 05:42:07 -03:00
Guillermo Céspedes Tabárez
2bb774a529
fix(introspection): add conditional arbiter creation for io-uring support
2025-03-04 05:36:49 -03:00
Guillermo Céspedes Tabárez
a79dc9dc79
refactor: improve thread safety and add unit tests for introspection process
2025-03-04 05:09:18 -03:00
Guillermo Céspedes Tabárez
acd7c58097
chore: update changelog and fix docs for CI
2025-03-03 16:12:31 -03:00
Guillermo Céspedes Tabárez
91fa813f0e
fix(guards): replace take_guards with get_guards to prevent guard removal and fix test failures
2025-03-03 15:31:20 -03:00
Guillermo Céspedes Tabárez
819ee93e9b
style: cargo fmt
2025-03-03 06:46:52 -03:00
Guillermo Céspedes Tabárez
041322ef9c
misc: remove debug print
2025-03-03 06:10:45 -03:00
Guillermo Céspedes Tabárez
0d87cc53a1
feat(resources-introspection): add support for resource metadata retrieval
2025-03-03 05:27:52 -03:00
dependabot[bot]
9656383646
build(deps): update derive_more requirement from 1 to 2 ( #3571 )
...
* build(deps): update derive_more requirement from 1 to 2
Updates the requirements on [derive_more](https://github.com/JelteF/derive_more ) to permit the latest version.
- [Release notes](https://github.com/JelteF/derive_more/releases )
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JelteF/derive_more/compare/v1.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: derive_more
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* refactor: simplify derive_more calls
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-02-10 01:27:56 +00:00
Akos Vandra-Meyer
a4eaa7f0bb
implement Responder for Result<(), E: Error> ( #3560 )
...
* implement Responder for Option<()> and Result<(), E: Error>
* chore: remove Option<()> impl
* chore: fix changelog
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-02-09 03:01:39 +00:00
dependabot[bot]
66e2afe306
build(deps): update rand requirement from 0.8 to 0.9 ( #3564 )
...
* build(deps): update rand requirement from 0.8 to 0.9
Updates the requirements on [rand](https://github.com/rust-random/rand ) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.0...0.9.0 )
---
updated-dependencies:
- dependency-name: rand
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix rand upgrade
* chore: address clippy lint
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-02-09 02:39:22 +00:00
Rob Ede
ac2a3bb124
refactor: replace ahash with foldhash ( #3483 )
2024-12-29 16:20:00 +00:00
Onè
8200e4ee82
docs: reword sentence ( #3530 )
...
* docs: reword sentence
The sentence was a bit hard to follow. I think it seems more natural now.
* docs: fix whitespace
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-12-29 14:52:29 +00:00
Rob Ede
5b60d81f57
docs: fix changelog
2024-12-29 15:18:40 +00:00
Rob Ede
34327bd221
chore: address clippy warnings
2024-12-29 15:03:43 +00:00
Rob Ede
03c65d93e5
docs: add from_fn examples
2024-10-15 08:35:39 +01:00
Durairaj Subramaniam
27c07f122b
fix: service macro comments ( #3474 )
...
* fix: service macro comments #3472
* test: service macro comments #3472
* fix: add case for empty tuple seperately
* doc: add case for empty tuple seperately
* test: move test_services into lib
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-10-07 22:03:38 +00:00