Skip to content

Commit 9f501e1

Browse files
committed
Merge branch 'release/0.9.0'
2 parents 32e8a07 + 885c14a commit 9f501e1

85 files changed

Lines changed: 2730 additions & 1353 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.config/dotnet-tools.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"nuke.globaltool": {
6+
"version": "5.3.0",
7+
"commands": [
8+
"nuke"
9+
]
10+
}
11+
}
12+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
on:
2+
push:
3+
branches:
4+
- develop
5+
pull_request_target:
6+
types: [opened, synchronize, reopened]
7+
8+
name: CodeSee Map
9+
10+
jobs:
11+
test_map_action:
12+
runs-on: ubuntu-latest
13+
continue-on-error: true
14+
name: Run CodeSee Map Analysis
15+
steps:
16+
- name: checkout
17+
id: checkout
18+
uses: actions/checkout@v2
19+
with:
20+
repository: ${{ github.event.pull_request.head.repo.full_name }}
21+
ref: ${{ github.event.pull_request.head.ref }}
22+
fetch-depth: 0
23+
24+
# codesee-detect-languages has an output with id languages.
25+
- name: Detect Languages
26+
id: detect-languages
27+
uses: Codesee-io/codesee-detect-languages-action@latest
28+
29+
- name: Configure JDK 16
30+
uses: actions/setup-java@v2
31+
if: ${{ fromJSON(steps.detect-languages.outputs.languages).java }}
32+
with:
33+
java-version: '16'
34+
distribution: 'zulu'
35+
36+
# CodeSee Maps Go support uses a static binary so there's no setup step required.
37+
38+
- name: Configure Node.js 14
39+
uses: actions/setup-node@v2
40+
if: ${{ fromJSON(steps.detect-languages.outputs.languages).javascript }}
41+
with:
42+
node-version: '14'
43+
44+
- name: Configure Python 3.x
45+
uses: actions/setup-python@v2
46+
if: ${{ fromJSON(steps.detect-languages.outputs.languages).python }}
47+
with:
48+
python-version: '3.x'
49+
architecture: 'x64'
50+
51+
- name: Configure Ruby '3.x'
52+
uses: ruby/setup-ruby@v1
53+
if: ${{ fromJSON(steps.detect-languages.outputs.languages).ruby }}
54+
with:
55+
ruby-version: '3.0'
56+
57+
# CodeSee Maps Rust support uses a static binary so there's no setup step required.
58+
59+
- name: Generate Map
60+
id: generate-map
61+
uses: Codesee-io/codesee-map-action@latest
62+
with:
63+
step: map
64+
github_ref: ${{ github.ref }}
65+
languages: ${{ steps.detect-languages.outputs.languages }}
66+
67+
- name: Upload Map
68+
id: upload-map
69+
uses: Codesee-io/codesee-map-action@latest
70+
with:
71+
step: mapUpload
72+
api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
73+
github_ref: ${{ github.ref }}
74+
75+
- name: Insights
76+
id: insights
77+
uses: Codesee-io/codesee-map-action@latest
78+
with:
79+
step: insights
80+
api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
81+
github_ref: ${{ github.ref }}

.github/workflows/delivery.yml

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -29,35 +29,6 @@ on:
2929
- '!LICENSE'
3030

3131
jobs:
32-
windows-latest:
33-
name: windows-latest
34-
runs-on: windows-latest
35-
steps:
36-
- uses: actions/checkout@v1
37-
- name: Cache .nuke/temp, ~/.nuget/packages
38-
uses: actions/cache@v2
39-
with:
40-
path: |
41-
.nuke/temp
42-
~/.nuget/packages
43-
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
44-
- name: Run './build.cmd Publish AddGithubRelease'
45-
run: ./build.cmd Publish AddGithubRelease
46-
env:
47-
GitHubToken: ${{ secrets.GITHUB_TOKEN }}
48-
NugetApiKey: ${{ secrets.NUGET_API_KEY }}
49-
- uses: actions/upload-artifact@v1
50-
with:
51-
name: tests-results
52-
path: output/tests-results
53-
- uses: actions/upload-artifact@v1
54-
with:
55-
name: coverage-history
56-
path: output/coverage-history
57-
- uses: actions/upload-artifact@v1
58-
with:
59-
name: artifacts
60-
path: output/artifacts
6132
macOS-latest:
6233
name: macOS-latest
6334
runs-on: macOS-latest
@@ -69,16 +40,21 @@ jobs:
6940
path: |
7041
.nuke/temp
7142
~/.nuget/packages
72-
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
73-
- name: Run './build.cmd Publish AddGithubRelease'
74-
run: ./build.cmd Publish AddGithubRelease
43+
key: ${{ runner.os }}-${{ hashFiles('global.json', 'src/**/*.csproj') }}
44+
- name: Run './build.cmd Tests Publish AddGithubRelease'
45+
run: ./build.cmd Tests Publish AddGithubRelease
7546
env:
7647
GitHubToken: ${{ secrets.GITHUB_TOKEN }}
7748
NugetApiKey: ${{ secrets.NUGET_API_KEY }}
49+
CodecovToken: ${{ secrets.CODECOV_TOKEN }}
7850
- uses: actions/upload-artifact@v1
7951
with:
8052
name: tests-results
8153
path: output/tests-results
54+
- uses: actions/upload-artifact@v1
55+
with:
56+
name: coverage-report
57+
path: output/coverage-report
8258
- uses: actions/upload-artifact@v1
8359
with:
8460
name: coverage-history

.github/workflows/integration.yml

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -21,41 +21,13 @@ on:
2121
branches-ignore:
2222
- main
2323
pull_request:
24-
branches:
25-
- develop
2624
paths:
2725
- '!docs/*'
2826
- '!README.md'
2927
- '!CHANGELOG.md'
3028
- '!LICENSE'
3129

3230
jobs:
33-
windows-latest:
34-
name: windows-latest
35-
runs-on: windows-latest
36-
steps:
37-
- uses: actions/checkout@v1
38-
- name: Cache .nuke/temp, ~/.nuget/packages
39-
uses: actions/cache@v2
40-
with:
41-
path: |
42-
.nuke/temp
43-
~/.nuget/packages
44-
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
45-
- name: Run './build.cmd Tests Pack'
46-
run: ./build.cmd Tests Pack
47-
- uses: actions/upload-artifact@v1
48-
with:
49-
name: tests-results
50-
path: output/tests-results
51-
- uses: actions/upload-artifact@v1
52-
with:
53-
name: coverage-history
54-
path: output/coverage-history
55-
- uses: actions/upload-artifact@v1
56-
with:
57-
name: artifacts
58-
path: output/artifacts
5931
macOS-latest:
6032
name: macOS-latest
6133
runs-on: macOS-latest
@@ -67,13 +39,20 @@ jobs:
6739
path: |
6840
.nuke/temp
6941
~/.nuget/packages
70-
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
71-
- name: Run './build.cmd Tests Pack'
72-
run: ./build.cmd Tests Pack
42+
key: ${{ runner.os }}-${{ hashFiles('global.json', 'src/**/*.csproj') }}
43+
- name: Run './build.cmd Tests ReportCoverage Pack'
44+
run: ./build.cmd Tests ReportCoverage Pack
45+
env:
46+
NugetApiKey: ${{ secrets.NUGET_API_KEY }}
47+
CodecovToken: ${{ secrets.CODECOV_TOKEN }}
7348
- uses: actions/upload-artifact@v1
7449
with:
7550
name: tests-results
7651
path: output/tests-results
52+
- uses: actions/upload-artifact@v1
53+
with:
54+
name: coverage-report
55+
path: output/coverage-report
7756
- uses: actions/upload-artifact@v1
7857
with:
7958
name: coverage-history

.nuke/build.schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
"type": "boolean",
1111
"description": "Indicates if any changes should be stashed automatically prior to switching branch (Default : true)"
1212
},
13+
"CodecovToken": {
14+
"type": "string",
15+
"default": "Secrets must be entered via 'nuke :secret [profile]'"
16+
},
1317
"Configuration": {
1418
"type": "string",
1519
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
@@ -100,12 +104,14 @@
100104
"Benchmarks",
101105
"Changelog",
102106
"Clean",
107+
"Coldfix",
103108
"Compile",
104109
"Feature",
105110
"Hotfix",
106111
"Pack",
107112
"Publish",
108113
"Release",
114+
"ReportCoverage",
109115
"Restore",
110116
"Tests"
111117
]
@@ -125,12 +131,14 @@
125131
"Benchmarks",
126132
"Changelog",
127133
"Clean",
134+
"Coldfix",
128135
"Compile",
129136
"Feature",
130137
"Hotfix",
131138
"Pack",
132139
"Publish",
133140
"Release",
141+
"ReportCoverage",
134142
"Restore",
135143
"Tests"
136144
]

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.9.0] / 2021-12-30
11+
- Made `BracketValue` implement `IParseable`, `IHaveComplexity`
12+
- Bumped `Candoumbe.MiscUtilities` to `0.6.3`
13+
- Bumped `Queries.Core` to `0.4.0`
14+
- Added `DateOnly` support ([#63](https://github.com/candoumbe/datafilters/issues/63))
15+
- Added `TimeOnly` support ([#64](https://github.com/candoumbe/datafilters/issues/64))
16+
- Added [`NullableValueBehavior`](/src/Datafilters.Expressions/NullableValueBehavior.cs) ([#68](https://github.com/candoumbe/datafilters/issues/68))
17+
1018
## [0.8.0] / 2021-10-10
1119
- Added `ISimplifiable` marker interface which defines a `FilterExpression.Simplify()` method to rewrite a
1220
`FilterExpression` to a less complex form.
@@ -86,7 +94,8 @@ for a corresponding property ([#8](https://github.com/candoumbe/datafilters/issu
8694
- Added support for "equals" operator on collections
8795
- Added support for "contains" operator on collections.
8896

89-
[Unreleased]: https://github.com/candoumbe/DataFilters/compare/0.8.0...HEAD
97+
[Unreleased]: https://github.com/candoumbe/DataFilters/compare/0.9.0...HEAD
98+
[0.9.0]: https://github.com/candoumbe/DataFilters/compare/0.8.0...0.9.0
9099
[0.8.0]: https://github.com/candoumbe/DataFilters/compare/0.7.0...0.8.0
91100
[0.7.0]: https://github.com/candoumbe/DataFilters/compare/0.6.0...0.7.0
92101
[0.6.0]: https://github.com/candoumbe/DataFilters/compare/0.5.0...0.6.0

0 commit comments

Comments
 (0)