1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 02:19:22 +02:00
Commit Graph

55 Commits

Author SHA1 Message Date
a3211b73d3 chore(actix-identity): prepare release 0.8.0 2024-09-12 15:07:36 -04:00
0c0d13be12 docs: update session dependants changelogs 2024-08-07 01:05:57 +01:00
74c8545363 chore(actix-identity): prepare release 0.7.1 2024-03-02 18:32:58 +00:00
89bf63e1ef chore(actix-identity): prepare release 0.7.0 2024-01-11 04:44:02 +00:00
e2bf504055 feat(session): use real async traits (#365) 2024-01-04 04:10:46 +00:00
9a7113028e chore(actix-identity): prepare release 0.6.0 2023-09-16 03:29:31 +01:00
9e31f5b306 chore(actix-session): prepare release 0.8.0 2023-09-16 03:28:31 +01:00
aaedb9c625 MSRV 1.68 (#328) 2023-09-16 00:30:38 +01:00
8a9c604c03 update msrv to 1.60
promted by prost 0.11.8
2023-03-22 21:13:56 +00:00
1ed893a08c Feature: Add IdentityError to actix-identity crate. (#296)
* Add IdentityError to actix-identity crate.

In order to let crates in the actix web ecosystem interact correctly
with `actix_web::Error`, this commit introduces its own error type,
replacing the previous usage of `anyhow::Error`.

* Mend some clippy warnings on IdentityError.

* Split identity error into more granular versions.

- `MissingIdentityError` occurs whenever we attempt to gather
  information about an identity from a session, and fail.
- `LoginError` occurs whenever we attempt to login via an identity, and
  fail.

* Feedback for identity error implementation.

- `IdentityError` -> `GetIdentityError`
- Move error messages into Display impl where appropriate
- Split `id` and `get_identity` errors into two types
- Implement `source` on custom errors

* Expand identity error types with struct markers.

In order to get a little more future compatibility and reduce
abstraction leaking, this commit introduces some contextual structs to
our identity errors package.

* Improve doc message for SessionExpiryError.

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>

* Improve identity error docs and messaging.

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>

* Expand LostIdentityError with placeholder.

Adds a placeholder unit struct to the LostIdentityError variant of
GetIdentityError, which should let us expand on that variant with extra
context later if we like.

* Add From coercion for LostIdentityError.

Improve the ergonomics of using the LostIdentityError unit struct.

* Update Cargo.toml

* Update CHANGES.md

* expose identity error module

* fix error impl

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-01-07 02:05:12 +00:00
6848312467 prettier markdown changelogs 2023-01-07 01:02:02 +00:00
7d932cd540 bump msrv to 1.59 2022-08-28 20:30:32 +01:00
553c2bfb92 prepare actix-identity release 0.5.2 2022-07-19 01:33:53 +01:00
1089faaf93 [actix-identity] Fix visit deadline (#263) 2022-07-19 01:31:31 +01:00
1cc37c371e prepare actix-identity release 0.5.1 2022-07-11 18:07:50 +01:00
d853c115b6 trim unnecessary identity deps (#259)
* trim unnecessary identity deps

* update changelog
2022-07-11 18:07:26 +01:00
603215095a prepare actix-identity release 0.5.0 2022-07-11 13:39:14 +01:00
d3fb564380 Add changelog for actix-identity (#258) 2022-07-11 12:46:49 +01:00
3c48e00e7a Bump up MSRV to 1.57 (#256) 2022-06-22 20:42:46 +09:00
2e86fb9822 prepare actix-identity release 0.4.0 2022-03-01 04:13:56 +00:00
f9beeecaf6 prepare actix-identity release 0.4.0-beta.9 2022-02-07 02:52:24 +00:00
ab3615b8d5 relax body bounds (#223) 2022-02-07 02:30:26 +00:00
323d01fcca bump actix-web to 4.0.0-rc.1 2022-02-03 22:33:47 +00:00
bb900a41fc prepare actix-identity release 0.4.0-beta.8 2022-01-21 20:43:39 +00:00
88859af6a5 prepare actix-identity release 0.4.0-beta.7 2021-12-29 10:25:17 +00:00
0d12201073 update to actix web v4 beta 18 (#218) 2021-12-29 10:22:56 +00:00
92c9601850 bump msrv to 1.54 2021-12-29 09:42:31 +00:00
6ca36b5d53 fixup changelogs 2021-12-29 09:36:12 +00:00
14a622092d Update to actix-web beta.17 (#217) 2021-12-29 09:25:52 +00:00
6676a50944 actix-web beta 15 updates (#216) 2021-12-18 03:37:23 +00:00
e83c488544 prepare actix-identity release 0.4.0-beta.5 2021-12-12 19:13:16 +00:00
74ec115161 migrate to actix-web beta 14 (#209) 2021-12-11 16:05:21 +00:00
37532fd1eb prepare actix-identity release 0.4.0-beta.4 2021-11-22 23:20:33 +00:00
0999159877 prepare actix-identity release 0.4.0-beta.3 2021-10-21 18:30:03 +01:00
c6edb2a48a prepare actix-session release 0.5.0-beta.3 2021-10-21 17:37:00 +01:00
545873b5b2 update actix-web dependencies to v4 beta.10 (#203)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-21 14:10:00 +01:00
627fe96be0 bump msrv to 1.52.1 2021-10-19 01:49:39 +01:00
c6f579790f bump msrv to 1.51 2021-08-30 23:10:36 +01:00
44c7b07ce2 prepare second beta round (#189) 2021-06-27 07:28:26 +01:00
bb1cc7443f prepare identity release 0.4.0-beta.1 2021-04-02 11:44:03 +01:00
23912afd49 refactor identity (#168) 2021-03-23 05:05:03 +00:00
c8f1d9671c add upgrade -web hints in changelogs 2021-03-22 05:24:35 +00:00
ca85f6b245 Update dependencies (Tokio 1.0) (#144) 2021-03-21 22:50:26 +00:00
03ccf09e2e prepare identity 0.3.1 release (#104) 2020-09-21 23:05:40 +01:00
6ae147d190 add CookieIdentityPolicy::http_only method (#102) 2020-09-17 18:10:27 +01:00
4a546718aa prepare v3 compatible releases (#95) 2020-09-11 21:22:55 +01:00
bad5f32a68 update all packages to use actix-web v3 (#94) 2020-09-11 16:26:15 +01:00
923cb7bcd2 Bump up MSRV to 1.40.0 2020-05-17 11:34:00 +09:00
dd7ee27388 Bump up to 0.3.0-alpha.1 2020-03-15 06:15:22 +09:00
a3ebc8ca66 Minimize futures dependency 2020-03-15 05:44:29 +09:00