Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

release 5.3.0 with our patches #6

Merged
merged 2 commits into from
Oct 17, 2023
Merged

release 5.3.0 with our patches #6

merged 2 commits into from
Oct 17, 2023

Conversation

szymonkaliski
Copy link
Member

@szymonkaliski szymonkaliski commented Oct 13, 2023

This branch is checked out at a commit that was made with 5.3.0 release on official xterm.js repo: xtermjs@2e02c37

This branch also contains all of our patches.

The release process is as follows:

  1. use node 18

  2. run:

     yarn --frozen-lockfile
     yarn setup
     yarn package
  3. and finally npm login && npm publish

We originally published @replit/xterm.js version 5.3.0 from master which is a bunch of commits ahead of this one, and introduces a bug with unicode. I unpublished that version, and will re-publish this as 5.3.0 on Monday (need to wait 24h for npm to allow us to publish the same package version again, for whatever reason).


EDIT: after testing, I also had to pull in xtermjs#4785 as it fixes an issue with Cannot read properties of undefined (reading 'onRequestRedraw') which we started getting when disposing shell/console. This patch will land with 5.4.0 which is in beta right now.

I also decided to call our version {x}.{y}.{z}-patched.{num} so it's bit clearer what we're doing, and we can keep updating the num without having to bump minor/patch number.

@szymonkaliski szymonkaliski marked this pull request as ready for review October 13, 2023 13:22
@szymonkaliski
Copy link
Member Author

@ink404 @bradymadden97 tagging you here to review if nothing got lost along the way (I'm terrible at git everything), and also in "FYI" fashion.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was adding this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was introduced in here #5 CC @bradymadden97

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah awesome, missed that PR a while back

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were probably generated by the ROR github import 🤷

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 are we publishing this as a nix package? it was previously only published to be used as an npm dep

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, just npm, again comes from that PR #5

Copy link

@ink404 ink404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thank you @szymonkaliski!

Would hold off for Brady to chick his changes though

@szymonkaliski
Copy link
Member Author

Yes, definitely; tbh. I'm not sure what merging this will do -- roll back master? I doubt it... But I wanted to have a branch that points to the stable release at least.

Copy link

@bradymadden97 bradymadden97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I released 5.3.0 yesterday though, is this just catching github up to what's released? Or are there new changes?

If new changes, we need to build as 5.3.1 and then release again.

In general I think we should probably merge to github main first then release

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were probably generated by the ROR github import 🤷

@szymonkaliski
Copy link
Member Author

szymonkaliski commented Oct 13, 2023

@bradymadden97 I tried explaining the issues in the PR description, mainly this:

We originally published @replit/xterm.js version 5.3.0 from master which is a bunch of commits ahead of this one, and introduces a bug with unicode. I unpublished that version, and will re-publish this as 5.3.0 on Monday (need to wait 24h for npm to allow us to publish the same package version again, for whatever reason).

@szymonkaliski szymonkaliski merged commit f4184d2 into master Oct 17, 2023
18 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants