Skip to content
Open
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
252 changes: 126 additions & 126 deletions Cargo.lock

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,46 +103,46 @@ inherits = "release"
debug = true

[workspace.package]
version = "1.12.0"
version = "2.0.0"
edition = "2021"
# update rust-toolchain.toml too!
rust-version = "1.93.0"

[workspace.dependencies]
spacetimedb = { path = "crates/bindings", version = "=1.12.0" }
spacetimedb-auth = { path = "crates/auth", version = "=1.12.0" }
spacetimedb-bindings-macro = { path = "crates/bindings-macro", version = "=1.12.0" }
spacetimedb-bindings-sys = { path = "crates/bindings-sys", version = "=1.12.0" }
spacetimedb-cli = { path = "crates/cli", version = "=1.12.0" }
spacetimedb-client-api = { path = "crates/client-api", version = "=1.12.0" }
spacetimedb-client-api-messages = { path = "crates/client-api-messages", version = "=1.12.0" }
spacetimedb-codegen = { path = "crates/codegen", version = "=1.12.0" }
spacetimedb-commitlog = { path = "crates/commitlog", version = "=1.12.0" }
spacetimedb-core = { path = "crates/core", version = "=1.12.0" }
spacetimedb-data-structures = { path = "crates/data-structures", version = "=1.12.0" }
spacetimedb-datastore = { path = "crates/datastore", version = "=1.12.0" }
spacetimedb-durability = { path = "crates/durability", version = "=1.12.0" }
spacetimedb-execution = { path = "crates/execution", version = "=1.12.0" }
spacetimedb-expr = { path = "crates/expr", version = "=1.12.0" }
spacetimedb-guard = { path = "crates/guard", version = "=1.12.0" }
spacetimedb-lib = { path = "crates/lib", default-features = false, version = "=1.12.0" }
spacetimedb-memory-usage = { path = "crates/memory-usage", version = "=1.12.0", default-features = false }
spacetimedb-metrics = { path = "crates/metrics", version = "=1.12.0" }
spacetimedb-paths = { path = "crates/paths", version = "=1.12.0" }
spacetimedb-pg = { path = "crates/pg", version = "=1.12.0" }
spacetimedb-physical-plan = { path = "crates/physical-plan", version = "=1.12.0" }
spacetimedb-primitives = { path = "crates/primitives", version = "=1.12.0" }
spacetimedb-query = { path = "crates/query", version = "=1.12.0" }
spacetimedb-sats = { path = "crates/sats", version = "=1.12.0" }
spacetimedb-schema = { path = "crates/schema", version = "=1.12.0" }
spacetimedb-standalone = { path = "crates/standalone", version = "=1.12.0" }
spacetimedb-sql-parser = { path = "crates/sql-parser", version = "=1.12.0" }
spacetimedb-table = { path = "crates/table", version = "=1.12.0" }
spacetimedb-vm = { path = "crates/vm", version = "=1.12.0" }
spacetimedb-fs-utils = { path = "crates/fs-utils", version = "=1.12.0" }
spacetimedb-snapshot = { path = "crates/snapshot", version = "=1.12.0" }
spacetimedb-subscription = { path = "crates/subscription", version = "=1.12.0" }
spacetimedb-query-builder = { path = "crates/query-builder", version = "=1.12.0" }
spacetimedb = { path = "crates/bindings", version = "=2.0.0" }
spacetimedb-auth = { path = "crates/auth", version = "=2.0.0" }
spacetimedb-bindings-macro = { path = "crates/bindings-macro", version = "=2.0.0" }
spacetimedb-bindings-sys = { path = "crates/bindings-sys", version = "=2.0.0" }
spacetimedb-cli = { path = "crates/cli", version = "=2.0.0" }
spacetimedb-client-api = { path = "crates/client-api", version = "=2.0.0" }
spacetimedb-client-api-messages = { path = "crates/client-api-messages", version = "=2.0.0" }
spacetimedb-codegen = { path = "crates/codegen", version = "=2.0.0" }
spacetimedb-commitlog = { path = "crates/commitlog", version = "=2.0.0" }
spacetimedb-core = { path = "crates/core", version = "=2.0.0" }
spacetimedb-data-structures = { path = "crates/data-structures", version = "=2.0.0" }
spacetimedb-datastore = { path = "crates/datastore", version = "=2.0.0" }
spacetimedb-durability = { path = "crates/durability", version = "=2.0.0" }
spacetimedb-execution = { path = "crates/execution", version = "=2.0.0" }
spacetimedb-expr = { path = "crates/expr", version = "=2.0.0" }
spacetimedb-guard = { path = "crates/guard", version = "=2.0.0" }
spacetimedb-lib = { path = "crates/lib", default-features = false, version = "=2.0.0" }
spacetimedb-memory-usage = { path = "crates/memory-usage", version = "=2.0.0", default-features = false }
spacetimedb-metrics = { path = "crates/metrics", version = "=2.0.0" }
spacetimedb-paths = { path = "crates/paths", version = "=2.0.0" }
spacetimedb-pg = { path = "crates/pg", version = "=2.0.0" }
spacetimedb-physical-plan = { path = "crates/physical-plan", version = "=2.0.0" }
spacetimedb-primitives = { path = "crates/primitives", version = "=2.0.0" }
spacetimedb-query = { path = "crates/query", version = "=2.0.0" }
spacetimedb-sats = { path = "crates/sats", version = "=2.0.0" }
spacetimedb-schema = { path = "crates/schema", version = "=2.0.0" }
spacetimedb-standalone = { path = "crates/standalone", version = "=2.0.0" }
spacetimedb-sql-parser = { path = "crates/sql-parser", version = "=2.0.0" }
spacetimedb-table = { path = "crates/table", version = "=2.0.0" }
spacetimedb-vm = { path = "crates/vm", version = "=2.0.0" }
spacetimedb-fs-utils = { path = "crates/fs-utils", version = "=2.0.0" }
spacetimedb-snapshot = { path = "crates/snapshot", version = "=2.0.0" }
spacetimedb-subscription = { path = "crates/subscription", version = "=2.0.0" }
spacetimedb-query-builder = { path = "crates/query-builder", version = "=2.0.0" }

# Prevent `ahash` from pulling in `getrandom` by disabling default features.
# Modules use `getrandom02` and we need to prevent an incompatible version
Expand Down
4 changes: 2 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Business Source License 1.1
Parameters

Licensor: Clockwork Laboratories, Inc.
Licensed Work: SpacetimeDB 1.12.0
Licensed Work: SpacetimeDB 2.0.0
The Licensed Work is
(c) 2023 Clockwork Laboratories, Inc.

Expand All @@ -21,7 +21,7 @@ Additional Use Grant: You may make use of the Licensed Work provided your
Licensed Work by creating tables whose schemas are
controlled by such third parties.

Change Date: 2031-01-24
Change Date: 2031-02-10

Change License: GNU Affero General Public License v3.0 with a linking
exception
Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

cmake_minimum_required(VERSION 3.15)
project(SpacetimeDBCppModuleLibrary
VERSION 1.12.0
VERSION 2.0.0
LANGUAGES CXX)

# Generate version header from template
Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-csharp/BSATN.Codegen/BSATN.Codegen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<AssemblyName>SpacetimeDB.BSATN.Codegen</AssemblyName>
<Version>1.12.0</Version>
<Version>2.0.0</Version>
<Title>SpacetimeDB BSATN Codegen</Title>
<Description>The SpacetimeDB BSATN Codegen implements the Roslyn incremental generators for BSATN serialization/deserialization in C#.</Description>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-csharp/BSATN.Runtime/BSATN.Runtime.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>SpacetimeDB.BSATN.Runtime</AssemblyName>
<Version>1.12.0</Version>
<Version>2.0.0</Version>
<Title>SpacetimeDB BSATN Runtime</Title>
<Description>The SpacetimeDB BSATN Runtime implements APIs for BSATN serialization/deserialization in C#.</Description>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-csharp/Codegen/Codegen.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>SpacetimeDB.Codegen</AssemblyName>
<Version>1.12.0</Version>
<Version>2.0.0</Version>
<Title>SpacetimeDB Module Codegen</Title>
<Description>The SpacetimeDB Codegen implements the Roslyn incremental generators for writing SpacetimeDB modules in C#.</Description>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-csharp/Runtime/Runtime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<AssemblyName>SpacetimeDB.Runtime</AssemblyName>
<Version>1.12.0</Version>
<Version>2.0.0</Version>
<Title>SpacetimeDB Module Runtime</Title>
<Description>The SpacetimeDB Runtime implements the database runtime bindings for writing SpacetimeDB modules in C#.</Description>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spacetimedb",
"version": "1.12.0",
"version": "2.0.0",
"description": "API and ABI bindings for the SpacetimeDB TypeScript module library",
"homepage": "https://github.com/clockworklabs/SpacetimeDB#readme",
"bugs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"spacetimedb": "1.12.*"
"spacetimedb": "2.0.*"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ const proceduresSchema = __procedures(
/** The remote SpacetimeDB module schema, both runtime and type information. */
const REMOTE_MODULE = {
versionInfo: {
cliVersion: "1.12.0" as const,
cliVersion: "2.0.0" as const,
},
tables: tablesSchema.schemaType.tables,
reducers: reducersSchema.reducersType.reducers,
Expand Down
2 changes: 1 addition & 1 deletion demo/Blackholio/server-csharp/StdbModule.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SpacetimeDB.Runtime" Version="1.12.*" />
<PackageReference Include="SpacetimeDB.Runtime" Version="2.0.*" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions licenses/BSL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Business Source License 1.1
Parameters

Licensor: Clockwork Laboratories, Inc.
Licensed Work: SpacetimeDB 1.12.0
Licensed Work: SpacetimeDB 2.0.0
The Licensed Work is
(c) 2023 Clockwork Laboratories, Inc.

Expand All @@ -21,7 +21,7 @@ Additional Use Grant: You may make use of the Licensed Work provided your
Licensed Work by creating tables whose schemas are
controlled by such third parties.

Change Date: 2031-01-24
Change Date: 2031-02-10

Change License: GNU Affero General Public License v3.0 with a linking
exception
Expand Down
6 changes: 3 additions & 3 deletions sdks/csharp/SpacetimeDB.ClientSDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
<PackageIcon>logo.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk</RepositoryUrl>
<AssemblyVersion>1.12.0</AssemblyVersion>
<Version>1.12.0</Version>
<AssemblyVersion>2.0.0</AssemblyVersion>
<Version>2.0.0</Version>
<DefaultItemExcludes>$(DefaultItemExcludes);*~/**</DefaultItemExcludes>
<!-- We want to save DLLs for Unity which doesn't support NuGet. -->
<RestorePackagesPath>packages</RestorePackagesPath>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SpacetimeDB.BSATN.Runtime" Version="1.12.*" />
<PackageReference Include="SpacetimeDB.BSATN.Runtime" Version="2.0.*" />

<InternalsVisibleTo Include="SpacetimeDB.Tests" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SpacetimeDB.Runtime" Version="1.12.*" />
<PackageReference Include="SpacetimeDB.Runtime" Version="2.0.*" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion sdks/csharp/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.clockworklabs.spacetimedbsdk",
"displayName": "SpacetimeDB SDK",
"version": "1.12.0",
"version": "2.0.0",
"description": "The SpacetimeDB Client SDK is a software development kit (SDK) designed to interact with and manipulate SpacetimeDB modules..",
"keywords": [],
"author": {
Expand Down
2 changes: 1 addition & 1 deletion templates/basic-cpp/spacetimedb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ project(spacetime_cpp_module LANGUAGES C CXX)
# The directory should contain the bindings' CMakeLists.txt at its root.
# ------------------------------------------------------------------------------

set(SPACETIMEDB_CPP_VERSION "1.12.0" CACHE STRING "Version selector: MAJOR.MINOR (uses release/MAJOR.MINOR) or MAJOR.MINOR.PATCH (uses tag vMAJOR.MINOR.PATCH)")
set(SPACETIMEDB_CPP_VERSION "2.0.0" CACHE STRING "Version selector: MAJOR.MINOR (uses release/MAJOR.MINOR) or MAJOR.MINOR.PATCH (uses tag vMAJOR.MINOR.PATCH)")
set(SPACETIMEDB_CPP_REF "" CACHE STRING "Override Git ref directly (e.g. release/1.0, release/latest, v1.0.0)")
set(SPACETIMEDB_CPP_DIR "" CACHE PATH "Path to a local clone of SpacetimeDB C++ bindings (overrides FetchContent)")

Expand Down
2 changes: 1 addition & 1 deletion templates/basic-cs/spacetimedb/StdbModule.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SpacetimeDB.Runtime" Version="1.12.*" />
<PackageReference Include="SpacetimeDB.Runtime" Version="2.0.*" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion templates/chat-console-cs/spacetimedb/StdbModule.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SpacetimeDB.Runtime" Version="1.12.*" />
<PackageReference Include="SpacetimeDB.Runtime" Version="2.0.*" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions templates/chat-react-ts/src/module_bindings/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading