Skip to content

Serialport@10 release plan #2384

Closed
Closed
@reconbot

Description

@reconbot

This issue is to track moving bindings out of the monorepo into serialport/bindings-cpp and renaming it. The reasons for the move are scattered over a few prs and issues so I'll collect them here.

  1. We'd like to ship the binaries in the npm package.
  2. We don't want all maintainer's laptops to have "production" access
  3. Having an automated publishing pipeline with binary building is difficult or impossible with lerna and all the other packages. (I can count 3 failed attempts on my part.)

Since we're about to move to v10 which is currently in beta for napi testing (serialport@beta lead by @GazHank) it's the perfect time to make these changes.

I've created serialport/bindings-cpp and it needs the following;

After v10 leaves beta

  • Readme updated with links and new package names
  • Upgrade guide from v9 to v10 right now it's a list of breaking changes but should provide some examples and should talk about the new ways binaries are transported
  • republish @serialport/bindings and @serialport/binding-abstract with a new version and deprecate it so anyone using it directly gets a message about the name change to @serialport/bindings-cpp
  • cut v10 docs

It's worth noting I've renamed the bindings packages because I'd like us to be able to have alternative bindings such as @serialport/bindings-web and @serialport/bindings-rust both projects myself and others have been exploring.

Hope that covers everything. As always I'm open to comment and feedback ❤️

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions