1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 15:51:06 +01:00
Commit Graph

91 Commits

Author SHA1 Message Date
dependabot[bot]
2ede588693
build(deps): update redis requirement from 0.26 to 0.27 (#463)
* build(deps): update redis requirement from 0.26 to 0.27

Updates the requirements on [redis](https://github.com/redis-rs/redis-rs) to permit the latest version.
- [Release notes](https://github.com/redis-rs/redis-rs/releases)
- [Commits](https://github.com/redis-rs/redis-rs/compare/redis-0.26.0...redis-0.27.2)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs: update changelogs

* ci: fix doc

---------

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>
2024-10-11 13:10:39 +00:00
Rob Ede
dd1421f1a0
chore(actix-session): prepare release 0.10.1 2024-09-12 14:50:48 -04:00
Rob Ede
f2339971cd
chore(actix-session): prepare release 0.10.0 2024-08-07 00:57:54 +01:00
João Fernandes
504e89403b
feature(session): add deadpool-redis compatibility (#381)
* Add compatibility of `deadpool-redis` for the storage `redis_rs`.

* Keep up-to-date the `actix-redis` version.

* Format the project issued by command `cargo +nightly fmt`.

* Add `deadpool-redis` into the documentation and tests.

* Update CHANGES.md.

* Update the documentation of `Deadpool Redis` section on `redis_rs`.

* Replace `no_run` with `ignore` attribute on "Deadpool Redis" example to skip the doc tests failure.

* Rollback the renaming `redis::cmd` to `cmd` for better reading and avoid shadowing, fix the wrong return type on builder function comment.

* Format the project issued by command `cargo +nightly fmt`.

* Format.

* Fix feature naming from the last merge.

* Fix feature missing from the last merge.

* Format the project issued by command `cargo +nightly fmt`.

* Re-import `cookie-session` feature. (Maybe was removed accidentally from the last merge?)

* tmp

* chore: bump deadpool-redis to 0.16

* chore: fixup rest of redis code for pool

* fix: add missing cfg guard

* docs: fix pool docs

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-08-06 13:47:49 +00:00
dependabot[bot]
2de4b1886c
build(deps): update redis requirement from 0.25 to 0.26 (#451)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-07-30 12:05:02 +01:00
edgerunnergit
d8a86751f0
Make generate_session_key() public (#449)
* make generate_session_key() public and change impl to use DistString

* add changelong and use nightly fmt

* Add better support for receiving larger payloads (#430)

* Add better support for receiving larger payloads

This change enables the maximum frame size to be configured when receiving websocket frames. It also
adds a new stream time that aggregates continuation frames together into their proper collected
representation. It provides no mechanism yet for sending continuations.

* actix-ws: Add continuation & size config to changelog

* actix-ws: Add Debug, Eq to AggregatedMessage

* actix-ws: Add a configurable maximum size to aggregated continuations

* refactor: move aggregate types to own module

* test: fix chat example

* docs: update changelog

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>

* docs(ws): update readme

* chore(actix-ws): prepare release 0.3.0

* chore(ws): remove unused dev dep

* chore: expose generate_session_key

* chore: fix import

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
Co-authored-by: asonix <asonix@asonix.dog>
2024-07-29 20:53:18 +00:00
dependabot[bot]
abf75eeb06
build(deps): update redis requirement from 0.24 to 0.25 (#412)
* build(deps): update redis requirement from 0.24 to 0.25

Updates the requirements on [redis](https://github.com/redis-rs/redis-rs) to permit the latest version.
- [Release notes](https://github.com/redis-rs/redis-rs/releases)
- [Commits](https://github.com/redis-rs/redis-rs/compare/redis-0.24.0...redis-0.25.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* refactor(session): rename TLS features

---------

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>
2024-06-09 22:29:13 +00:00
zbigniewzolnierowicz
931c4eea4d
feat(session): add rustls (actix#342) (#402)
* feat(session): add rustls feature (actix#342)

* docs(session): fix weird grammar

* docs: update crate docs

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-06-09 19:19:29 +00:00
Rob Ede
f250348e57
chore: remove actix-redis crate (#408) 2024-03-12 23:30:06 +00:00
Rob Ede
8b4e8ea34e
chore(actix-session): prepare release 0.9.0 2024-01-11 04:27:56 +00:00
Rob Ede
320cbebc7e
chore: fmt markdowns 2024-01-06 21:08:09 +00:00
Rob Ede
e2bf504055
feat(session): use real async traits (#365) 2024-01-04 04:10:46 +00:00
Rob Ede
9e31f5b306
chore(actix-session): prepare release 0.8.0 2023-09-16 03:28:31 +01:00
dependabot[bot]
b737452294
Update redis requirement from 0.22 to 0.23 (#334)
* Update redis requirement from 0.22 to 0.23

Updates the requirements on [redis](https://github.com/redis-rs/redis-rs) to permit the latest version.
- [Release notes](https://github.com/redis-rs/redis-rs/releases)
- [Commits](https://github.com/redis-rs/redis-rs/compare/redis-0.22.0...redis-0.23.3)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
...

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>
2023-09-16 00:30:20 +00:00
Rob Ede
aaedb9c625
MSRV 1.68 (#328) 2023-09-16 00:30:38 +01:00
Rob Ede
8a9c604c03
update msrv to 1.60
promted by prost 0.11.8
2023-03-22 21:13:56 +00:00
Rob Ede
fe4d3d366d
Update redis dependency to 0.22 2023-01-07 01:15:26 +00:00
Rob Ede
6848312467
prettier markdown changelogs 2023-01-07 01:02:02 +00:00
Even O. Rogstadkjærnet
8fd166435f
Add secure field to removal cookie (#300)
Closes https://github.com/actix/actix-extras/issues/299
2022-11-08 09:29:23 +00:00
Rob Ede
339b81e843
prepare actix-session release 0.7.2 2022-09-11 21:13:20 +01:00
Rob Ede
eb3660a772
set same-site attribute when clearing session cookie (#284)
fixes #282
2022-09-11 21:11:33 +01:00
Rob Ede
7d932cd540
bump msrv to 1.59 2022-08-28 20:30:32 +01:00
Rob Ede
cd9dc163e5
prepare actix-session release 0.7.1 2022-07-24 15:29:50 +01:00
Mohamed Emad
810a88a156
fix: bad interaction between session state changes and renewal (#265) 2022-07-24 14:27:25 +00:00
Rob Ede
3e002a677b
bump session version of redis 2022-07-09 20:14:27 +01:00
Rob Ede
c52ea7a5d2
prepare actix-session release 0.7.0 2022-07-09 19:03:28 +01:00
Luca Palmieri
b1cea64795
Rebuild actix-identity on top of actix-session (#246)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-09 19:00:15 +01:00
Luca Palmieri
c2f068db66
Add a new configuration parameter to refresh the TTL of the session even if unchanged (#233)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-03 21:18:14 +01:00
Yuki Okushi
3c48e00e7a
Bump up MSRV to 1.57 (#256) 2022-06-22 20:42:46 +09:00
Rob Ede
4ca3e04929
prepare actix-session release 0.6.2 2022-03-25 23:28:11 +00:00
Luca Palmieri
04f4934001
[actix-session/redis-rs] Catch server-driven disconnections and prevent a user-visible issue via a retry (#235)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-03-25 19:08:09 +00:00
tglman
4d77e26e1e
add support for session access from guards (#234) 2022-03-25 18:25:38 +00:00
Luca Palmieri
8db1088345
[actix-session] Opaque 500s (#236) 2022-03-25 18:10:38 +00:00
Rob Ede
bf41b4cd9c
prepare actix-session release 0.6.1 2022-03-21 00:48:24 +00:00
Rob Ede
010a905dca
prepare actix-session release 0.6.0 2022-03-15 16:29:37 +00:00
Luca Palmieri
7e6335a09f
Rework actix session (#212)
Co-authored-by: Rob Ede <robjtede@icloud.com>
Co-authored-by: Luca P <rust@lpalmieri.com>
Co-authored-by: Sebastian Rollén <38324289+SebRollen@users.noreply.github.com>
2022-03-05 23:22:14 +00:00
Rob Ede
2e86fb9822
prepare actix-identity release 0.4.0 2022-03-01 04:13:56 +00:00
Rob Ede
c805dd7609
prepare actix-session release 0.5.0 2022-03-01 03:11:21 +00:00
Rob Ede
00378548ed
prepare actix-session release 0.5.0-beta.8 2022-02-07 17:50:39 +00:00
Rob Ede
323d01fcca
bump actix-web to 4.0.0-rc.1 2022-02-03 22:33:47 +00:00
Rob Ede
ce2c97070e
prepare actix-session release 0.5.0-beta.7 2021-12-29 10:29:29 +00:00
Rob Ede
0d12201073
update to actix web v4 beta 18 (#218) 2021-12-29 10:22:56 +00:00
Rob Ede
92c9601850
bump msrv to 1.54 2021-12-29 09:42:31 +00:00
Rob Ede
6ca36b5d53
fixup changelogs 2021-12-29 09:36:12 +00:00
Luca Palmieri
14a622092d
Update to actix-web beta.17 (#217) 2021-12-29 09:25:52 +00:00
Rob Ede
6676a50944
actix-web beta 15 updates (#216) 2021-12-18 03:37:23 +00:00
Rob Ede
863d0b114b
prepare actix-session release 0.5.0-beta.5 2021-12-12 19:11:58 +00:00
Rob Ede
74ec115161
migrate to actix-web beta 14 (#209) 2021-12-11 16:05:21 +00:00
Rob Ede
0b4a4eeff6
prepare actix-session release 0.5.0-beta.4 2021-11-22 23:21:00 +00:00
Rob Ede
c6edb2a48a
prepare actix-session release 0.5.0-beta.3 2021-10-21 17:37:00 +01:00