Skip to content

Release 2.2.0-beta.1#1520

Merged
kriswest merged 17 commits intomainfrom
release/v2.2.0-beta.1
Feb 27, 2025
Merged

Release 2.2.0-beta.1#1520
kriswest merged 17 commits intomainfrom
release/v2.2.0-beta.1

Conversation

@robmoffat
Copy link
Member

@robmoffat robmoffat commented Feb 24, 2025

Testing GitHub actions around releases.

resolves #1514

@robmoffat robmoffat requested a review from a team as a code owner February 24, 2025 10:22
@netlify
Copy link

netlify bot commented Feb 24, 2025

Deploy Preview for fdc3 ready!

Name Link
🔨 Latest commit 5ba4f30
🔍 Latest deploy log https://app.netlify.com/sites/fdc3/deploys/67c0841e4347380008b3a50a
😎 Deploy Preview https://deploy-preview-1520--fdc3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions
Copy link

504 passed

@github-actions
Copy link

github-actions bot commented Feb 24, 2025

Coverage Report

Commit: 5ba4f30
Base: main@59b10d1

Type Base This PR
Total Statements Coverage  97.41%  97.41% (+0%)
Total Branches Coverage  86.53%  86.53% (+0%)
Total Functions Coverage  96.85%  96.85% (+0%)
Total Lines Coverage  97.43%  97.43% (+0%)
Details (changed files)
FileStatementsBranchesFunctionsLines
Details (all files)
FileStatementsBranchesFunctionsLines
packages/fdc3-agent-proxy/src/DesktopAgentProxy.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/index.ts 100% 100% 62.5% 100%
packages/fdc3-agent-proxy/src/apps/DefaultAppSupport.ts 88% 50% 100% 88%
packages/fdc3-agent-proxy/src/channels/DefaultChannel.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/channels/DefaultChannelSupport.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/channels/DefaultPrivateChannel.ts 97.29% 66.66% 100% 97.29%
packages/fdc3-agent-proxy/src/heartbeat/DefaultHeartbeatSupport.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/intents/DefaultIntentResolution.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/intents/DefaultIntentSupport.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/listeners/AbstractListener.ts 100% 60% 100% 100%
packages/fdc3-agent-proxy/src/listeners/DefaultContextListener.ts 100% 90% 100% 100%
packages/fdc3-agent-proxy/src/listeners/DefaultIntentListener.ts 100% 77.77% 100% 100%
packages/fdc3-agent-proxy/src/listeners/EventListener.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/listeners/HeartbeatListener.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/listeners/PrivateChannelEventListener.ts 93.33% 72.72% 100% 93.33%
packages/fdc3-agent-proxy/src/messaging/AbstractMessaging.ts 94.59% 100% 80% 94.59%
packages/fdc3-agent-proxy/src/util/AbstractFDC3Logger.ts 100% 94.11% 100% 100%
packages/fdc3-agent-proxy/src/util/Logger.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/util/throwIfUndefined.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/index.ts 100% 100% 28.57% 100%
packages/fdc3-get-agent/src/messaging/MessagePortMessaging.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/messaging/message-port.ts 97.43% 86.66% 100% 97.43%
packages/fdc3-get-agent/src/sessionStorage/DesktopAgentDetails.ts 97.36% 89.47% 100% 97.36%
packages/fdc3-get-agent/src/strategies/DesktopAgentPreloadLoader.ts 100% 81.25% 100% 100%
packages/fdc3-get-agent/src/strategies/FailoverHandler.ts 100% 76.47% 100% 100%
packages/fdc3-get-agent/src/strategies/HelloHandler.ts 94% 81.25% 100% 94%
packages/fdc3-get-agent/src/strategies/IdentityValidationHandler.ts 95.65% 73.33% 100% 95.65%
packages/fdc3-get-agent/src/strategies/PostMessageLoader.ts 98.48% 86.95% 100% 98.46%
packages/fdc3-get-agent/src/strategies/Timeouts.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/strategies/getAgent.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/ui/AbstractUIComponent.ts 97.14% 71.42% 100% 97.01%
packages/fdc3-get-agent/src/ui/DefaultDesktopAgentChannelSelector.ts 100% 75% 100% 100%
packages/fdc3-get-agent/src/ui/DefaultDesktopAgentIntentResolver.ts 100% 90% 100% 100%
packages/fdc3-get-agent/src/ui/NullChannelSelector.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/ui/NullIntentResolver.ts 100% 100% 66.66% 100%
packages/fdc3-get-agent/src/util/Logger.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/util/Uuid.ts 100% 100% 100% 100%
packages/fdc3-standard/src/index.ts 100% 100% 0% 100%
packages/fdc3-standard/src/api/Errors.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/GetAgent.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/Methods.ts 94.04% 84.05% 96.29% 95%
packages/fdc3-standard/src/api/RecommendedChannels.ts 100% 100% 100% 100%
packages/fdc3-standard/src/context/ContextType.ts 100% 100% 100% 100%
packages/fdc3-standard/src/intents/Intents.ts 100% 100% 100% 100%
packages/fdc3-standard/src/internal/contextConfiguration.ts 100% 100% 100% 100%
packages/fdc3-standard/src/internal/intentConfiguration.ts 100% 100% 100% 100%
packages/fdc3-standard/src/internal/typeHelpers.ts 100% 100% 100% 100%
toolbox/fdc3-for-web/fdc3-web-impl/src/BasicFDC3Server.ts 100% 100% 100% 100%
toolbox/fdc3-for-web/fdc3-web-impl/src/ServerContext.ts 100% 100% 100% 100%
toolbox/fdc3-for-web/fdc3-web-impl/src/directory/BasicDirectory.ts 96.87% 84.21% 100% 96.55%
toolbox/fdc3-for-web/fdc3-web-impl/src/handlers/BroadcastHandler.ts 96.38% 86.41% 100% 96.12%
toolbox/fdc3-for-web/fdc3-web-impl/src/handlers/HeartbeatHandler.ts 88.23% 71.87% 86.66% 90%
toolbox/fdc3-for-web/fdc3-web-impl/src/handlers/IntentHandler.ts 95.6% 86.56% 100% 95%
toolbox/fdc3-for-web/fdc3-web-impl/src/handlers/OpenHandler.ts 97.14% 86.84% 100% 97.14%
toolbox/fdc3-for-web/fdc3-web-impl/src/handlers/support.ts 100% 100% 100% 100%

@github-actions
Copy link

504 passed

@github-actions
Copy link

504 passed

@github-actions
Copy link

504 passed

@github-actions
Copy link

504 passed

@github-actions
Copy link

504 passed

@github-actions
Copy link

504 passed

1 similar comment
@github-actions
Copy link

504 passed

@github-actions
Copy link

504 passed

If you're releasing beta/alpha code, be sure to replace the latest version in NPM like so:

```
npm dist-tag add @finos/fdc3@2.1.1 latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Project maintainers will not be able to run npm dist-tag due to not having permissions on the NPM project, so it might be worth inserting a note here about contact help@finos.org or yourself to sort that out...

Its that of we detect that there is something after the last digit of the version number in the workflow itself and have it set an alternative tag when it runs npm publish, e.g. npm publish --tag prerelease. We can probably figure out a regex to extract 'beta' from 2.2.0-beta.1 automatically...

Copy link
Contributor

@kriswest kriswest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could do with a changelog entries:

  • Setup package publishing for mono-repo packages
  • Standardized prettier config for fdc3-workbench with other packages)
  • 2.2.0-beta.1 pre-release

Left an earlier comment on the (NPM!) release docs. Could perhaps reference the /website/README.md for documentation release

Co-authored-by: Kris West <kris.west@interop.io>
@github-actions
Copy link

504 passed

@robmoffat
Copy link
Member Author

Could do with a changelog entries:

  • Setup package publishing for mono-repo packages
  • Standardized prettier config for fdc3-workbench with other packages)
  • 2.2.0-beta.1 pre-release

Left an earlier comment on the (NPM!) release docs. Could perhaps reference the /website/README.md for documentation release

done

@kriswest
Copy link
Contributor

@robmoffat

done

Did you push? Not seeing the Changelog in this PR anywhere

@kriswest kriswest mentioned this pull request Feb 26, 2025
19 tasks
kriswest
kriswest previously approved these changes Feb 27, 2025
Copy link
Contributor

@kriswest kriswest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robmoffat I adjusted your changelog entries slightly - otherwise this LGTM. You might need to approve yourself or ask another maintainer to as I'm now the last push on this PR

@github-actions
Copy link

504 passed

robmoffat and others added 2 commits February 27, 2025 12:47
Co-authored-by: Kris West <kris.west@interop.io>
@robmoffat
Copy link
Member Author

I've added a comment about needing support from help@finos for the last step.

I have a feeling it should be possible to set the tag in package.json publishConfig but I couldn't find good instructions on how to do this.. especially not in a monorepo.

@robmoffat robmoffat requested a review from kriswest February 27, 2025 12:49
@github-actions
Copy link

504 passed

1 similar comment
@github-actions
Copy link

504 passed

@robmoffat robmoffat requested a review from a team February 27, 2025 15:27
@github-actions
Copy link

504 passed

Copy link
Contributor

@kriswest kriswest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks for getting this working again!

I had said we'd need to do a beta.2 with the readmes for the modules that are missing them... maybe we do if we want to link to them in the email announcing a 2.2 adoption vote - we will need a PR to add those... I guess all you need to do is run through the release commands you documented to also create a release as part of that PR.

@kriswest kriswest merged commit a43fc3a into main Feb 27, 2025
10 of 12 checks passed
@kriswest kriswest deleted the release/v2.2.0-beta.1 branch February 27, 2025 16:46
@kriswest kriswest restored the release/v2.2.0-beta.1 branch February 28, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update NPM publishing workflow for mono repo, document and create 2.2 beta release

2 participants