-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why doesn't github release match up with what is published to npm? #313
Comments
I can see how this would cause confusion. I'll try to clarify: This link: https://www.npmjs.com/package/@epicgames-ps/lib-pixelstreamingsignalling-ue5.5 is for the npm package This link: https://github.com/EpicGamesExt/PixelStreamingInfrastructure/releases/tag/UE5.5-3.0.1 is for the version of the entire repo for the 5.5 branch. We have a number of NPM packages these days, such as This creates a little bit of an issue for us because how do we say what the version of the entire repo is at any given release if we have multiple libraries? We decided to introduce this https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/UE5.5/RELEASE_VERSION file that tracks the version of the entire branch. So long story short, the last published version of lib signalling for UE 5.5 is 2.0.1 but the last published version of this entire repo for UE 5.5 is 3.0.1. The versions are not tied to each other. |
I understand, If all of the separate libraries are versioned together they should have the same version on github. if you are going to stick to having separate versions, the logical thing would be to have separate releases of the individual packages on github as well. so that we can get separate change logs. the main thing for me is being able to subscribe to github releases and get a good understanding of what bugs have been fixed in what versions on npm and if it's something I need to take action from. At the moment I do not know what has been fixed in what version. The above are of course just suggestions but I wanted to put my thoughts out there so you could understand me more :) |
We've been thinking on this - how do you feel about us publishing a changelog with our published NPM packages? That should give you something akin to this:
|
Could you expand on that a bit. |
Yeah exactly that (or something very close) |
It would solve the problem knowing what changes where done to the separate libraries. If each library would not have a specific tag on github it will be hard to do a diff between versions. I also see a problem where if the libraries are not released and tested in unison, I might be running different versions of frontend or ui, which are not compatible with each other. Since they are going to be used together as a whole, to me it would make sense keeping their versions in sync. |
I was thinking we might include the commit ranges for each of the changelog
versions so we could bisect regressions and users could see what changes
went into a release.
Additionally, as for frontend UI and frontend library compatibility, the UI
library specifies the version of the frontend library it should be used
with as a peer dependency in the package json, npm should enforce this.
…On Mon, 25 Nov 2024, 7:41 pm Leon Radley, ***@***.***> wrote:
It would solve the problem knowing what changes where done to the separate
libraries.
If each library would not have a specific tag on github it will be hard to
do a diff between versions.
I also see a problem where if the libraries are not released and tested in
unison, I might be running different versions of frontend or ui, which are
not compatible with each other.
Since they are going to be used together as a whole, to me it would make
sense keeping their versions in sync.
—
Reply to this email directly, view it on GitHub
<#313 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJIYXVU4NZP6IRPFUJRM7D2CLWGNAVCNFSM6AAAAABRVYGYPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJXGQZTIMRVHA>
.
You are receiving this because you modified the open/close state.Message
ID: <EpicGamesExt/PixelStreamingInfrastructure/issues/313/2497434258@
github.com>
|
If we sync all the packages to the same version, this isn't ideal for
semver, which we try to follow.
Imagine the ui library has a major version bump for an API breaking change,
we then have to bump our signalling library to the same major version - the
two libraries are unrelated and share no common code. For consumers of the
signalling library they now have to accept a major change in order to
accept future upgrades on a library that hasn't materially changed.
On Mon, 25 Nov 2024, 8:30 pm Luke Bermingham, ***@***.***>
wrote:
… I was thinking we might include the commit ranges for each of the
changelog versions so we could bisect regressions and users could see what
changes went into a release.
Additionally, as for frontend UI and frontend library compatibility, the
UI library specifies the version of the frontend library it should be used
with as a peer dependency in the package json, npm should enforce this.
On Mon, 25 Nov 2024, 7:41 pm Leon Radley, ***@***.***>
wrote:
> It would solve the problem knowing what changes where done to the
> separate libraries.
>
> If each library would not have a specific tag on github it will be hard
> to do a diff between versions.
>
> I also see a problem where if the libraries are not released and tested
> in unison, I might be running different versions of frontend or ui, which
> are not compatible with each other.
>
> Since they are going to be used together as a whole, to me it would make
> sense keeping their versions in sync.
>
> —
> Reply to this email directly, view it on GitHub
> <#313 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAJIYXVU4NZP6IRPFUJRM7D2CLWGNAVCNFSM6AAAAABRVYGYPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJXGQZTIMRVHA>
> .
> You are receiving this because you modified the open/close state.Message
> ID: <EpicGamesExt/PixelStreamingInfrastructure/issues/313/2497434258@
> github.com>
>
|
That sounds good 👍 |
https://www.npmjs.com/package/@epicgames-ps/lib-pixelstreamingsignalling-ue5.5
The last published version of 5.5 is 2.0.1
but on github the last release is 3.0.1
https://github.com/EpicGamesExt/PixelStreamingInfrastructure/releases/tag/UE5.5-3.0.1
Shouldn't these match up?
The text was updated successfully, but these errors were encountered: