Skip to content

Commit 62ccc99

Browse files
Merge branch 'main' into dimension-labels
2 parents a704a16 + 404bf86 commit 62ccc99

Some content is hidden

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

50 files changed

+1922
-57
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
},
1111
"docfx": {
12-
"version": "2.60.2",
12+
"version": "2.74.1",
1313
"commands": [
1414
"docfx"
1515
]

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ dotnet_diagnostic.S112.severity = None
4343
# Native methods should be wrapped
4444
# For some reason this warning shows even on auto-generated files.
4545
dotnet_diagnostic.S4200.severity = None
46+
47+
# S3427: Method overloads with default parameter values should not overlap
48+
# If we oblige to this rule and remove the overload without the default parameter,
49+
# the package validator will complain.
50+
dotnet_diagnostic.S3427.severity = none

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
- package-ecosystem: "nuget"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Remove existing .NET versions
1313
shell: bash
1414
run: |
1515
rm -rf $DOTNET_ROOT
1616
- name: Set up .NET SDK from global.json
17-
uses: actions/setup-dotnet@v3
17+
uses: actions/setup-dotnet@v4
1818
- name: Display .NET versions
1919
run: dotnet --info
2020
- name: Restore .NET local tools
2121
run: dotnet tool restore
2222
- name: Build docs
2323
run: dotnet tool run docfx ./docs/docfx.json
2424
- name: Upload GitHub Pages artifact
25-
uses: actions/upload-pages-artifact@v1
25+
uses: actions/upload-pages-artifact@v3
2626
with:
2727
path: docs/_site
2828

@@ -38,4 +38,4 @@ jobs:
3838
steps:
3939
- name: Deploy to GitHub Pages
4040
id: deployment
41-
uses: actions/deploy-pages@v1
41+
uses: actions/deploy-pages@v4

.github/workflows/generate-bindings.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
runs-on: windows-latest
2020
steps:
2121
# Checks out repository
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323

2424
- name: Remove existing .NET versions
2525
shell: bash
2626
run: |
2727
rm -rf $DOTNET_ROOT
2828
2929
- name: Set up .NET SDK from global.json
30-
uses: actions/setup-dotnet@v3
30+
uses: actions/setup-dotnet@v4
3131

3232
- name: Display .NET versions
3333
run: dotnet --info
@@ -36,7 +36,7 @@ jobs:
3636
run: dotnet msbuild ./scripts/generate-bindings/GenerateBindings.proj -p:Version=${{ inputs.version }} -p:VersionTag=${{ inputs.commit_id }} /restore
3737

3838
- name: Create Pull Request
39-
uses: peter-evans/create-pull-request@v4
39+
uses: peter-evans/create-pull-request@v5
4040
with:
4141
branch: bindings-update/${{ inputs.version }}
4242
draft: true

.github/workflows/nightly.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ jobs:
2020
matrix:
2121
os: [ubuntu-latest, macos-latest, windows-latest]
2222
include:
23-
- BOOTSTRAP: ../bootstrap --enable-s3 --enable-serialization --force-build-all-deps --enable-vcpkg
23+
- BOOTSTRAP: ../bootstrap --enable-s3 --enable-serialization --disable-avx2 --enable-vcpkg
2424
- os: ubuntu-latest
2525
platform: linux-x86_64
2626
- os: macos-latest
2727
platform: macos-x86_64
2828
- os: windows-latest
2929
platform: windows-x86_64
30-
BOOTSTRAP: ../bootstrap.ps1 -EnableS3 -EnableSerialization -EnableBuildDeps -EnableVcpkg
30+
BOOTSTRAP: ../bootstrap.ps1 -EnableS3 -EnableSerialization -EnableVcpkg
3131
- tag: dev
32-
tag: [release-2.17, dev]
32+
tag: [release-2.18, dev]
3333
runs-on: ${{ matrix.os }}
3434
steps:
3535
- name: Checkout TileDB
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737
with:
3838
repository: TileDB-Inc/TileDB
3939
ref: ${{ matrix.tag }}
4040
- name: Export GitHub Actions cache variables
41-
uses: actions/github-script@v6
41+
uses: actions/github-script@v7
4242
with:
4343
script: |
4444
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
@@ -67,19 +67,19 @@ jobs:
6767
strategy:
6868
fail-fast: false
6969
matrix:
70-
tag: [release-2.17, dev]
70+
tag: [release-2.18, dev]
7171
runs-on: ubuntu-latest
7272
steps:
7373
- name: Checkout TileDB-CSharp
74-
uses: actions/checkout@v3
74+
uses: actions/checkout@v4
7575

7676
# GitHub runners come with several versions of .NET preinstalled; Remove them to target version
7777
- name: Remove existing .NET versions
7878
shell: bash
7979
run: rm -rf $DOTNET_ROOT
8080

8181
- name: Set up .NET SDK from global.json
82-
uses: actions/setup-dotnet@v3
82+
uses: actions/setup-dotnet@v4
8383

8484
- name: Display dotnet versions
8585
run: dotnet --info
@@ -107,19 +107,19 @@ jobs:
107107
fail-fast: false
108108
matrix:
109109
os: [ubuntu-latest, macos-latest, windows-latest]
110-
tag: [release-2.17, dev]
110+
tag: [release-2.18, dev]
111111
runs-on: ${{ matrix.os }}
112112
steps:
113113
- name: Checkout TileDB-CSharp
114-
uses: actions/checkout@v3
114+
uses: actions/checkout@v4
115115

116116
# GitHub runners come with several versions of .NET preinstalled; Remove them to target version
117117
- name: Remove existing .NET versions
118118
shell: bash
119119
run: rm -rf $DOTNET_ROOT
120120

121121
- name: Set up .NET SDK from global.json
122-
uses: actions/setup-dotnet@v3
122+
uses: actions/setup-dotnet@v4
123123

124124
- name: Display dotnet versions
125125
run: dotnet --info
@@ -150,7 +150,7 @@ jobs:
150150
runs-on: ubuntu-latest
151151
steps:
152152
- name: Checkout TileDB-CSharp
153-
uses: actions/checkout@v3
153+
uses: actions/checkout@v4
154154

155155
- name: Create issue for failed build
156156
uses: JasonEtco/create-an-issue@v2

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212
needs: Run-Tests
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Remove existing .NET versions
1616
shell: bash
1717
run: |
1818
rm -rf $DOTNET_ROOT
1919
- name: Set up .NET SDK from global.json
20-
uses: actions/setup-dotnet@v3
20+
uses: actions/setup-dotnet@v4
2121
- name: Display .NET versions
2222
run: dotnet --info
2323
- name: Pack TileDB.CSharp

.github/workflows/tiledb-csharp.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
# Checks out repository
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717

1818
- name: Remove existing .NET versions
1919
shell: bash
2020
run: |
2121
rm -rf $DOTNET_ROOT
2222
2323
- name: Set up .NET SDK from global.json
24-
uses: actions/setup-dotnet@v3
24+
uses: actions/setup-dotnet@v4
2525

2626
- name: Display .NET versions
2727
run: dotnet --info
@@ -40,15 +40,15 @@ jobs:
4040
runs-on: ${{ matrix.os }}
4141
steps:
4242
# Checks out repository
43-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4444

4545
- name: Remove existing .NET versions
4646
shell: bash
4747
run: |
4848
rm -rf $DOTNET_ROOT
4949
5050
- name: Set up .NET SDK from global.json
51-
uses: actions/setup-dotnet@v3
51+
uses: actions/setup-dotnet@v4
5252

5353
- name: Display .NET versions
5454
run: dotnet --info

Directory.Packages.props

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
<TileDBNativePackageName>TileDB.Native</TileDBNativePackageName>
5-
<TileDBNativePackageVersion>[2.17.0,2.18.0)</TileDBNativePackageVersion>
5+
<TileDBNativePackageVersion>[2.18.0,2.19.0)</TileDBNativePackageVersion>
66

77
<!-- The DevelopmentBuild property switches to the locally built native packages.
88
They have a different name to avoid publishing them by mistake, and to
@@ -25,12 +25,12 @@
2525
</PropertyGroup>
2626
<ItemGroup>
2727
<PackageVersion Include="$(TileDBNativePackageName)" Version="$(TileDBNativePackageVersion)" />
28-
<PackageVersion Include="GitHubActionsTestLogger" Version="2.3.2" />
29-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
30-
<PackageVersion Include="MSTest.TestAdapter" Version="3.0.4" />
31-
<PackageVersion Include="MSTest.TestFramework" Version="3.0.4" />
28+
<PackageVersion Include="GitHubActionsTestLogger" Version="2.3.3" />
29+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
30+
<PackageVersion Include="MSTest.TestAdapter" Version="3.1.1" />
31+
<PackageVersion Include="MSTest.TestFramework" Version="3.1.1" />
3232
<PackageVersion Include="coverlet.collector" Version="6.0.0" PrivateAssets="all" />
33-
<GlobalPackageReference Include="SonarAnalyzer.CSharp" Version="9.3.0.71466" />
33+
<GlobalPackageReference Include="SonarAnalyzer.CSharp" Version="9.16.0.82469" />
3434
<GlobalPackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1" />
3535
</ItemGroup>
3636
</Project>

docs/obsoletions.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Following [the deprecation policy of TileDB Embedded][core-deprecation], obsolet
88
|----------------|---------------------|------------------|
99
|[`TILEDB0001`](#TILEDB0001)[`TILEDB0011`](#TILEDB0011)|5.3.0|5.5.0|
1010
|[`TILEDB0012`](#TILEDB0012)[`TILEDB0013`](#TILEDB0013)|5.7.0|5.9.0|
11+
|[`TILEDB0012`](#TILEDB0014)[`TILEDB0013`](#TILEDB0014)|5.8.0|5.10.0|
1112

1213
## `TILEDB0001` - Enum value names that start with `TILEDB_` were replaced with C#-friendly names.
1314

@@ -319,8 +320,6 @@ The obsoleted APIs fall into the following categories:
319320
- The types that derive from `SafeHandle` are used to safely manage the lifetime of native TileDB objects. With the APIs in the `TileDB.CSharp` namespace providing broad coverage of TileDB's functionalities while also being safer and easier to sue, these types provide limited utility. You should use the APIs in the `TileDB.CSharp` namespace instead.
320321
- Types with the name `tiledb_***_t` were made public again only to support the APIs of the safe handles above. They have little other use on their own. You should use APIs in the `TileDB.CSharp` namespace instead.
321322

322-
[core-deprecation]: https://github.com/TileDB-Inc/TileDB/blob/dev/doc/policy/api_changes.md
323-
324323
## `TILEDB0013` - The `EnumUtils.TypeToDataType` and `EnumUtils.DataTypeToType` methods are obsolete and will be removed in a future version.
325324

326325
<a name="TILEDB0013"></a>
@@ -334,3 +333,19 @@ The `EnumUtils.TypeToDataType` and `EnumUtils.DataTypeToType` methods convert be
334333
### Recommended action
335334

336335
If you are performing queries on arrays of unknown schema, you can use the `Query.UnsafeSetDataBuffer` and `Query.UnsafeSetWriteDataBuffer` methods to set a data buffer to a query without type validation.
336+
337+
## `TILEDB0014` - Members of the `TileDB.Interop` namespace will become internal in a future version and should not be used by user code.
338+
339+
<a name="TILEDB0014"></a>
340+
341+
Some APIs in the `TileDB.Interop` namespace that were inadvertently removed in version 5.3.0 were reintroduced in version 5.7.0. They are marked as obsolete in version 5.8.0 and hidden from IntelliSense and will be removed from the public API for good in version 5.10.0. They were also reintroduced in patch releases 5.3.1 and 5.4.1, obsoleted under the [`TILEDB0003`](#TILEDB0003) code.
342+
343+
### Version introduced
344+
345+
5.8.0
346+
347+
### Recommended action
348+
349+
Stop using the obsoleted APIs. No other public API of `TileDB.CSharp` depends on them.
350+
351+
[core-deprecation]: https://github.com/TileDB-Inc/TileDB/blob/dev/doc/policy/api_changes.md

0 commit comments

Comments
 (0)