Comments (18)
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.
I will take a look at #113, if thats OK.
from valit.
@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.
from valit.
Looks great to me!
from valit.
I'd also add #113
from valit.
Does anyone want to do a particular task? Or you'd prefer free pick?
from valit.
Perfect :)
from valit.
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.
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.
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.
@paw3lx sure :) No Need to rush :)
from valit.
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.
No strong opinion on this matter, but I agree with you.
Maybe we could add a Why
section?
from valit.
Or just a list of features, or use cases where it's applicable.
from valit.
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.
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.
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)
- Asserts in tests HOT 1
- Broken develop HOT 7
- Add more things for customising error messages HOT 2
- Validating nested objects - passing the IValitator<TObject> HOT 4
- Integrating with ASP.NET Core HOT 5
- Integrating with Autofac HOT 3
- Refactor resolving IValitResult from rules collection
- Remove IValitRulesProvider
- Resolve rules chain inside Validate
- Support for .NetStandard HOT 4
- Return custom result type from IValitResult<T> and IValitator<T> HOT 1
- Validation for reference types seems nonfunctional HOT 1
- Dont call .Satisfies() condition when .When() returns false HOT 1
- String MaxLength rule should accept empty string HOT 3
- Remove Microsoft.DotNet.Watcher.Tools from test project
- Question - Dependent Rules HOT 3
- Migrate to .NET Standard 2.1
- Migrate to .NET Core 3.1
- For(@object) throws exception when null
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valit.