protobuf.js icon indicating copy to clipboard operation
protobuf.js copied to clipboard

`protobufjs` v7.0.0 and `protobufjs-cli` v1.0.0 are out!

Open alexander-fenster opened this issue 3 years ago • 5 comments

Hey folks,

I'll create this issue here to let you all know that v7.0.0 of protobufjs is finally out and published on npm. Just in case you didn't know, the CLI tools (pbjs and pbts) were moved to a separate package protobufjs-cli, so you might need to install it separately if you use the CLI tools. The big change is that the CLI tools don't run npm install in the runtime anymore, so they should be much easier to use now.

The release has some big changes, so we would expect something will definitely not work as expected. Please do reply here in this issue if you have any problems with the 7.0.0 release, or feel free to create more issues :)

Thanks everyone for your patience!

alexander-fenster avatar Jul 08 '22 18:07 alexander-fenster

I ran into https://github.com/jsdoc/jsdoc/issues/1840 when trying to use v7.0.0 with Yarn PnP. The patch fixed mentioned on that ticket for jsdoc worked for me.

teriu avatar Jul 11 '22 23:07 teriu

Can you please publish packages under @protobufjs/? In v7.0.0 utf8 issue marked as fixed, but if you npm i protobufjs - you will still receive code, which imports old version of @protobufjs/utf8, with this bug.

maximelkin avatar Aug 01 '22 13:08 maximelkin

new to pbjs, but really want to the pbjs json target include comments https://github.com/protobufjs/protobuf.js/issues/1145

wenerme avatar Aug 02 '22 17:08 wenerme

Can you please publish packages under @protobufjs/? In v7.0.0 utf8 issue marked as fixed, but if you npm i protobufjs - you will still receive code, which imports old version of @protobufjs/utf8, with this bug.

I cannot, but @dcodeIO can - Daniel, would you be able to update the @protobufjs/ packages?

alexander-fenster avatar Aug 02 '22 18:08 alexander-fenster

Is there documentation anywhere on how to migrate from 6.x to 7.0?

kpruden avatar Aug 19 '22 16:08 kpruden

How to run pbjs on Windows?

stalexwang avatar Jun 09 '23 04:06 stalexwang