Skip to content

Commit 15fabb3

Browse files
committed
Add more deprecation fixes.
1 parent 3d899b0 commit 15fabb3

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

lib/fix_data.yaml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ transforms:
55
- title: 'Rename writeLock to lock'
66
date: 2024-04-02
77
element:
8-
uris: ['src/sqlite_connection.dart']
8+
uris: ['src/sqlite_connection.dart', 'sqlite_async.dart']
99
method: 'writeLock'
1010
inClass: 'SqliteConnection'
1111
changes:
@@ -14,7 +14,7 @@ transforms:
1414
- title: 'Rename writeTransaction to transaction'
1515
date: 2024-04-02
1616
element:
17-
uris: ['src/sqlite_connection.dart']
17+
uris: ['src/sqlite_connection.dart', 'sqlite_async.dart']
1818
method: 'writeTransaction'
1919
inClass: 'SqliteConnection'
2020
changes:
@@ -23,7 +23,7 @@ transforms:
2323
- title: 'Rename writeLock to lock'
2424
date: 2024-04-02
2525
element:
26-
uris: ['src/sqlite_database.dart']
26+
uris: ['src/sqlite_database.dart', 'sqlite_async.dart']
2727
method: 'writeLock'
2828
inClass: 'SqliteDatabase'
2929
changes:
@@ -32,7 +32,7 @@ transforms:
3232
- title: 'Rename writeTransaction to transaction'
3333
date: 2024-04-02
3434
element:
35-
uris: ['src/sqlite_database.dart']
35+
uris: ['src/sqlite_database.dart', 'sqlite_async.dart']
3636
method: 'writeTransaction'
3737
inClass: 'SqliteDatabase'
3838
changes:
@@ -41,7 +41,7 @@ transforms:
4141
- title: 'Rename readTransaction to transaction'
4242
date: 2024-04-02
4343
element:
44-
uris: ['src/sqlite_database.dart']
44+
uris: ['src/sqlite_database.dart', 'sqlite_async.dart']
4545
method: 'readTransaction'
4646
inClass: 'SqliteDatabase'
4747
changes:
@@ -53,3 +53,18 @@ transforms:
5353
expression: 'true'
5454
- kind: 'rename'
5555
newName: 'transaction'
56+
- title: 'Rename readLock to lock'
57+
date: 2024-04-02
58+
element:
59+
uris: ['src/sqlite_database.dart', 'sqlite_async.dart']
60+
method: 'readLock'
61+
inClass: 'SqliteDatabase'
62+
changes:
63+
- kind: 'addParameter'
64+
index: 1
65+
name: 'readOnly'
66+
style: required_named
67+
argumentValue:
68+
expression: 'true'
69+
- kind: 'rename'
70+
newName: 'lock'

0 commit comments

Comments
 (0)