Skip to content

Commit

Permalink
merge: release 0.3.2 (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoNameProvided authored Jan 14, 2021
2 parents 7020a72 + 7906c4e commit 16a0506
Show file tree
Hide file tree
Showing 64 changed files with 2,299 additions and 1,138 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ rules:
'@typescript-eslint/no-inferrable-types': off
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/member-ordering': 'error'
'@typescript-eslint/no-unused-vars':
- 'error'
- args: 'none'
# TODO: Remove these and fixed issues once we merged all the current PRs.
'@typescript-eslint/ban-types': off
'@typescript-eslint/no-unsafe-return': off
Expand Down
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "10:00"
timezone: Europe/Budapest
open-pull-requests-limit: 5
versioning-strategy: increase
commit-message:
prefix: build
include: scope
18 changes: 18 additions & 0 deletions .github/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
titleAndCommits: true
allowMergeCommits: false
scopes:
- deps
- deps-dev
types:
- feat
- fix
- docs
- style
- refactor
- perf
- test
- build
- ci
- chore
- revert
- merge
11 changes: 11 additions & 0 deletions .github/workflows/auto-approve-dependabot-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Auto approve PRs
on:
pull_request
jobs:
dependabot:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.0.0
if: github.actor == 'dependabot[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
6 changes: 5 additions & 1 deletion .github/workflows/continuous-deployment-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
- run: npm run prettier:check
- run: npm run lint:check
- run: npm run test:ci
- run: npm run build
- run: npm run build:es2015
- run: npm run build:esm5
- run: npm run build:cjs
- run: npm run build:umd
- run: npm run build:types
- run: cp LICENSE build/LICENSE
- run: cp README.md build/README.md
- run: jq 'del(.devDependencies) | del(.scripts)' package.json > build/package.json
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CI
on: push
on: [push, pull_request]
jobs:
checks:
name: Linters
Expand All @@ -15,21 +15,29 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x, 14.x]
node-version: ['10.x', '12.x', '14.x']
fail-fast: false
steps:
- uses: actions/checkout@v1
- name: Setting up Node.js ${{ matrix.node-version }}
- name: Setting up Node.js (v${{ matrix.node-version }}.x)
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci --ignore-scripts
- run: npm run test:ci
- run: npm install codecov -g
- run: codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }}
if: ${{ matrix.node-version == '14.x' }}
- run: codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }} --commit=$GITHUB_SHA --branch=${GITHUB_REF##*/}
if: ${{ matrix.node-version == '14.x' }}
build:
name: Build
needs: [tests, checks]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- run: npm ci --ignore-scripts
- run: npm run build
- run: npm run build:es2015
- run: npm run build:esm5
- run: npm run build:cjs
- run: npm run build:umd
- run: npm run build:types
22 changes: 22 additions & 0 deletions .github/workflows/lock-closed-issues-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Lock inactive threads'
on:
schedule:
- cron: '0 0 * * *'
jobs:
lock:
name: Lock closed issues
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: 30
pr-lock-inactive-days: 30
issue-lock-comment: >
This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
pr-lock-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

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

### [0.3.2][v0.3.2] - 2021-01-14

#### Added

- `exposeDefaultValues` option has been added, when enabled properties will use their default values when no value is present for the property
- the name of the currently transformed parameter is exposed in the `@Transform` decorator

#### Fixed

- fixed an issue with transforming `Map` (#319)
- fixed an issue with sourcemap generation (#472)

#### Changed

- various internal refactors
- various changes to the project tooling
- various dev-dependencies has been updated

### [0.3.1][v0.3.1] - 2020-07-29

#### Added
Expand All @@ -21,8 +39,9 @@ _This changelog follows the [keep a changelog][keep-a-changelog]_ format to main

- circular dependency fixed
- dev dependencies removed from package.json before publishing (no more security warnings)
- transformer oder is deterministic now (#231)
- transformer order is deterministic now (#231)
- fix prototype pollution issue (#367)
- various fixes in documentation

### [0.2.3][v0.2.3] [BREAKING CHANGE]

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2015-2020 Umed Khudoiberdiev
Copyright (c) 2015-2020 TypeStack

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 16a0506

Please sign in to comment.