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

Enhancement: require .NET Framework 6.0 as minimum version #187

Merged
merged 9 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
dotnet-version: '6.0.x'

- name: Publish on NuGet
id: publish_nuget
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
dotnet-version: '6.0.x'

# Build
- name: Install dependencies
Expand All @@ -32,7 +32,7 @@ jobs:
run: dotnet restore src/MercadoPago.Tests/MercadoPago.Tests.csproj

- name: Run tests
run: dotnet test src/MercadoPago.Tests/MercadoPago.Tests.csproj -f net5.0 --configuration Release --no-restore
run: dotnet test src/MercadoPago.Tests/MercadoPago.Tests.csproj -f net6.0 --configuration Release --no-restore
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
USER_EMAIL: ${{ secrets.USER_EMAIL }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ ClientBin/
*.publishsettings
node_modules/
orleans.codegen.cs
samples

# Microsoft Fakes
FakesAssemblies/
Expand Down
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
# Websec hook is MANDATORY, DO NOT comment it.
- repo: https://github.com/melisource/fury_websec-git-hooks
rev: v1.1.0
hooks:
- id: pre_commit_hook
stages: [commit]
- id: post_commit_hook
stages: [post-commit]

# Datasec hook is MANDATORY, DO NOT comment it.
- repo: https://github.com/melisource/fury_datasec-git-hooks
rev: 1.0.3
hooks:
- id: pre_commit_hook
stages: [commit]
verbose: true
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Releases

## VERSION 2.4.0
- Require .NET Framework 6.0 as minimum version.
- Avoid rethrowing exception that changes stack trace information.
- Add pre-commit.
- Add CHANGELOG file.
4 changes: 2 additions & 2 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ El SDK oficial de Mercado Pago.

## 💡 Requisitos

**.NET Standard 2.0+**, **.NET Core 2.0+**, y **.NET Framework 4.6.1+**.
**.NET Standard 2.1+**, **.NET Core 2.0+**, y **.NET Framework 6.0+**.

Si estás utilizando versiones anteriores del .NET Framework en tu proyecto, consulta las [versiones anteriores](https://github.com/mercadopago/sdk-dotnet/tree/master-dotnet-framework) del SDK.

Expand Down Expand Up @@ -146,7 +146,7 @@ Todas las contribuciones son bienvenidas, desde personas que deseen filtrar las

Lea y siga nuestras [pautas de contribución](CONTRIBUTING.md). Las contribuciones que no sigan estas pautas no se tendrán en cuenta. Las pautas están establecidas para hacernos la vida más fácil y hacer que la contribución sea un proceso consistente para todos.

## ❤️ Support
## ❤️ Soporte

Si necesitas asistencia técnica, póngase en contacto con nuestro equipo de asistencia en [developers.mercadopago.com](https://developers.mercadopago.com).

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The official Mercado Pago .NET SDK.

## 💡 Requirements

**.NET Standard 2.0+**, **.NET Core 2.0+**, and **.NET Framework 4.6.1+**.
**.NET Standard 2.1+**, **.NET Core 2.0+**, and **.NET Framework 6.0+**.

If you are using previous versions of .NET Framework in your project, please refer to the [older versions](https://github.com/mercadopago/sdk-dotnet/tree/master-dotnet-framework) of the SDK.

Expand Down
4 changes: 2 additions & 2 deletions README.pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ O SDK oficial do Mercado Pago.

## 💡 Requisitos

**.NET Standard 2.0+**, **.NET Core 2.0+**, e **.NET Framework 4.6.1+**.
**.NET Standard 2.1+**, **.NET Core 2.0+**, e **.NET Framework 6.0+**.

Se você estiver usando versões anteriores do .NET Framework em seu projeto, consulte as [versões mais antigas](https://github.com/mercadopago/sdk-dotnet/tree/master-dotnet-framework) do SDK.

Expand Down Expand Up @@ -146,7 +146,7 @@ Todas as contribuições são bem-vindas, desde pessoas que desejam fazer a tria

Por favor, leia e siga nossas [diretrizes de contribuição](CONTRIBUTING.md). As contribuições que não seguirem essas diretrizes serão desconsideradas. As diretrizes existem para facilitar todas as nossas vidas e tornar a contribuição um processo consistente para todos.

## ❤️ Soporte
## ❤️ Suporte

Se você necessita de suporte técnico, por favor entre em contato com nosso time de suporte em [developers.mercadopago.com](https://developers.mercadopago.com)

Expand Down
74 changes: 37 additions & 37 deletions docfx.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
{
"metadata": [
"metadata": [
{
"src": [
{
"src": [
{
"files": [ "MercadoPago/MercadoPago.csproj" ],
"exclude": [ "**/bin/**", "**/obj/**" ],
"src": "src"
}
],
"dest": "obj/sdk",
"properties": {
"TargetFramework": "netcoreapp3.1"
}
"files": ["MercadoPago/MercadoPago.csproj"],
"exclude": ["**/bin/**", "**/obj/**"],
"src": "src"
}
],
"build": {
"content": [
{
"files": [ "**/*.yml" ],
"src": "obj/sdk",
"dest": "sdk"
},
{
"files": [ "*.md", "toc.yml" ]
},
{
"files": [ "*.md" ],
"src": ".github/ISSUE_TEMPLATE"
}
],
"globalMetadata": {
"_appTitle": "MercadoPago official .NET SDK",
"_enableSearch": true
},
"template": ["statictoc"],
"markdownEngineName": "markdig",
"dest": "docs",
"xrefService": [ "https://xref.docs.microsoft.com/query?uid={uid}" ]
],
"dest": "obj/sdk",
"properties": {
"TargetFramework": "net6.0"
}
}
}
],
"build": {
"content": [
{
"files": ["**/*.yml"],
"src": "obj/sdk",
"dest": "sdk"
},
{
"files": ["*.md", "toc.yml"]
},
{
"files": ["*.md"],
"src": ".github/ISSUE_TEMPLATE"
}
],
"globalMetadata": {
"_appTitle": "MercadoPago official .NET SDK",
"_enableSearch": true
},
"template": ["statictoc"],
"markdownEngineName": "markdig",
"dest": "docs",
"xrefService": ["https://xref.docs.microsoft.com/query?uid={uid}"]
}
}
Loading
Loading