Skip to content

Commit 5a3ff6e

Browse files
committed
Prepare 0.4.3 release
1 parent 7d47427 commit 5a3ff6e

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ inherits = "release"
2828
inherits = "wasm"
2929

3030
[workspace.package]
31-
version = "0.4.2"
32-
edition = "2021"
31+
version = "0.4.3"
32+
edition = "2024"
3333
authors = ["JourneyApps"]
3434
keywords = ["sqlite", "powersync"]
3535
license = "Apache-2.0"

android/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ plugins {
1313
}
1414

1515
group = "com.powersync"
16-
version = "0.4.2"
16+
version = "0.4.3"
1717
description = "PowerSync Core SQLite Extension"
1818

1919
val localRepo = uri("build/repository/")

android/src/prefab/prefab.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"name": "powersync_sqlite_core",
33
"schema_version": 2,
44
"dependencies": [],
5-
"version": "0.4.2"
5+
"version": "0.4.3"
66
}

crates/core/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ mod view_admin;
4040
mod views;
4141
mod vtab_util;
4242

43-
#[no_mangle]
43+
#[unsafe(no_mangle)]
4444
pub extern "C" fn sqlite3_powersync_init(
4545
db: *mut sqlite::sqlite3,
4646
err_msg: *mut *mut c_char,
@@ -87,7 +87,7 @@ fn init_extension(db: *mut sqlite::sqlite3) -> Result<(), PowerSyncError> {
8787
Ok(())
8888
}
8989

90-
extern "C" {
90+
unsafe extern "C" {
9191
#[cfg(feature = "static")]
9292
#[allow(non_snake_case)]
9393
pub fn sqlite3_auto_extension(

crates/core/src/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl DatabaseState {
4040
}
4141

4242
pub unsafe extern "C" fn destroy_arc(ptr: *mut c_void) {
43-
drop(Arc::from_raw(ptr.cast::<DatabaseState>()));
43+
drop(unsafe { Arc::from_raw(ptr.cast::<DatabaseState>()) });
4444
}
4545
}
4646

crates/core/src/sync/interface.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ pub fn register(db: *mut sqlite::sqlite3, state: Arc<DatabaseState>) -> Result<(
196196
}
197197

198198
unsafe extern "C" fn destroy(ptr: *mut c_void) {
199-
drop(Box::from_raw(ptr.cast::<SqlController>()));
199+
drop(unsafe { Box::from_raw(ptr.cast::<SqlController>()) });
200200
}
201201

202202
let controller = Box::new(SqlController {

powersync-sqlite-core.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'powersync-sqlite-core'
3-
s.version = '0.4.2'
3+
s.version = '0.4.3'
44
s.summary = 'PowerSync SQLite Extension'
55
s.description = <<-DESC
66
PowerSync extension for SQLite.

tool/build_xcframework.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ TARGETS=(
2525
aarch64-apple-tvos-sim
2626
x86_64-apple-tvos
2727
)
28-
VERSION=0.4.2
28+
VERSION=0.4.3
2929

3030
function generatePlist() {
3131
min_os_version=0

0 commit comments

Comments
 (0)