Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit d066f936
authored
May 09, 2013
by
Daniel Durante
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgraded validation for IPv6 support. Closes #371
1 parent
d7a96a1e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
changelog.md
package.json
spec/dao.validations.spec.js
changelog.md
View file @
d066f93
# v1.7.0 #
-
[
FEATURE
]
Validate a model before it gets saved.
[
#601
](
https://github.com/sequelize/sequelize/pull/601
)
, thanks to durango
-
[
DEPENDENCIES
]
Upgraded validator for IPv6 support.
[
#603
](
https://github.com/sequelize/sequelize/pull/603
)
. thanks to durango
-
[
FEATURE
]
Validate a model before it gets saved.
[
#601
](
https://github.com/sequelize/sequelize/pull/601
)
. thanks to durango
-
[
DEPENDENCIES
]
replaced underscore by lodash.
[
#954
](
https://github.com/sequelize/sequelize/pull/594
)
. thanks to durango
-
[
BUG
]
Fix string escape with postgresql on raw SQL queries.
[
#586
](
https://github.com/sequelize/sequelize/pull/586
)
. thanks to zanamixx
-
[
BUG
]
"order by" is now after "group by".
[
#585
](
https://github.com/sequelize/sequelize/pull/585
)
. thanks to mekanics
...
...
package.json
View file @
d066f93
...
...
@@ -32,7 +32,7 @@
"lodash"
:
"~1.2.1"
,
"underscore.string"
:
"~2.3.0"
,
"lingo"
:
"~0.0.5"
,
"validator"
:
"
0.4.x
"
,
"validator"
:
"
1.1.1
"
,
"moment"
:
"~1.7.0"
,
"commander"
:
"~0.6.0"
,
"generic-pool"
:
"1.0.9"
,
...
...
spec/dao.validations.spec.js
View file @
d066f93
...
...
@@ -42,6 +42,10 @@ describe(Helpers.getTestDialectTeaser("DAO"), function() {
fail
:
"abc"
,
pass
:
"129.89.23.1"
}
,
isIPv6
:
{
fail
:
'1111:2222:3333::5555:'
,
pass
:
'fe80:0000:0000:0000:0204:61ff:fe9d:f156'
}
,
isAlpha
:
{
fail
:
"012"
,
pass
:
"abc"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment