Simon Willison
b92ea4793c
Fixed spelling of wrappping
2023-11-03 17:31:49 -07:00
Mike Coats
4b3c83cd9f
Add spatialite arm64 linux path
...
Issue: #599
2023-11-03 17:31:49 -07:00
Simon Willison
622c3a5a7d
Fixed Markdown that should be rST
2023-09-08 18:25:46 -07:00
Simon Willison
60900bd80a
Release notes for 3.35.1, refs #592
3.35.1
2023-09-08 17:49:55 -07:00
Simon Willison
cb034621fd
Release 3.35.1
...
Refs #592
2023-09-08 17:45:45 -07:00
Simon Willison
1c6ea54338
.transform() now preserves rowid values
...
* .transform() now preserves rowid values, refs #592
* Test transform rowids against different table types, closes #592
2023-09-08 17:45:30 -07:00
Simon Willison
5d123f031f
Fixed bug in replacing foreign key constraints example
2023-09-06 15:33:06 -07:00
Simon Willison
02e56d1158
click-default-group>=1.2.3
...
Refs:
- https://github.com/click-contrib/click-default-group/issues/21
2023-09-05 19:34:53 -07:00
Simon Willison
1260bdc7bf
Link to sqlite-utils-fast-fks from changelog
2023-08-18 10:47:10 -07:00
Simon Willison
98cd11a81b
Link docs to sqlite-utils-fast-fks
2023-08-18 10:45:12 -07:00
Simon Willison
7c1618e4b1
Promote plugins in the README
2023-08-17 19:28:08 -07:00
Simon Willison
4aea34065c
Run codespell as part of 'just lint'
2023-08-17 19:09:22 -07:00
Simon Willison
ba2681e769
Fixed two typos in the release notes
3.35
2023-08-17 19:05:15 -07:00
Simon Willison
87c6ceb3a4
Release 3.35
...
Refs #577 , #581 , #585
2023-08-17 19:01:48 -07:00
Simon Willison
56093de078
sqlite-utils transform --add-foreign-key option, closes #585
2023-08-17 18:51:04 -07:00
Simon Willison
70717dc0e1
Remove unneccessary warning, refs #577 , #585
2023-08-17 18:28:09 -07:00
Simon Willison
d2bcdc00c6
Swapped the order of a bunch of pytest comparisons
...
When I wrote this I thought constant == value was a better assertion. I no longer think that.
2023-08-17 18:05:13 -07:00
Simon Willison
b4735f794a
Remove test.utils.collapse_whitespace, closes #583
2023-08-17 17:59:09 -07:00
Simon Willison
509857ee87
.add_foreign_keys() uses .transform() instead of PRAGMA writable_schema
...
Closes #577
This should solve all sorts of problems seen by users of platforms that throw errors on writable_schema.
Also added `add_foreign_keys=` and `foreign_keys=` parameters to `table.transform()`.
2023-08-17 17:48:08 -07:00
Simon Willison
993029f466
flake8 fixes
2023-08-17 17:19:02 -07:00
Simon Willison
1dc6b5aa64
Note about execute_plugins=False, refs #575
2023-08-07 11:47:34 -07:00
Simon Willison
619cea8681
sqlite-utils convert --pdb option, closes #581
2023-07-26 14:06:05 -07:00
Simon Willison
5e9a02153d
Fix bug with --editable
...
See also: https://github.com/simonw/llm/issues/136
2023-07-25 22:20:49 -07:00
Simon Willison
37e374e05a
Improved convert() function documentation
2023-07-25 07:47:44 -07:00
Simon Willison
fba26d3564
Typo in release notes
2023-07-24 22:54:13 -07:00
Simon Willison
8bee145886
Link 3.34 notes to new blog entry
2023-07-24 10:22:20 -07:00
Simon Willison
13ebcc575d
Backfilled release notes for 0.2, 0.3, 0.3.1 - closes #576
2023-07-22 22:48:14 -07:00
Simon Willison
c728c25555
Undo change which broke the tests
3.34
2023-07-22 16:25:14 -07:00
Simon Willison
3e1d467c52
Last minute changelog for register_commands() for 3.34
...
Refs #567 , #574 , #575
2023-07-22 16:22:18 -07:00
Simon Willison
778dad789e
More robust _called_from_test pattern
2023-07-22 16:21:27 -07:00
Simon Willison
e337a88b45
Tweaks to prepare_connection() example in docs, refs #574
2023-07-22 16:13:46 -07:00
Simon Willison
374a816c72
Database(..., execute_plugins=False) mechanism, refs #575
2023-07-22 16:06:11 -07:00
Alex Garcia
3f80a02698
prepare_connection plugin hook
...
Closes:
- #574
Refs #567
---------
Co-authored-by: Simon Willison <swillison@gmail.com>
2023-07-22 15:59:08 -07:00
Simon Willison
091c63cfbf
Release 3.34
...
Refs #561 , #563 , #564 , #565 , #567 , #568 , #569 , #570 , #571
2023-07-22 15:47:56 -07:00
Simon Willison
249d7de7b2
Link to docs on distributing plugins, refs #567
2023-07-22 15:45:23 -07:00
Simon Willison
61aaa69815
.transform(..., keep_table=name) parameter, closes #571
...
Also type hints for the transform_sql() method
2023-07-22 15:32:09 -07:00
Simon Willison
2c12c01346
Caling .transform() also reformats the schema, closes #564
2023-07-22 15:15:30 -07:00
Simon Willison
fedd477e01
Don't attempt tui stuff on Python 3.7, refs #572
2023-07-22 15:11:38 -07:00
Simon Willison
18f190e283
sqlite-utils rename-table command, refs #565
2023-07-22 12:48:04 -07:00
Simon Willison
82e8cd3667
db.rename_table() method, refs #565
2023-07-22 12:38:31 -07:00
Simon Willison
86a352f8b7
Fixed mypy error, refs #568
2023-07-22 12:27:41 -07:00
Simon Willison
0c563e2d13
Fixed test I broke in #568
2023-07-22 12:23:42 -07:00
Simon Willison
2d55f185ff
Applied Black, refs #568
2023-07-22 12:22:15 -07:00
Simon Willison
80b5fa7f12
Documentation for replace=True/ignore=True, refs #568
2023-07-22 12:19:01 -07:00
Simon Willison
58b577279f
table.create(..., replace=True / ignore = True) closes #568
2023-07-22 12:15:40 -07:00
Simon Willison
b379a2a0c3
Added pluggy and first hook, register_commands - refs #569 , #567
2023-07-22 12:04:31 -07:00
Simon Willison
bff240032d
pygments-csv-lexer
...
To fix this warning:
/Users/simon/Dropbox/Development/sqlite-utils/docs/cli.rst:1286: WARNING: Pygments lexer name 'csv' is not known
2023-07-22 11:45:45 -07:00
Simon Willison
7e48502b5a
Update CLI reference docs for -e, refs #570
2023-07-22 11:37:53 -07:00
Simon Willison
ef31210bf0
sqlite-utils install -e, closes #570
2023-07-22 11:32:42 -07:00
Simon Willison
f7af23837d
--empty-null option for CSV and TSV imports, closes #563
2023-07-02 22:42:26 -07:00