Skip to content

Commit

Permalink
prepare 0.8.2 release
Browse files Browse the repository at this point in the history
Signed-off-by: Lance Drane <[email protected]>
  • Loading branch information
Lance-Drane committed Feb 21, 2025
1 parent e52902f commit 0ab6094
Show file tree
Hide file tree
Showing 17 changed files with 41 additions and 31 deletions.
40 changes: 25 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,63 @@

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

## Unreleased
## [0.8.2] - 2025-02-21

### Changed

- 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)

### Fixed

- 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))
- Add missing schemas for service-to-service event example ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/e52902fadf80c2dcbcc79552fcba005d565b57ea))

## [0.8.1] - 2025-02-10

### Changed

- 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.
- 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)

### Added

- 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)) .
- 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)

## [0.8.0] - 2024-09-10

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

### Changed

- **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)) .
- **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)) .
- **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)) .
- **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)
- **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)
- **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)

### Fixed

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

### Added

- **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)) .
- 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)) .
- Added an example which uses MINIO ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) .
- **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)
- 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)
- Added an example which uses MINIO ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/1753a2cce1344a101c7cc41f91c6ed3467b1be52)) (Lance Drane)

## [0.7.0] - 2024-08-21

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

### Changed

- **Breaking:** Services now work with multiple Capabilities instead of a single Capability ([!9](https://github.com/INTERSECT-SDK/python-sdk/pull/9)) .
- **Breaking:** Renamed `IntersectClientMessageParams` to `IntersectDirectMessageParams` ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/ae0dab312b9ebdb87bc5a9bb62404d9b18953dfe))
- **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)
- **Breaking:** Renamed `IntersectClientMessageParams` to `IntersectDirectMessageParams` ([commit](https://github.com/INTERSECT-SDK/python-sdk/commit/ae0dab312b9ebdb87bc5a9bb62404d9b18953dfe)) (Lance Drane)

### Added

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

[0.8.2]: https://github.com/INTERSECT-SDK/python-sdk/releases/tag/0.8.2
[0.8.1]: https://github.com/INTERSECT-SDK/python-sdk/releases/tag/0.8.1
[0.8.0]: https://github.com/INTERSECT-SDK/python-sdk/releases/tag/0.8.0
[0.7.0]: https://github.com/INTERSECT-SDK/python-sdk/releases/tag/0.7.0
2 changes: 1 addition & 1 deletion examples/1_hello_world/hello_service_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "hello-organization.hello-facility.hello-system.hello-subsystem.hello-service",
"description": "INTERSECT schema",
Expand Down
2 changes: 1 addition & 1 deletion examples/1_hello_world_amqp/hello_service_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "hello-organization.hello-facility.hello-system.hello-subsystem.hello-service",
"description": "INTERSECT schema",
Expand Down
2 changes: 1 addition & 1 deletion examples/1_hello_world_events/hello_service_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "hello-organization.hello-facility.hello-system.hello-subsystem.hello-service",
"description": "INTERSECT schema",
Expand Down
2 changes: 1 addition & 1 deletion examples/1_hello_world_minio/hello_service_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "hello-organization.hello-facility.hello-system.hello-subsystem.hello-service",
"description": "INTERSECT schema",
Expand Down
2 changes: 1 addition & 1 deletion examples/2_counting/counting_service_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "counting-organization.counting-facility.counting-system.counting-subsystem.counting-service",
"description": "INTERSECT schema",
Expand Down
2 changes: 1 addition & 1 deletion examples/2_counting_events/counting_service_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "counting-organization.counting-facility.counting-system.counting-subsystem.counting-service",
"description": "INTERSECT schema",
Expand Down
2 changes: 1 addition & 1 deletion examples/3_ping_pong_events/ping_service_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "p-ng-organization.p-ng-facility.p-ng-system.p-ng-subsystem.ping-service",
"description": "INTERSECT schema",
Expand Down
2 changes: 1 addition & 1 deletion examples/3_ping_pong_events/pong_service_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "p-ng-organization.p-ng-facility.p-ng-system.p-ng-subsystem.pong-service",
"description": "INTERSECT schema",
Expand Down
2 changes: 1 addition & 1 deletion examples/3_ping_pong_events_amqp/ping_service_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "p-ng-organization.p-ng-facility.p-ng-system.p-ng-subsystem.ping-service",
"description": "INTERSECT schema",
Expand Down
2 changes: 1 addition & 1 deletion examples/3_ping_pong_events_amqp/pong_service_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "p-ng-organization.p-ng-facility.p-ng-system.p-ng-subsystem.pong-service",
"description": "INTERSECT schema",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "example-organization.example-facility.example-system.example-subsystem.service-one",
"description": "INTERSECT schema",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "example-organization.example-facility.example-system.example-subsystem.service-two",
"description": "INTERSECT schema",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "example-organization.example-facility.example-system.example-subsystem.exposed-service",
"description": "INTERSECT schema",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "example-organization.example-facility.example-system.example-subsystem.internal-service",
"description": "INTERSECT schema",
Expand Down
2 changes: 1 addition & 1 deletion src/intersect_sdk/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from ._internal.version import strip_version_metadata

# may include build metadata
__version__ = '0.8.1'
__version__ = '0.8.2'

version_string = strip_version_metadata(__version__)
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/example_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asyncapi": "2.6.0",
"x-intersect-version": "0.8.1",
"x-intersect-version": "0.8.2",
"info": {
"title": "test.test.test.test.test",
"description": "INTERSECT schema",
Expand Down

0 comments on commit 0ab6094

Please sign in to comment.