nodepp icon indicating copy to clipboard operation
nodepp copied to clipboard

Please cut tagged releases — there is currently nothing stable to pin to

Open binaryduke opened this issue 4 months ago • 2 comments

First: thanks for turning the MSVC fixes (#32) around so fast. That was impressive.

This is a request rather than a bug, and I think it would help you as much as us.

The ask

Could you cut tagged releases?

Right now there are no git tags and no GitHub Releases, and main gets force-pushed. So there is nothing stable to pin to.

Why it matters (what happened to us)

We build against nodepp in three projects. When we went to check our pinned commit against upstream, we found:

  • git branch -r --contains <our-pin> → empty. Our base commit was unreachable from any upstream ref.
  • git ls-remote --heads --tags origin → one branch, zero tags.
  • Upstream had rewritten its own V1.4.0: the tree at that label differed from the one we'd built against by ~200 files. Same label, different code.

In other words: the commit our three projects build against exists nowhere but our disk, and would eventually be garbage-collected. We ended up mirroring the repository purely to keep a base we could depend on. That's not a criticism of the code — it's just what happens without tags.

What would fix it

Even retroactive tags on the versions you've already shipped (V1.0.0 → V1.5.0_1) would fix this completely:

git tag v1.5.0 <commit>
git push --tags

Then anyone can pin properly, and upgrading becomes a deliberate choice rather than "whatever main happened to be that day". GitHub Releases on top of that would be a bonus, but the tags alone are the thing.

It's a few minutes of work and it's the single change that would make nodepp straightforward to depend on in a serious project. Any library hits this the moment someone tries to pin it.

Related

We've offered a PR on #33 (HTTP response-body framing — chunked / Content-Length / close-terminated). It's written, tested, and running in production. Just tell us which branch you'd like it against and it's yours.

Genuinely nice work on the library — it's doing real work for us.

binaryduke avatar Jul 12 '26 06:07 binaryduke

Thanks for your kind words and for the incredibly clear, constructive feedback. You're absolutely right, and I appreciate you spelling it out so well.

Merging directly onto commits is exactly what I've been doing, and you're completely correct. I've been so focused on iterating that I neglected the project's reliability — and that's not sustainable.

To be honest, I didn't think anyone else was actually using Nodepp for something serious. Just look at the insights table:

page views unique views
Overview 110 35
/include 15 2
/examples 8 4

I assumed those were just developers dropping by to say "oh, cool — C++ with JavaScript syntax" and moving on. I never imagined there was a team using Nodepp in production, let alone across three projects. So I apologize.

Right now I'm building a P2P multiplayer game, and I've been polishing Nodepp's core — fixing bugs, optimizing the hot path (tcp.h, tls.h, ws.h) and merging directly onto the latest commit as I go.


I've just added tags retroactively to all previously published versions:

v1.0.0
v1.1.0
v1.2.0
v1.3.0
v1.4.0
v1.5.0

These versions will no longer be touched. Going forward, new changes will land in an experimental dev branch, and I won't merge them into main until I'm confident they're stable.

Thanks again — this feedback genuinely helps.

EDBCREPO avatar Jul 13 '26 02:07 EDBCREPO

Tags are in place and PRs are going to dev as requested. Closing. Thanks.

binaryduke avatar Jul 15 '26 11:07 binaryduke