From 26c1ef3e8481af17dff918742aad90a494d21413 Mon Sep 17 00:00:00 2001 From: gkc Date: Thu, 8 Feb 2024 10:40:33 +0000 Subject: [PATCH 1/2] build: update at_server_spec dependency to 4.0.1 docs: update at_server_spec CHANGELOG for version 4.0.1 build: update at_server.yaml workflow for the functional_tests job's 'upload secondary server' step's if condition to add a check for the dart-channel == 'stable' --- .github/workflows/at_server.yaml | 2 +- packages/at_secondary_server/pubspec.yaml | 2 +- packages/at_server_spec/CHANGELOG.md | 72 ++++++++++++++++++++++- packages/at_server_spec/pubspec.yaml | 2 +- 4 files changed, 72 insertions(+), 6 deletions(-) diff --git a/.github/workflows/at_server.yaml b/.github/workflows/at_server.yaml index 62bf2d347..92538932d 100644 --- a/.github/workflows/at_server.yaml +++ b/.github/workflows/at_server.yaml @@ -193,7 +193,7 @@ jobs: # On push event, upload secondary server binary - name: upload secondary server - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name == 'push' && matrix.dart-channel == 'stable' }} uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: name: secondary-server diff --git a/packages/at_secondary_server/pubspec.yaml b/packages/at_secondary_server/pubspec.yaml index cc0454671..71827eefc 100644 --- a/packages/at_secondary_server/pubspec.yaml +++ b/packages/at_secondary_server/pubspec.yaml @@ -30,7 +30,7 @@ dependencies: at_utils: 3.0.16 at_chops: 2.0.0 at_lookup: 3.0.45 - at_server_spec: 3.0.16 + at_server_spec: 4.0.1 at_persistence_spec: 2.0.14 at_persistence_secondary_server: 3.0.60 intl: ^0.18.1 diff --git a/packages/at_server_spec/CHANGELOG.md b/packages/at_server_spec/CHANGELOG.md index f49297ac6..9c690b3f4 100644 --- a/packages/at_server_spec/CHANGELOG.md +++ b/packages/at_server_spec/CHANGELOG.md @@ -1,54 +1,120 @@ +## 4.0.1 + +- docs: updated CHANGELOG + +## 4.0.0 + +- feat: at_server_spec: BREAKING: make AtConnection generic (i.e. not + socket-specific) This is in order to enable reuse of the atServer's + InboundConnectionManager class and InboundConnection interface for WebSocket + connections as well as Socket connections +- feat: at_server_spec: BREAKING: rename AtConnection's getSocket() + method to a getter called underlying and have it return the generic type for + more idiomatic Dart code +- feat: at_server_spec: BREAKING: rename AtConnection's getMetaData() + method to a getter called metaData for more idiomatic Dart code +- build: at_server_spec: upgrade dependencies + ## 3.0.16 -- build[deps]- upgraded at_commons to v4.0.0 + +- build(deps): upgraded at_commons to v4.0.0 + ## 3.0.15 -- feat: Introduce AtRateLimiter to limit the requests based on the criteria defined + +- feat: Introduce AtRateLimiter to limit the requests based on the criteria + defined - fix: Modify InboundConnection to implement AtRateLimiter to limit requests + ## 3.0.14 + - fix: Rename TOTP to OTP + ## 3.0.13 + - feat: added keys verb - experimental: added totp verb + ## 3.0.12 + - feat: added enroll verb - chore: upgraded at_commons version + ## 3.0.11 + - feat: Added 'notifyFetch' verb + ## 3.0.10 + - feat: Added clientVersion to AtConnectionMetaData + ## 3.0.9 -- Added documentation for 'config' verb to support dynamic config change functionality + +- Added documentation for 'config' verb to support dynamic config change + functionality - Upgraded at_commons dependency version to 3.0.18 + ## 3.0.8 + - Exported 'NotifyRemove' verbs in package export + ## 3.0.7 + - Updated 'info' verb documentation to cover new functionality + ## 3.0.6 + - Exported 'info' and 'noop' verbs in package export, redux + ## 3.0.5 + - Exported update_meta.dart and verb.dart in package export - Upgraded version of at_commons to 3.0.7 + ## 3.0.4 + - Exported 'info' and 'noop' verbs in package export + ## 3.0.3 + - Added 'info' and 'noop' verbs + ## 3.0.2 + - updated dart docs for verbs + ## 3.0.1 + - at_commons version change for AtKey validations. + ## 3.0.0 + - Sync pagination feature + ## 2.0.5 + - at_commons version change for last notification time in monitor + ## 2.0.4 + - dart doc changes for verbs + ## 2.0.3 + - at_commons version change for stream resume + ## 2.0.2 + - at_commons version change + ## 2.0.1 + - at_commons version change + ## 2.0.0 + - Null safety upgrade + ## 1.0.0 + - Initial version, created by Stagehand diff --git a/packages/at_server_spec/pubspec.yaml b/packages/at_server_spec/pubspec.yaml index 234e5e72d..7f2140167 100644 --- a/packages/at_server_spec/pubspec.yaml +++ b/packages/at_server_spec/pubspec.yaml @@ -1,6 +1,6 @@ name: at_server_spec description: A Dart library containing abstract classes that defines what implementations of the root and secondary servers are responsible for. -version: 4.0.0 +version: 4.0.1 repository: https://github.com/atsign-foundation/at_server homepage: https://docs.atsign.com documentation: https://docs.atsign.com/atplatform/secondaryserver From aa553ff2dd1742646229ffc6ba3c0cf6478c7dcc Mon Sep 17 00:00:00 2001 From: gkc Date: Thu, 8 Feb 2024 10:43:34 +0000 Subject: [PATCH 2/2] build: at_secondary_server: remove dependency_override for at_server_spec --- packages/at_secondary_server/pubspec.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/at_secondary_server/pubspec.yaml b/packages/at_secondary_server/pubspec.yaml index 71827eefc..bd8363911 100644 --- a/packages/at_secondary_server/pubspec.yaml +++ b/packages/at_secondary_server/pubspec.yaml @@ -8,13 +8,6 @@ publish_to: none environment: sdk: '>=2.15.0 <4.0.0' -dependency_overrides: - at_server_spec: - git: - ref: gkc/alpn - url: https://github.com/atsign-foundation/at_server - path: packages/at_server_spec - dependencies: args: 2.4.2 uuid: 3.0.7