Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue / Domain Layer / .NET 7 Update #77

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
4790cf5
change versions
SeferMirza Oct 23, 2023
1d2b2aa
add new feature and breaking change notes
SeferMirza Oct 26, 2023
f71d084
Update package-upgrade.md
SeferMirza Oct 26, 2023
ee67510
upgrade packages & document
SeferMirza Oct 26, 2023
a0f7ae0
update sample project dotnet version
SeferMirza Oct 26, 2023
d62a17e
update unrelease note
SeferMirza Oct 26, 2023
23795b4
update .net version on docker & add documentation
SeferMirza Oct 26, 2023
7421570
update dotnet version on workflows
SeferMirza Oct 26, 2023
b273cbd
fix sample project errors
SeferMirza Oct 27, 2023
05305c8
make not return method `ShouldFail` and `ShouldPass` methods
SeferMirza Oct 27, 2023
f33285a
update document
SeferMirza Oct 27, 2023
aaff544
grouping of release notes
SeferMirza Oct 30, 2023
612b0a2
Merge remote-tracking branch 'upstream/main' into issue/net-7-update
SeferMirza Oct 30, 2023
e3e5c09
Update .prebuild
SeferMirza Oct 30, 2023
f0d609c
Update .prebuild
SeferMirza Oct 30, 2023
cd808f0
rename & move files
SeferMirza Oct 30, 2023
d1af4b8
update link
SeferMirza Oct 30, 2023
33d40bc
undo link changes
SeferMirza Oct 30, 2023
533eb97
rename file
SeferMirza Oct 30, 2023
c0f3cc6
use central package management
SeferMirza Nov 2, 2023
e8ad4b2
update migration document
SeferMirza Nov 2, 2023
0a629b3
add one line
SeferMirza Nov 2, 2023
03f6373
update migration check list
SeferMirza Nov 3, 2023
309617e
update migration document
SeferMirza Nov 3, 2023
7ba4b17
update migrations document
SeferMirza Nov 6, 2023
ab4014d
merge migration and unrelease
SeferMirza Nov 6, 2023
f62f41b
add Directory.Packages.props to paths
SeferMirza Nov 6, 2023
596296f
update readme
SeferMirza Nov 6, 2023
998d46a
sort packages
SeferMirza Nov 6, 2023
a5228d8
sort packages
SeferMirza Nov 6, 2023
83dc936
Merge pull request #69 from SeferMirza/issue/net-7-update
SeferMirza Nov 6, 2023
cfb593b
merge release notes
SeferMirza Nov 6, 2023
5fabeb1
version update
SeferMirza Nov 6, 2023
9eec2f1
update package
SeferMirza Nov 6, 2023
0655edb
add lines
SeferMirza Nov 6, 2023
4818406
add lines
SeferMirza Nov 6, 2023
1736b45
Merge pull request #73 from mouseless/release/v0.4.0
SeferMirza Nov 6, 2023
ee37a70
add release note
SeferMirza Nov 8, 2023
392c222
add missing subheading
SeferMirza Nov 8, 2023
0fa0e55
fix stylecop target problem
SeferMirza Nov 8, 2023
cbc4f40
move release note
SeferMirza Nov 8, 2023
74b0872
undo last release note changes
SeferMirza Nov 8, 2023
8805b98
undo version change commit
SeferMirza Nov 8, 2023
9a7b7e8
Merge pull request #74 from SeferMirza/bug/stylecop-target-problem
SeferMirza Nov 8, 2023
230afff
move release note
SeferMirza Nov 8, 2023
82bfbe6
update version
SeferMirza Nov 8, 2023
52d58bd
Merge pull request #75 from mouseless/release/v0.4.1
SeferMirza Nov 15, 2023
104cdc8
update unreleased.md note
SeferMirza Nov 21, 2023
a51c172
merge from main
dncsvr Nov 21, 2023
a798e75
fix unsupported register column type
SeferMirza Nov 21, 2023
fd6ffb5
add sample service and controller with configuration overrider feature
dncsvr Nov 21, 2023
caeebbd
review changes
SeferMirza Nov 22, 2023
f194a47
remove custom sql dialect
SeferMirza Nov 22, 2023
2027576
review change
SeferMirza Nov 22, 2023
650c411
Merge pull request #76 from SeferMirza/bug/object-user-type
SeferMirza Nov 22, 2023
0d53da0
add task head to unrelease
SeferMirza Nov 22, 2023
9091fe2
throw custom exception with message
SeferMirza Nov 22, 2023
68e60a4
update unreleased.md
dncsvr Nov 22, 2023
d9c15b9
add GetRequiredValue extension with default value option
dncsvr Nov 22, 2023
aaca1b2
add exception handling for nhibernate exception
SeferMirza Nov 22, 2023
c9c9bbb
fix exception hanlder solution
SeferMirza Nov 22, 2023
86436ea
review changes
SeferMirza Nov 22, 2023
6611086
update release notes
SeferMirza Nov 22, 2023
80876d7
update release note
SeferMirza Nov 22, 2023
1550b81
Add test project for `Do.Test.Blueprints.Service.Application`
dncsvr Nov 22, 2023
a435a46
add MockingConfiguration test cases and implementation
dncsvr Nov 22, 2023
79f1550
Update unreleased.md
dncsvr Nov 22, 2023
60b31de
review changes
SeferMirza Nov 23, 2023
9c3cb72
review & refactor
SeferMirza Nov 23, 2023
c6ff30f
review changes
dncsvr Nov 23, 2023
b67bc41
edit run settings
dncsvr Nov 23, 2023
b389e57
remove empty constructor
SeferMirza Nov 23, 2023
ece3c5e
edit run settings
dncsvr Nov 23, 2023
36a39dc
move corruptedjsondataexception exceptionhandling to orm
SeferMirza Nov 23, 2023
3233219
Merge pull request #78 from SeferMirza/issue/better-error-for-corrupt…
SeferMirza Nov 23, 2023
443ecfb
change throw new Exception to throw new
dncsvr Nov 23, 2023
3ddcb25
review changes
dncsvr Nov 23, 2023
587beb0
edit run settings
dncsvr Nov 23, 2023
dd0e737
fix trailing whitespace
dncsvr Nov 23, 2023
6e1a9d9
edit run settings
dncsvr Nov 23, 2023
46cf1c5
Merge pull request #79 from dncsvr/issue/required-config-value
dncsvr Nov 23, 2023
ad3014e
add v0.4.2 release notes
dncsvr Nov 23, 2023
bdf386c
update version
dncsvr Nov 23, 2023
948d11c
fix release notes sub headings
dncsvr Nov 23, 2023
10162ca
Merge pull request #80 from mouseless/release/v0.4.2
cihandeniz Nov 23, 2023
fd1071d
add meetings entity
dncsvr Nov 23, 2023
1546af8
remove use file
dncsvr Nov 23, 2023
4b424d9
merge from main for release v0.4.2
dncsvr Nov 23, 2023
2dc582b
move business to its own project
dncsvr Nov 24, 2023
7d9de46
update type model method extraction
dncsvr Nov 24, 2023
61f2aa1
review changes
dncsvr Nov 24, 2023
788add5
add directory build props file for sample projects
dncsvr Nov 24, 2023
5af1fc1
minor edit
dncsvr Nov 24, 2023
6a37ff3
minor edit
dncsvr Nov 24, 2023
8ec3899
remove analyzer
dncsvr Nov 24, 2023
dae756e
edit for testing sample workflow
dncsvr Nov 24, 2023
ae395cc
edit for test
dncsvr Nov 24, 2023
ba25f58
fix typo
dncsvr Nov 24, 2023
cda82c8
add stylecop to sample project
dncsvr Nov 24, 2023
90de597
review changes
dncsvr Nov 24, 2023
6069ed3
review changes
dncsvr Nov 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/project-regular-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- 'test/**'
- 'Do.sln'
- 'Directory.Build.props'
- 'Directory.Packages.props'

env:
MIN_COVERAGE: 80
Expand Down Expand Up @@ -42,8 +43,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
dotnet-version: 7
- name: Build Solution
run: dotnet build -c Release
test:
Expand All @@ -58,8 +58,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
dotnet-version: 7
- name: Test
if: ${{ matrix.os != 'ubuntu-latest' }}
run: dotnet test -c Release
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
dotnet-version: 7
- name: Pack
run: |
dotnet pack -o "packages" -c Release
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/samples-regular-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
dotnet-version: 7
- name: samples/event-scheduler
working-directory: samples/event-scheduler
run: |
Expand Down
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>10.0</LangVersion>
<TargetFramework>net7.0</TargetFramework>
<LangVersion>11.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand All @@ -13,7 +13,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="StyleCop.Analyzers.Unstable" Version="1.2.0.507">
<PackageReference Include="StyleCop.Analyzers.Unstable">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
26 changes: 26 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<Project>

<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>

<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="FluentNHibernate" Version="3.3.0" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.13" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.4" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageVersion Include="Moq" Version="4.20.69" />
<PackageVersion Include="MySql.Data" Version="8.2.0" />
<PackageVersion Include="NHibernate" Version="5.4.6" />
<PackageVersion Include="NUnit" Version="3.14.0" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageVersion Include="Shouldly" Version="4.2.1" />
<PackageVersion Include="StyleCop.Analyzers.Unstable" Version="1.2.0.507" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageVersion Include="System.Data.SQLite" Version="1.0.118" />
</ItemGroup>

</Project>
7 changes: 7 additions & 0 deletions Do.sln
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Do.Blueprints.Service", "sr
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Do.Test.Blueprints.Service", "test\blueprints\Do.Test.Blueprints.Service\Do.Test.Blueprints.Service.csproj", "{063A65CC-F465-4E53-816E-048E05BC3F75}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Do.Test.Blueprints.Service.Test", "test\blueprints\Do.Test.Blueprints.Service.Test\Do.Test.Blueprints.Service.Test.csproj", "{C56E61A8-3B89-4972-A261-DE8454B2BCFC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -57,6 +59,10 @@ Global
{063A65CC-F465-4E53-816E-048E05BC3F75}.Debug|Any CPU.Build.0 = Debug|Any CPU
{063A65CC-F465-4E53-816E-048E05BC3F75}.Release|Any CPU.ActiveCfg = Release|Any CPU
{063A65CC-F465-4E53-816E-048E05BC3F75}.Release|Any CPU.Build.0 = Release|Any CPU
{C56E61A8-3B89-4972-A261-DE8454B2BCFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C56E61A8-3B89-4972-A261-DE8454B2BCFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C56E61A8-3B89-4972-A261-DE8454B2BCFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C56E61A8-3B89-4972-A261-DE8454B2BCFC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -72,6 +78,7 @@ Global
{45D92BDD-5EA8-4B6C-A6F0-38C9DE139A32} = {BE392BCA-BDD7-43F6-BF11-9AC259F82CE6}
{68CBB995-C501-41BB-93B4-01A0CC618A89} = {CDC3A00A-52BD-4CDA-B7D7-1FCFC5DD1CEE}
{063A65CC-F465-4E53-816E-048E05BC3F75} = {F1F041D0-E073-455C-96F9-233FDF5CC2A8}
{C56E61A8-3B89-4972-A261-DE8454B2BCFC} = {F1F041D0-E073-455C-96F9-233FDF5CC2A8}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F41E6823-793F-4036-A795-DB6105039AEC}
Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ It proposes well designed conventions to help you express your application
logic with ease. It doesn't reinvent libraries that already exists, but brings
them together with built-in configurations.

We've just started this project, and hopefully will have the first full release
within 2-3 months. Check out our documentation site for more information
:point_down:
Check out our documentation site for more information :point_down:

[do.mouseless.codes](https://do.mouseless.codes)

Stay tuned.
16 changes: 4 additions & 12 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,18 @@
run:
@ \
echo "(1) Dev" ; \
echo "(2) Dev With Build" ; \
echo "(3) Local" ; \
echo "(4) Eslint" ; \
echo "(5) Eslint Fix" ; \
echo "(2) Local" ; \
echo "(3) Eslint Fix" ; \
echo "" ; \
echo "Please select 1-5: " ; \
echo "Please select 1-3: " ; \
read srv ; \
if test $$srv -eq "1" ; then \
cd .theme ; npm run dev ; cd .. ; \
fi ; \
if test $$srv -eq "2" ; then \
cd .theme ; npm run dev:build ; cd .. ; \
fi ; \
if test $$srv -eq "3" ; then \
cd .theme ; npm run local ; cd .. ; \
fi ; \
if test $$srv -eq "4" ; then \
cd .theme ; npx eslint . ; cd .. ; \
fi ; \
if test $$srv -eq "5" ; then \
if test $$srv -eq "3" ; then \
cd .theme ; npx eslint . --fix ; cd .. ; \
fi
build:
Expand Down
6 changes: 4 additions & 2 deletions docs/release-notes/v0-0-0.md → docs/release-notes/v0-0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# v0.0.0
# v0.0

## Packages
## v0.0.0

### Packages

- `Do.Blueprints.Service` package is created with literally zero features
- Architecture is documented with initial vision
Expand Down
8 changes: 5 additions & 3 deletions docs/release-notes/v0-1-0.md → docs/release-notes/v0-1.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# v0.1.0
# v0.1

## Packages
## v0.1.0

### Packages

- `Do.Architecture` package is introduced. This package exposes core _feature_
and _layer_ system that is mentioned in
[Architecture](../architecture/README.md) section

## Features
### Features

- Beta features are available in `do-blueprints-service` package;
- `DependencyInjection` layer is added, you can now configure
Expand Down
11 changes: 0 additions & 11 deletions docs/release-notes/v0-2-1.md

This file was deleted.

22 changes: 18 additions & 4 deletions docs/release-notes/v0-2-0.md → docs/release-notes/v0-2.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
# v0.2.0
# v0.2

## Packages
## v0.2.1

### Improvements

- Added singleton access helper to Stubber, `GiveMe.The<TService>()`.
- `GiveMe.Create()` is renamed to `GiveMe.A()`, `GiveMe.An()`.
- `GiveMe.A()` and `GiveMe.An()` are renamed to `GiveMe.AnInstanceOf()`
- Configurators now have ability to switch based on environments
- `developmentDatabase` is removed, you can use environment switcher
- Added `Uri` to `String` mapping support for `Orm` feature
- Added `object` to `StringClob` mapping support for `Orm` feature

## v0.2.0

### Packages

- `Do.Blueprints.Service.Application` package is introduced. This package
exposes was formerly named as `Do.Blueprints.Service`
- `Do.Blueprints.Service` package now only contains ports of service blueprint
and expected to be used from business domain projects

## Features
### Features

- Beta features are available in `do-blueprints-service` package;
- `Core` feature is added with `Dotnet` and `Mock` implementations
Expand All @@ -33,7 +47,7 @@
implementations
- `Orm` feature is added with `NHibernate` implementation

## Library Upgrades
### Library Upgrades

| Package | Old Version | New Version |
| ----------------------------------------- | ----------- | ----------- |
Expand Down
19 changes: 0 additions & 19 deletions docs/release-notes/v0-3-0.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/release-notes/v0-3-1.md

This file was deleted.

24 changes: 0 additions & 24 deletions docs/release-notes/v0-3-2.md

This file was deleted.

15 changes: 0 additions & 15 deletions docs/release-notes/v0-3-3.md

This file was deleted.

15 changes: 0 additions & 15 deletions docs/release-notes/v0-3-4.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/release-notes/v0-3-5.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/release-notes/v0-3-6.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/release-notes/v0-3-7.md

This file was deleted.

Loading