Skip to content

Commit 0ab6094

Browse files
committed
prepare 0.8.2 release
Signed-off-by: Lance Drane <[email protected]>
1 parent e52902f commit 0ab6094

File tree

17 files changed

+41
-31
lines changed

17 files changed

+41
-31
lines changed

CHANGELOG.md

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,63 @@
22

33
We follow [Common Changelog](https://common-changelog.org/) formatting for this document.
44

5-
## Unreleased
5+
## [0.8.2] - 2025-02-21
6+
7+
### Changed
8+
9+
- Capabilities will now pass validation if they only contain a valid `@intersect_status` ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/dd41396ec5cb78982ed844e15e43257842e07f7d)) (Lance Drane)
10+
11+
### Fixed
12+
13+
- Do not allow for users to override the `BaseCapability.intersect_sdk_listen_for_service_event` function ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/387e0d2b134de6c52cbe54a51ff99b9245432335))
14+
- Add missing schemas for service-to-service event example ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/e52902fadf80c2dcbcc79552fcba005d565b57ea))
615

716
## [0.8.1] - 2025-02-10
817

918
### Changed
1019

11-
- Events associated with Services are now considered to be persistent ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/b57d72022f8fc8fb1c25e7985eaf4e18ed2d1904)). If your microservice loses INTERSECT connection and later regains it, it will now handle any events which occurred while disconnected from INTERSECT.
20+
- Events associated with Services are now considered to be persistent. If your microservice loses INTERSECT connection and later regains it, it will now handle any events which occurred while disconnected from INTERSECT ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/b57d72022f8fc8fb1c25e7985eaf4e18ed2d1904)) (Lance Drane)
1221

1322
### Added
1423

15-
- Added ability for services to listen for events from other services ([issue](https://github.com/INTERSECT-SDK/python-sdk/issues/20)) ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/b57d72022f8fc8fb1c25e7985eaf4e18ed2d1904)) .
24+
- Added ability for services to listen for events from other services ([issue](https://github.com/INTERSECT-SDK/python-sdk/issues/20)) ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/b57d72022f8fc8fb1c25e7985eaf4e18ed2d1904)) (Lance Drane)
1625

1726
## [0.8.0] - 2024-09-10
1827

1928
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._
2029

2130
### Changed
2231

23-
- **Breaking:** Service-to-service callback functions now take in four arguments (request message source, request message operation, error flag, response payload) instead of one ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/51ba9a8e0eb8c314014655bb0c989f5f98db715d)) .
24-
- **Breaking:** `IntersectBaseCapabilityImplementation.capability_name` renamed to `IntersectBaseCapabilityImplementation.intersect_sdk_capability_name`. This should now be explicitly defined as a class variable instead of an instance variable ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) .
25-
- **Breaking:** `get_schema_from_capability_implementation` renamed to `get_schema_from_capability_implementations` and now takes in a list of Capabilities instead of a single capability ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) .
32+
- **Breaking:** Service-to-service callback functions now take in four arguments (request message source, request message operation, error flag, response payload) instead of one ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/51ba9a8e0eb8c314014655bb0c989f5f98db715d)) (Lance Drane)
33+
- **Breaking:** `IntersectBaseCapabilityImplementation.capability_name` renamed to `IntersectBaseCapabilityImplementation.intersect_sdk_capability_name`. This should now be explicitly defined as a class variable instead of an instance variable ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) (Lance Drane)
34+
- **Breaking:** `get_schema_from_capability_implementation` renamed to `get_schema_from_capability_implementations` and now takes in a list of Capabilities instead of a single capability ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) (Lance Drane)
2635

2736
### Fixed
2837

29-
- Fixed issue with multiple service-to-service calls causing thread deadlocking ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/51ba9a8e0eb8c314014655bb0c989f5f98db715d)) .
30-
- Correctly incorporates capabilities into internal schema generation ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) .
31-
- Removed MINIO from examples which do not use MINIO ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) .
38+
- Fixed issue with multiple service-to-service calls causing thread deadlocking ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/51ba9a8e0eb8c314014655bb0c989f5f98db715d)) (Lance Drane)
39+
- Correctly incorporates capabilities into internal schema generation ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) (Lance Drane)
40+
- Removed MINIO from examples which do not use MINIO ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) (Lance Drane)
3241

3342
### Added
3443

35-
- **Breaking:** Added basic validation logic for capability names. This causes the application to error out if using a duplicate capability name, or if using a capability name which is not an alphanumeric string (hyphens and underscores allowed) ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) .
36-
- Added 'timeout' parameter to `IntersectBaseCapabilityImplementation.intersect_sdk_call_service`. This is a floating point value which represents (in number of seconds) how long to wait for a response from the service. By default, the service will wait 300 seconds ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/51ba9a8e0eb8c314014655bb0c989f5f98db715d)) .
37-
- Added an example which uses MINIO ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) .
44+
- **Breaking:** Added basic validation logic for capability names. This causes the application to error out if using a duplicate capability name, or if using a capability name which is not an alphanumeric string (hyphens and underscores allowed) ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) (Lance Drane)
45+
- Added 'timeout' parameter to `IntersectBaseCapabilityImplementation.intersect_sdk_call_service`. This is a floating point value which represents (in number of seconds) how long to wait for a response from the service. By default, the service will wait 300 seconds ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/51ba9a8e0eb8c314014655bb0c989f5f98db715d)) (Lance Drane)
46+
- Added an example which uses MINIO ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) (Lance Drane)
3847

3948
## [0.7.0] - 2024-08-21
4049

4150
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._
4251

4352
### Changed
4453

45-
- **Breaking:** Services now work with multiple Capabilities instead of a single Capability ([!9](https://github.com/INTERSECT-SDK/python-sdk/pull/9)) .
46-
- **Breaking:** Renamed `IntersectClientMessageParams` to `IntersectDirectMessageParams` ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/ae0dab312b9ebdb87bc5a9bb62404d9b18953dfe))
54+
- **Breaking:** Services now work with multiple Capabilities instead of a single Capability ([!9](https://github.com/INTERSECT-SDK/python-sdk/pull/9)) (Michael Brim, Lance Drane)
55+
- **Breaking:** Renamed `IntersectClientMessageParams` to `IntersectDirectMessageParams` ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/ae0dab312b9ebdb87bc5a9bb62404d9b18953dfe)) (Lance Drane)
4756

4857
### Added
4958

50-
- **Breaking:** Added service-to-service request/response mechanism ([!9](https://github.com/INTERSECT-SDK/python-sdk/pull/9)) .
59+
- **Breaking:** Added service-to-service request/response mechanism ([!9](https://github.com/INTERSECT-SDK/python-sdk/pull/9)) (Michael Brim, Lance Drane)
5160

61+
[0.8.2]: https://github.com/INTERSECT-SDK/python-sdk/releases/tag/0.8.2
5262
[0.8.1]: https://github.com/INTERSECT-SDK/python-sdk/releases/tag/0.8.1
5363
[0.8.0]: https://github.com/INTERSECT-SDK/python-sdk/releases/tag/0.8.0
5464
[0.7.0]: https://github.com/INTERSECT-SDK/python-sdk/releases/tag/0.7.0

examples/1_hello_world/hello_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "hello-organization.hello-facility.hello-system.hello-subsystem.hello-service",
66
"description": "INTERSECT schema",

examples/1_hello_world_amqp/hello_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "hello-organization.hello-facility.hello-system.hello-subsystem.hello-service",
66
"description": "INTERSECT schema",

examples/1_hello_world_events/hello_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "hello-organization.hello-facility.hello-system.hello-subsystem.hello-service",
66
"description": "INTERSECT schema",

examples/1_hello_world_minio/hello_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "hello-organization.hello-facility.hello-system.hello-subsystem.hello-service",
66
"description": "INTERSECT schema",

examples/2_counting/counting_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "counting-organization.counting-facility.counting-system.counting-subsystem.counting-service",
66
"description": "INTERSECT schema",

examples/2_counting_events/counting_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "counting-organization.counting-facility.counting-system.counting-subsystem.counting-service",
66
"description": "INTERSECT schema",

examples/3_ping_pong_events/ping_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "p-ng-organization.p-ng-facility.p-ng-system.p-ng-subsystem.ping-service",
66
"description": "INTERSECT schema",

examples/3_ping_pong_events/pong_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "p-ng-organization.p-ng-facility.p-ng-system.p-ng-subsystem.pong-service",
66
"description": "INTERSECT schema",

examples/3_ping_pong_events_amqp/ping_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "p-ng-organization.p-ng-facility.p-ng-system.p-ng-subsystem.ping-service",
66
"description": "INTERSECT schema",

examples/3_ping_pong_events_amqp/pong_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "p-ng-organization.p-ng-facility.p-ng-system.p-ng-subsystem.pong-service",
66
"description": "INTERSECT schema",

examples/4_service_to_service/example_1_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "example-organization.example-facility.example-system.example-subsystem.service-one",
66
"description": "INTERSECT schema",

examples/4_service_to_service/example_2_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "example-organization.example-facility.example-system.example-subsystem.service-two",
66
"description": "INTERSECT schema",

examples/4_service_to_service_events/exposed_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "example-organization.example-facility.example-system.example-subsystem.exposed-service",
66
"description": "INTERSECT schema",

examples/4_service_to_service_events/internal_service_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "example-organization.example-facility.example-system.example-subsystem.internal-service",
66
"description": "INTERSECT schema",

src/intersect_sdk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from ._internal.version import strip_version_metadata
99

1010
# may include build metadata
11-
__version__ = '0.8.1'
11+
__version__ = '0.8.2'
1212

1313
version_string = strip_version_metadata(__version__)
1414
"""

tests/fixtures/example_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"asyncapi": "2.6.0",
3-
"x-intersect-version": "0.8.1",
3+
"x-intersect-version": "0.8.2",
44
"info": {
55
"title": "test.test.test.test.test",
66
"description": "INTERSECT schema",

0 commit comments

Comments
 (0)