Skip to content

Commit 222d7cd

Browse files
chore: prepare 1.0.0-rc.1
1 parent a689063 commit 222d7cd

9 files changed

Lines changed: 453 additions & 20 deletions

File tree

CHANGELOG.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,29 @@
22

33
## Unreleased
44

5-
- Stabilizes the public API contract for the 1.0 candidate without adding new
6-
public APIs.
7-
- Resets scalar `SqlParameter` metadata that is not declared by the current
8-
`TypedSqlParameter` when reusing an existing provider parameter.
5+
## 1.0.0-rc.1
6+
7+
- Prepares the first release candidate for the frozen 1.0 public API contract.
8+
- Keeps the RC feature-complete without adding new public APIs after the freeze.
9+
- Supports explicit SQL Server scalar parameters for strings, numeric values,
10+
binary values, identifiers, and temporal values.
11+
- Supports scalar output and input/output parameters through `AsOutput()`,
12+
`AsInputOutput()`, `OutputValue`, and `GetValue<T>()`.
13+
- Supports table-valued parameters through `SqlParam.TableValued(...)` with
14+
explicit `TypeName` and caller-provided `DataTable`.
15+
- Provides equivalent package assets and public API for `net8.0` and `net10.0`.
16+
- Keeps package identity `TypedParameters.Dapper.SqlServer` separate from
17+
assembly and namespace identity `Dapper.TypedParameters.SqlServer`.
18+
- Maintains package quality checks for contents, symbols, SourceLink, public
19+
API baselines, SDK package validation, local package consumption, public
20+
preview consumption, and vulnerability auditing.
21+
- Uses `0.1.0-preview.1` as the SDK package validation baseline for binary and
22+
public API compatibility.
23+
- Stabilizes scalar provider-parameter reuse before the RC by resetting
24+
undeclared `Size`, `Precision`, and `Scale` metadata to provider defaults
25+
when reusing an existing `SqlParameter`.
26+
27+
This is a release candidate and is not the stable `1.0.0` release.
928

1029
## 0.1.0-preview.1
1130

@@ -17,13 +36,17 @@
1736
- Adiciona versoes em portugues brasileiro para os guias e exemplos linkados
1837
pelo README.
1938
- Adiciona parametros SQL Server numericos e booleanos explicitos para Dapper.
20-
- Inclui `bit`, `tinyint`, `smallint`, `int`, `bigint`, `real`, `float`, `decimal`, `money` e `smallmoney`.
39+
- Inclui `bit`, `tinyint`, `smallint`, `int`, `bigint`, `real`, `float`,
40+
`decimal`, `money` e `smallmoney`.
2141
- Configura `Precision` e `Scale` declarados para `decimal`.
22-
- Adiciona parametros `uniqueidentifier`, `binary`, `varbinary` e `varbinary(max)`.
23-
- Preserva arrays binarios vazios e converte somente `null` para `DBNull.Value`.
42+
- Adiciona parametros `uniqueidentifier`, `binary`, `varbinary` e
43+
`varbinary(max)`.
44+
- Preserva arrays binarios vazios e converte somente `null` para
45+
`DBNull.Value`.
2446
- Adiciona parametros SQL Server temporais para `date`, `time`, `datetime`,
2547
`smalldatetime`, `datetime2` e `datetimeoffset`.
26-
- Adiciona suporte fluente a `Output` e `InputOutput` para parametros escalares.
48+
- Adiciona suporte fluente a `Output` e `InputOutput` para parametros
49+
escalares.
2750
- Adiciona leitura de outputs por `OutputValue` e `GetValue<T>()`.
2851
- Normaliza output `DBNull.Value` para `null` e rejeita casts incompativeis sem
2952
conversao silenciosa.

README.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,32 @@ parameters for Dapper using `Microsoft.Data.SqlClient`. It helps callers declare
77
the SQL Server parameter metadata sent to the provider, such as type, size,
88
precision, scale, direction, and table-valued parameter type name.
99

10+
## Release status
11+
12+
Current stable:
13+
14+
```text
15+
None yet
16+
```
17+
18+
Current release candidate:
19+
20+
```text
21+
None published yet
22+
```
23+
24+
Upcoming release candidate:
25+
26+
```text
27+
1.0.0-rc.1
28+
```
29+
30+
Current public preview:
31+
32+
```text
33+
0.1.0-preview.1
34+
```
35+
1036
## Why?
1137

1238
Dapper makes parameter passing convenient:
@@ -107,17 +133,23 @@ explicit correspondence with the schema, not preference for a specific SQL type.
107133

108134
## Installation
109135

110-
Install from NuGet.org after the package is published:
136+
Install the current public preview from NuGet.org:
111137

112138
```bash
113139
dotnet add package TypedParameters.Dapper.SqlServer --version 0.1.0-preview.1
114140
```
115141

142+
After the release workflow publishes the upcoming RC, install it with:
143+
144+
```bash
145+
dotnet add package TypedParameters.Dapper.SqlServer --version 1.0.0-rc.1
146+
```
147+
116148
To test an unreleased local build from this repository:
117149

118150
```bash
119151
dotnet pack src/Dapper.TypedParameters.SqlServer/Dapper.TypedParameters.SqlServer.csproj --configuration Release --output ./artifacts/packages
120-
dotnet add package TypedParameters.Dapper.SqlServer --version 0.1.0-preview.1 --source ./artifacts/packages
152+
dotnet add package TypedParameters.Dapper.SqlServer --version 1.0.0-rc.1 --source ./artifacts/packages
121153
```
122154

123155
NuGet package ID:

README.pt-BR.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,32 @@ tipados para Dapper usando `Microsoft.Data.SqlClient`. A biblioteca ajuda o
77
chamador a declarar os metadados do parâmetro enviados ao provider, como tipo,
88
tamanho, precisão, escala, direção e nome de tipo para table-valued parameters.
99

10+
## Status de release
11+
12+
Stable atual:
13+
14+
```text
15+
Nenhum ainda
16+
```
17+
18+
Release candidate atual:
19+
20+
```text
21+
Nenhum publicado ainda
22+
```
23+
24+
Proximo release candidate:
25+
26+
```text
27+
1.0.0-rc.1
28+
```
29+
30+
Preview publico atual:
31+
32+
```text
33+
0.1.0-preview.1
34+
```
35+
1036
## Por quê?
1137

1238
Dapper torna o envio de parâmetros conveniente:
@@ -108,17 +134,23 @@ específico.
108134

109135
## Instalação
110136

111-
Instale pelo NuGet.org depois que o pacote for publicado:
137+
Instale o preview publico atual pelo NuGet.org:
112138

113139
```bash
114140
dotnet add package TypedParameters.Dapper.SqlServer --version 0.1.0-preview.1
115141
```
116142

143+
Depois que o workflow de release publicar o proximo RC, instale com:
144+
145+
```bash
146+
dotnet add package TypedParameters.Dapper.SqlServer --version 1.0.0-rc.1
147+
```
148+
117149
Para testar uma build local ainda não publicada a partir deste repositório:
118150

119151
```bash
120152
dotnet pack src/Dapper.TypedParameters.SqlServer/Dapper.TypedParameters.SqlServer.csproj --configuration Release --output ./artifacts/packages
121-
dotnet add package TypedParameters.Dapper.SqlServer --version 0.1.0-preview.1 --source ./artifacts/packages
153+
dotnet add package TypedParameters.Dapper.SqlServer --version 1.0.0-rc.1 --source ./artifacts/packages
122154
```
123155

124156
Package ID NuGet:

docs/sdd/stable-1.0/DECISIONS.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,16 @@
2323
rules.
2424
12. Scalar provider-parameter reuse: declared scalar metadata is applied and
2525
undeclared scalar metadata is reset to provider default `0`.
26+
13. First release candidate version: `1.0.0-rc.1`.
27+
14. SDK package validation baseline: `0.1.0-preview.1` is used as the hard
28+
binary and public API compatibility baseline for the RC. The behavioral
29+
scalar metadata reset from Prompt 018 is documented as an intentional
30+
pre-1.0 stabilization adjustment, not hidden by a suppression.
2631

2732
## Pending
2833

29-
- RC release rehearsal for Prompt 019.
34+
- External RC release, including merge, tag, rehearsal, publication, and public
35+
consumption validation.
3036
- Stable release readiness for Prompt 020.
3137

3238
## Public API Freeze

docs/sdd/stable-1.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ memoria de conversas anteriores:
1515

1616
1. `017-public-nuget-consumption`
1717
2. `018-public-api-freeze`
18-
3. `019-rc-release-rehearsal`
19-
4. `020-stable-release-readiness`
18+
3. `019-rc1-preparation`
19+
4. `020-stable-preparation`
2020

2121
Os Prompts 17, 18 e 19 usam a branch:
2222

docs/sdd/stable-1.0/STATUS.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
Last completed prompt: 018
1+
Last completed prompt: 019
2+
3+
Current prompt: None
24

35
Current status: Completed
46

@@ -11,11 +13,20 @@ APPROVED
1113
Feature freeze:
1214
Active
1315

16+
RC readiness:
17+
READY FOR 1.0.0-RC.1
18+
19+
RC version:
20+
1.0.0-rc.1
21+
1422
Last expected commit:
15-
refactor: stabilize public API for 1.0
23+
chore: prepare 1.0.0-rc.1
24+
25+
Next action:
26+
Human review, merge, tag, rehearsal and RC publication
1627

1728
Next prompt:
18-
019-rc1-preparation
29+
020-stable-preparation
1930

2031
Preview public consumption:
2132
Passed

0 commit comments

Comments
 (0)