Giter VIP home page Giter VIP logo

Comments (10)

ArthurSonzogni avatar ArthurSonzogni commented on June 9, 2024

You are right. I made a mistake when cherry-picking this patch into v4.1.0 a few days ago.
Not sure what's best from here.
Unpublish v4.1.0 and release v4.1.1 removing this commit.
Or maybe directly change the v4.1.0 reference.

from ftxui.

FlorianReimold avatar FlorianReimold commented on June 9, 2024

Please don't change the reference of tag v4.1.0. If you do that, people will have v4.1.0 checked out without knowing if they have the old or new 4.1.0. Just increase the latest number and make it v4.1.1. The latest number is meant to be increased when patching, so it is meant exactly for this purpose.
You will never ever run out of numbers, so please don't be afraid to use them. There will always be plenty left 😉

from ftxui.

ArthurSonzogni avatar ArthurSonzogni commented on June 9, 2024

v4.1.1 is going to be a breaking change relative to v4.1.0.

I think I am going to keep the v4.1.0 git tag, but unpublish the release from github.

from ftxui.

KerstinKeller avatar KerstinKeller commented on June 9, 2024

Also I think it depends if you want to have this commit in the 4.x series.
Considering that you released 4.1.0 only 3 days ago, I think it would be ok to have a 4.1.1 which has an API break with 4.1.0.

However if you want to keep the change, there could be ways to make it compatible with the previous API.
In the MenuOption class, I thing you could do:

class MenuOption
{

using Right = Direction::Right;
using Down= Direction::Down;
//..
}.

I think this way, users can still reference MenuOption::Right and the code will continue to work.
You could again remove the using directive for your 5.x release.

We often do stuff like this, when we want to introduce new APIs, but not break SemVer....

from ftxui.

ArthurSonzogni avatar ArthurSonzogni commented on June 9, 2024

Hi @KerstinKeller & @FlorianReimold

The branch https://github.com/ArthurSonzogni/FTXUI/tree/support-v4 is going to become v4.1.1. It should be good and not breaking v4.0.0. This time, I won't rush. Could you please take a look and tell if this is good?

Unfortunately, there was no way to have a "soft" fix without breaking v4.1.0. That's because the breaking change renamed both Direction into WithOrHeight and GaugeDirection into Direction. We can't have Direction means multiple incompatible enums.

from ftxui.

FlorianReimold avatar FlorianReimold commented on June 9, 2024

I updated to the current HEAD of support-v4 in a branch in our eCAL Repository. The results will ready in in about 1h or so:

https://github.com/eclipse-ecal/ecal/tree/testing/ftxui_4.1.1

Ubuntu 20.04: https://github.com/eclipse-ecal/ecal/actions/runs/5089121687/jobs/9146373055
Ubuntu 22.04: https://github.com/eclipse-ecal/ecal/actions/runs/5089121663/jobs/9146373082
Windows (VS 2019): https://github.com/eclipse-ecal/ecal/actions/runs/5089121665/jobs/9146373351
macOS: https://github.com/eclipse-ecal/ecal/actions/runs/5089121666/jobs/9146373086

from ftxui.

ArthurSonzogni avatar ArthurSonzogni commented on June 9, 2024

Thanks!

The macOS version had an issue, because C++17 was not applied to the dependant (ecal). I pushed a few more CLs to fix the issue. If you can retry before I publish it, it would be greatly appreciated! (@FlorianReimold)

from ftxui.

ArthurSonzogni avatar ArthurSonzogni commented on June 9, 2024

I think the fix was good, so I will publish v4.1.1

from ftxui.

ArthurSonzogni avatar ArthurSonzogni commented on June 9, 2024

https://github.com/ArthurSonzogni/FTXUI/releases/tag/v4.1.1

from ftxui.

FlorianReimold avatar FlorianReimold commented on June 9, 2024

The macOS version had an issue, because C++17 was not applied to the dependant (ecal).

Yep, I realized the mistake and pushed another commit that I didn't link here. Just going to C++17 worked well for macOS

If you can retry before I publish it, it would be greatly appreciated! (@FlorianReimold)

Well, that probably is too late now 😀
But I updated to the 4.1.1 tag you released:

Ubuntu 20.04: https://github.com/eclipse-ecal/ecal/actions/runs/5118599237/jobs/9202815300
Ubuntu 22.04: https://github.com/eclipse-ecal/ecal/actions/runs/5118599220/jobs/9202815520
Windows: https://github.com/eclipse-ecal/ecal/actions/runs/5118599226/jobs/9202815385
macOS: https://github.com/eclipse-ecal/ecal/actions/runs/5118599221/jobs/9202815295

Edit: ✅ Compiles on all plattforms

from ftxui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.