Skip to content

Commit

Permalink
Merge branch 'develop' into update-readme-for-IsStrongPassword
Browse files Browse the repository at this point in the history
  • Loading branch information
braaar authored Jan 17, 2025
2 parents 3f3b8f3 + 3bff66f commit 685e48f
Show file tree
Hide file tree
Showing 32 changed files with 677 additions and 485 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ updates:
interval: daily
time: "10:00"
timezone: Europe/Budapest
open-pull-requests-limit: 5
open-pull-requests-limit: 0
versioning-strategy: increase
commit-message:
prefix: build
include: scope
ignore:
- dependency-name: "husky"
- dependency-name: "husky"
13 changes: 9 additions & 4 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci --ignore-scripts
- run: npm run test:ci
- run: npm install codecov -g
if: ${{ matrix.node-version == 'current' }}
- run: codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }} --commit=$GITHUB_SHA --branch=${GITHUB_REF##*/}
if: ${{ matrix.node-version == 'current' }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
if: ${{ matrix.node-version == 'current' && github.actor != 'dependabot[bot]' }}
with:
files: ./coverage/clover.xml
directory: ./coverage/lcov-report/
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
fail_ci_if_error: true
build:
name: Build
runs-on: ubuntu-latest
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

_This changelog follows the [keep a changelog][keep-a-changelog]_ format to maintain a human readable changelog.

### [0.14.1](https://github.com/typestack/class-validator/compare/v0.14.0...v0.14.1) (2024-01-12)

#### Added

- allow specifying options for `@IsBase64` decorator ([#1845](https://github.com/typestack/class-validator/issues/1845)) , closes [#1013](https://github.com/typestack/class-validator/issues/1013)
- use official type for version in `@IsUUID` decorator ([#1846](https://github.com/typestack/class-validator/issues/1846)) , closes [#1497](https://github.com/typestack/class-validator/issues/1497)
- update `@IsPhoneNumber` decorator to use max dataset ([#1857](https://github.com/typestack/class-validator/issues/1857))

#### Fixed

- fail for non-array constraint in `@IsIn` decorator ([#1844](https://github.com/typestack/class-validator/issues/1844)) , closes [#1693](https://github.com/typestack/class-validator/issues/1693)
- allow number and boolean values in validation message "$value" tokens ([#1467](https://github.com/typestack/class-validator/issues/1467)) , closes [#921](https://github.com/typestack/class-validator/issues/921), [#1046](https://github.com/typestack/class-validator/issues/1046)
- read nullable option in `@IsNotEmptyObject` decorator correctly ([#1555](https://github.com/typestack/class-validator/issues/1555)) , closes [#1554](https://github.com/typestack/class-validator/issues/1554)

#### Changed

- update `libphonenumber-js` to `^1.10.53` from `^1.10.14`
- update various dev-dependencies

### [0.14.0](https://github.com/typestack/class-validator/compare/v0.13.2...v0.14.0) (2022-12-09)

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ user.welcome = 'helo';

validate(user).then(errors => {
// ...
}); // it will return errors for email, title and text properties
}); // it will return errors for email, password, name and welcome properties
```

## Conditional validation
Expand Down
Loading

0 comments on commit 685e48f

Please sign in to comment.