Skip to content
Draft
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
244 changes: 122 additions & 122 deletions Cargo.lock

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,45 +99,45 @@ inherits = "release"
debug = true

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

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

# 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.11.3
Licensed Work: SpacetimeDB 1.12.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-14
Change Date: 2031-01-21

Change License: GNU Affero General Public License v3.0 with a linking
exception
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.11.2</Version>
<Version>1.12.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.11.2</Version>
<Version>1.12.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.11.2</Version>
<Version>1.12.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.11.2</Version>
<Version>1.12.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.11.2",
"version": "1.12.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.11.*"
"spacetimedb": "1.12.*"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ const proceduresSchema = __procedures(
/** The remote SpacetimeDB module schema, both runtime and type information. */
const REMOTE_MODULE = {
versionInfo: {
cliVersion: "1.11.3" as const,
cliVersion: "1.12.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.11.*" />
<PackageReference Include="SpacetimeDB.Runtime" Version="1.12.*" />
</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.11.3
Licensed Work: SpacetimeDB 1.12.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-14
Change Date: 2031-01-21

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.11.2</AssemblyVersion>
<Version>1.11.2</Version>
<AssemblyVersion>1.12.0</AssemblyVersion>
<Version>1.12.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.11.*" />
<PackageReference Include="SpacetimeDB.BSATN.Runtime" Version="1.12.*" />

<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.11.*" />
<PackageReference Include="SpacetimeDB.Runtime" Version="1.12.*" />
</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.11.2",
"version": "1.12.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-c-sharp/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.11.*" />
<PackageReference Include="SpacetimeDB.Runtime" Version="1.12.*" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion templates/basic-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2021"

[dependencies]
spacetimedb-sdk = "1.11.*"
spacetimedb-sdk = "1.12.*"
2 changes: 1 addition & 1 deletion templates/basic-rust/spacetimedb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
spacetimedb = "1.11.*"
spacetimedb = "1.12.*"
log = "0.4"
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</PropertyGroup>

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

</Project>

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

14 changes: 14 additions & 0 deletions tools/upgrade-version/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,21 @@ fn main() -> anyhow::Result<()> {

process_license_file("LICENSE.txt", &full_version);
process_license_file("licenses/BSL.txt", &full_version);
println!("$> cargo check");
cmd!("cargo", "check").run().expect("Cargo check failed!");

println!("$> pnpm --dir templates/quickstart-chat-typescript generate");
cmd!("pnpm", "--dir", "templates/quickstart-chat-typescript", "generate")
.run()
.expect("pnpm generate failed!");

// This gives an error because the snapshot has been updated
println!("$> cargo test -p spacetimedb-codegen");
let _ = cmd!("cargo", "test", "-p", "spacetimedb-codegen").run();

// Let the user approve the snapshot change
println!("$> cargo insta review");
cmd!("cargo", "insta", "review").run()?;
}

if matches.get_flag("typescript") || matches.get_flag("all") {
Expand Down
Loading