teams_rb 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -1
- data/README.md +92 -435
- data/docs/essentials/app-authentication.md +1 -1
- data/docs/essentials/app-basics.md +2 -2
- data/docs/essentials/on-activity.md +14 -0
- data/docs/essentials/sending-messages.md +1 -0
- data/docs/getting-started/quickstart.md +6 -5
- data/docs/getting-started/running-in-teams.md +37 -14
- data/docs/in-depth-guides/adaptive-cards.md +17 -0
- data/docs/in-depth-guides/user-authentication.md +1 -1
- data/lib/teams/activity_context.rb +11 -28
- data/lib/teams/api/activity_value.rb +29 -0
- data/lib/teams/api/app_info.rb +15 -0
- data/lib/teams/api/channel_data.rb +5 -0
- data/lib/teams/api/conversation_client.rb +3 -1
- data/lib/teams/api/message_activity.rb +1 -0
- data/lib/teams/api/search.rb +41 -0
- data/lib/teams/app.rb +64 -9
- data/lib/teams/http_stream.rb +3 -0
- data/lib/teams/router.rb +38 -0
- data/lib/teams/version.rb +1 -1
- data/lib/teams.rb +2 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3d8a62ece3135e07d8e1bd653ffbce95e706c4c318b96f69c4065f4c55b96b5
|
|
4
|
+
data.tar.gz: 47b7b2e70aebbe6509b68cf4af7df807e1e30de1b02739494ff781589181c554
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb518ff2d7c087f4b2e07ac866525b9ccdc4fc5583a012c920b563b7e04b428d8523826ae13a1c7b3d2500a5584caebd529ca9fe83de6752010c43ee6e5698ca
|
|
7
|
+
data.tar.gz: a7875d84333fea72c4c3d1ccaadc2ecd59731f3314a50a6838278db81e41945844e6f2e9d5511b987135912cb1a5695ab9a90ee3793f393d8945e1d18408d52e
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,28 @@ All notable changes to this project are documented in this file. The format foll
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [2.0.2] - 2026-08-06
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- `activity.channel_data.app` exposes the app info Teams delivers on inbound activities (`Teams::Api::AppInfo` with `id` and `version`), matching the `channelData.app` field the TypeScript, Python, and .NET SDKs model
|
|
14
|
+
- `dangerously_allow_unauthenticated_requests:` App option and the `DANGEROUSLY_ALLOW_UNAUTHENTICATED_REQUESTS` environment variable replace `skip_auth:` for disabling inbound validation, following the same rename in the TypeScript, Python, and .NET SDKs
|
|
15
|
+
- `on_card_search` routes `application/search` invokes (Adaptive Card dynamic typeahead `Input.ChoiceSet`), with `Api::SearchResponse`/`Api::SearchInvokeResult` for the response and `query_text`/`query_options`/`kind`/`dataset` readers on the activity value
|
|
16
|
+
- `on_conversation_update` plus named channel/team lifecycle routes (`on_channel_created`/`deleted`/`renamed`/`restored`, `on_team_archived`/`deleted`/`hard_deleted`/`renamed`/`restored`/`unarchived`) matched on `channelData.eventType`, following the route family the TypeScript, Python, and .NET SDKs share
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Replies now POST to the conversation's base activities collection, carrying the reply semantics only in the body's `replyToId`; the redundant activity-id path segment is gone, matching the TypeScript, Python, and .NET clients
|
|
21
|
+
- `ctx.sign_in` in group chats and channels now sends the OAuth card into the conversation as a targeted message visible only to the requesting user, instead of creating a 1:1 chat and posting a notice into the group; channels omit the token exchange resource so the sign-in button renders (silent SSO is not supported in channel scope). Follows the same change in the Python and .NET SDKs
|
|
22
|
+
|
|
23
|
+
### Deprecated
|
|
24
|
+
|
|
25
|
+
- `skip_auth:` still works as an alias for `dangerously_allow_unauthenticated_requests:` but emits a deprecation warning
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Streamed activities (typing chunks, the final message, and the timed-out in-place update) now carry `replyToId` referencing the inbound activity, threading them under the triggering message like the TypeScript SDK (restores Bot Framework v1 behavior)
|
|
30
|
+
|
|
9
31
|
## [2.0.1] - 2026-07-13
|
|
10
32
|
|
|
11
33
|
### Fixed
|
|
@@ -42,6 +64,7 @@ the Python SDK made when it joined the family.
|
|
|
42
64
|
- Thread-safe token management, storage, and JWKS caching for multi-threaded Rack servers
|
|
43
65
|
- Documentation mirroring the official teams-sdk docs structure (getting started, essentials, in-depth guides)
|
|
44
66
|
|
|
45
|
-
[Unreleased]: https://github.com/bavmind/teams_rb/compare/v2.0.
|
|
67
|
+
[Unreleased]: https://github.com/bavmind/teams_rb/compare/v2.0.2...HEAD
|
|
68
|
+
[2.0.2]: https://github.com/bavmind/teams_rb/compare/v2.0.1...v2.0.2
|
|
46
69
|
[2.0.1]: https://github.com/bavmind/teams_rb/compare/v2.0.0...v2.0.1
|
|
47
70
|
[2.0.0]: https://github.com/bavmind/teams_rb/releases/tag/v2.0.0
|