wdio-electron-service icon indicating copy to clipboard operation
wdio-electron-service copied to clipboard

Update service for WDIO v9

Open goosewobbler opened this issue 1 year ago • 4 comments

WDIO v9 is coming along nicely, there is a bit of work to do in the service around this, since we are dropping Node 16 I think we cut a major version and punt the IPC bridge replacement to v8.

Tasks:

  • [x] Code updates
  • [x] Publish pre-release builds
  • [ ] Update docs for new release workflows
  • [ ] Manual test with wdio-electron-service-example
  • [ ] Manual test with electron-boilerplate (can use the v9 branch)
  • [ ] Update WDIO peerdep range to ">9.0.0" (after the WDIO v9 release)
  • [ ] Update WDIO deps to "^9.0.0" (after the WDIO v9 release)
  • [ ] Publish full release
  • [x] Ensure version is updated in the package correctly after release

https://github.com/webdriverio/webdriverio/issues/10362

goosewobbler avatar Apr 18 '24 13:04 goosewobbler

Is the plan to make a v8 branch and keep v9 development on main?

seanpoulter avatar Apr 18 '24 13:04 seanpoulter

Yes, I'd have the WDIO v9 version on main which corresponds to v7 of the service. I'd probably name the legacy version branch wdio-v8 or v6 to avoid confusion as the service major versions don't match the WDIO ones. I'm not planning on backporting anything at the moment, but it could be useful to keep around. I don't think WDIO v9 will affect the service anywhere near as much as previous major versions did.

goosewobbler avatar Apr 18 '24 13:04 goosewobbler

I created the wdio-v8 branch in case we need to backport anything to 6.x.

main will require WDIO v9 when #443 and #666 are merged, and will be released as v7.

goosewobbler avatar Jul 09 '24 17:07 goosewobbler

Re-opened to keep track of the remaining tasks for the release.

goosewobbler avatar Jul 16 '24 14:07 goosewobbler

@christian-bromann I need to publish the dependent packages to get the pre-releases for the service working, I was considering to publish them as @wdio-electron/types and @wdio-electron/utils for which we need the @wdio-electron org; I was going to create this org but thought I'd check first, maybe you should create it and I can join.

Or perhaps publishing them under the main org as @wdio/electron-types and @wdio/electron-utils is better?

goosewobbler avatar Jul 23 '24 13:07 goosewobbler

Or perhaps publishing them under the main org as @wdio/electron-types and @wdio/electron-utils is better?

Yes, no need to create another org, let's use @wdio/ to which you can publish to through the bot.

christian-bromann avatar Jul 23 '24 14:07 christian-bromann

Finally got a working pre-release in 7.0.0-beta.9. Tested in wdio-electron-service-example.

goosewobbler avatar Jul 23 '24 18:07 goosewobbler

electron-boilerplate is still broken on v9 branch, I'll release anyway as the service works in wdio-electron-service-example.

goosewobbler avatar Aug 20 '24 00:08 goosewobbler

Let me take a look at the boilerplate, I will ping you if I don't know what is going on.

christian-bromann avatar Aug 20 '24 00:08 christian-bromann

It seems like 7.0.0-beta.11 didn't get pushed to NPM 🤔 However I got the boilerplate working with 7.0.0-beta.10 (there was a bug in Stencil that I fixed but which hasn't been released yet, so reverting that version to v4.18.3 fixed the build).

christian-bromann avatar Aug 20 '24 00:08 christian-bromann

There's still something up with the release and pre-release workflows, maybe the dry run is creating tags for some reason...

https://github.com/webdriverio-community/wdio-electron-service/actions/runs/10463303622/job/28975088177 https://github.com/webdriverio-community/wdio-electron-service/actions/runs/10462686326/job/28973369345

goosewobbler avatar Aug 20 '24 01:08 goosewobbler

Reverted to beta.11 and deleted the unused 7.0.0 tag on github, this time I went straight for the full release instead of a dry run followed by full release, it just attempted to release beta.11 again (instead of 7.0.0) 🤔

https://github.com/webdriverio-community/wdio-electron-service/actions/runs/10463968883/job/28976808705

goosewobbler avatar Aug 20 '24 02:08 goosewobbler

Reopening until we get the full release done, I think we're missing some steps from the release-it monorepo recipe:

https://github.com/release-it/release-it/blob/main/docs/recipes/monorepo.md

goosewobbler avatar Aug 20 '24 16:08 goosewobbler

Release is done, just need to update electron-boilerplate.

Raised https://github.com/webdriverio/electron-boilerplate/pull/224

goosewobbler avatar Aug 21 '24 20:08 goosewobbler