Code Monkey home page Code Monkey logo

Comments (18)

GooRiOn avatar GooRiOn commented on June 27, 2024 2

There are two reasons I thought about jumping from 0.2.0 to 1.3.0:

  • when I started the project, I didn't think that we'll have this number of features before version 0.3.0 (not saying about 1.0.0) so it could be hard to add new features for next 7 releases until v1
  • 1.0.0 for many folks might looks like the first version

As far as I know when it comes to versioning the rules are:

  • change last number for bug fixing
  • change second number for features
  • change first number for breaking changes

So in case we have both new features and breaking changes it seems that the best thing we could do is to go straight to the version 1.3.0. But that's just my explenation :D

from valit.

timdeschryver avatar timdeschryver commented on June 27, 2024 1

I will take a look at #113, if thats OK.

from valit.

GooRiOn avatar GooRiOn commented on June 27, 2024 1

@Jogai , I think you're right with the versioning. Thanks for sharing this :) I'll change the milestone and label then.

Regarding docs, I'm not sure whether it's a good idea and what's the point of doing that. It's the developer who decides which library suits more his needs. Both Valit and FV are build completely differently and represent different approaches. But maybe I simply miss something :D

@arekbal , @tdeschryver , @paw3lx ?

from valit.

GooRiOn avatar GooRiOn commented on June 27, 2024

#146
#147
#148

from valit.

timdeschryver avatar timdeschryver commented on June 27, 2024

Looks great to me!

from valit.

GooRiOn avatar GooRiOn commented on June 27, 2024

I'd also add #113

from valit.

GooRiOn avatar GooRiOn commented on June 27, 2024

Does anyone want to do a particular task? Or you'd prefer free pick?

from valit.

GooRiOn avatar GooRiOn commented on June 27, 2024

Perfect :)

from valit.

GooRiOn avatar GooRiOn commented on June 27, 2024

All right, since we'll have some breaking changes then I think the best thing we can do is to switch to 1.3.0 version instead of 0.3.0. This will be a clear mark that something changed in the codebase since we'll increment first number in the version. Sounds good?

from valit.

timdeschryver avatar timdeschryver commented on June 27, 2024

I'm not against it, I surely think it's a good idea for in the feature once we've hit 1.0 and stabilized the codebase.
For now I would just go to 0.3 or maybe even better 1.0?

from valit.

paw3lx avatar paw3lx commented on June 27, 2024

Hi guys. I'm little busy right now. I'll be able to do some tasks in the next week. But in the next few days I will try to simplify the code in #114.

from valit.

GooRiOn avatar GooRiOn commented on June 27, 2024

@paw3lx sure :) No Need to rush :)

from valit.

Jogai avatar Jogai commented on June 27, 2024

Regarding version numbers; according to semver you would make this jump: 0.2.0 -> 1.0.0

See https://semver.org/#spec-item-8

And I would love to see some documentation on whats different/unique/better compared to fluentvalidation...

from valit.

timdeschryver avatar timdeschryver commented on June 27, 2024

No strong opinion on this matter, but I agree with you.
Maybe we could add a Why section?

from valit.

Jogai avatar Jogai commented on June 27, 2024

Or just a list of features, or use cases where it's applicable.

from valit.

GooRiOn avatar GooRiOn commented on June 27, 2024

I was quite busy for couple last weeks but I'm back. From what we have I'm going to create 1.0.0-preview1 version. I'll do the same for ASP.NET Core plugin.

@paw3lx what's the status on Autofac plugin? Can I help with that somehow?

from valit.

paw3lx avatar paw3lx commented on June 27, 2024

Yea, I'm quite busy too. As you probably saw, I added just one integration - RegisterValit(), which register all Valitators as Singletons. Do you have any idea what we can add here?

from valit.

GooRiOn avatar GooRiOn commented on June 27, 2024

That actually a good question :D I though that we could also think about auto discovering validators for nested objects in case it was not passed as IValitator instance inside Ensure or EnsureFor. But I think we should move this discussion to other repo :)

from valit.

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.