Giter Site home page Giter Site logo

Null Safety Migration about dartx HOT 10 CLOSED

TimWhiting avatar TimWhiting commented on September 17, 2024 4
Null Safety Migration

from dartx.

Comments (10)

TimWhiting avatar TimWhiting commented on September 17, 2024 1

By the way crypto was just published, so this should be unblocked

from dartx.

AKushWarrior avatar AKushWarrior commented on September 17, 2024 1

NNBD migration for this package should be pretty easy since it's mostly methods. I can take a crack at it if it's not already been done.

from dartx.

passsy avatar passsy commented on September 17, 2024 1

0.6.0 has been published with nullsafety enabled.

I'm sorry for the delay to actually publish this nnbd version. While migrating we noticed that other packages, especially package:collection started shipping their own extension functions. Those, in the long-term, will make dartx obsolete.

The big question was, whether we want to expose those extension methods through dartx, as we do with the time and characters package. But when I tried I ran into multiple naming conflicts, which would 1. be a breaking change, 2. could cause many more breaking changes down the line when more extensions get added.

Future

I'm missing a long-term goal for this project and a clear scope for 1.0. That's why merging becomes slower. The more methods we add, the harder it gets to prevent conflicts. If we blindly add everything, this project becomes a mess of methods nobody actually uses (remember quiver?). And we have no way of telling which methods are actually used.

For the time being, I can only encourage everyone here to contribute new extensions to specialized packages with a clear scope.

from dartx.

passsy avatar passsy commented on September 17, 2024

It would be awesome if you could also reach out to those projects :)

from dartx.

simc avatar simc commented on September 17, 2024

I created a nnbd branch. We're just waiting on some transitive dependencies now.

from dartx.

shinayser avatar shinayser commented on September 17, 2024

@leisim Time has been already updated to NNDB. Seems that only crypto is missing, right?

EDIT: I just checked out and seems that crypto has been already migrated (dart-lang/crypto#105), but hasn't been pushed to pub. It could still be imported locally.

from dartx.

atreeon avatar atreeon commented on September 17, 2024

Hi, is there an update? I think the dependencies have been updated now?

from dartx.

TimWhiting avatar TimWhiting commented on September 17, 2024

@leisim @passsy
Any idea when you will merge the nnbd support? Seems like the only thing that needs to happen is a merge / publish cycle.

from dartx.

shinayser avatar shinayser commented on September 17, 2024

@leisim @passsy guys,why don't you add another admin to the project? Seems that you guys can't spend much time improving, accepting PRs, upgrading libs, etc... The project is starting to look a little "abandoned"
If there is anything we can do for you, please just ask!

from dartx.

shinayser avatar shinayser commented on September 17, 2024

Guys @leisim @passsy ? March 3 is about the corner. You got any news?

from dartx.

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.