Commit graph

798 commits

Author SHA1 Message Date
Simon Willison
855bce8c38 Release 3.28 3.28
Refs #441, #443, #445, #449, #450, #454
2022-07-15 15:56:01 -07:00
Simon Willison
b9a89a0f2c duplicate --ignore option, refs #450 2022-07-15 15:35:58 -07:00
Simon Willison
5fa823f03f add-column --ignore option, refs #450 2022-07-15 15:31:37 -07:00
Simon Willison
2c77f4467e Add --ignore to create-index as alias of --if-not-exists, refs #450 2022-07-15 15:25:49 -07:00
Simon Willison
40b6947255 enable-fts --replace option, refs #450
Also fixed up some sqlite3.OperationalError imports.
2022-07-15 15:20:26 -07:00
Simon Willison
9dd4cf891d Improve CLI help for drop-table and drop-view, refs #450 2022-07-15 15:09:07 -07:00
Simon Willison
e10536c7f5 utils.chunks() is now a documented API, closes #451 2022-07-15 14:59:30 -07:00
Simon Willison
015c663464 Fixed lint errors, refs #454 2022-07-15 14:59:06 -07:00
Simon Willison
c710ade644 sqlite-utils duplicate command, closes #454, refs #449
Also made it so .duplicate() raises new NoTable exception rather than raising
an AssertionError if the source table does not exist.
2022-07-15 14:45:47 -07:00
Simon Willison
da030d49fd Documentation for .duplicate(), refs #449 2022-07-15 14:29:52 -07:00
Simon Willison
4af4762521 test_duplicate_fails_if_table_does_not_exist, refs #449 2022-07-15 14:23:57 -07:00
David
b366e68deb
table.duplicate(new_table_name) feature, closes #449
Thanks, @davidleejy
2022-07-15 14:21:36 -07:00
Simon Willison
42440d6345 Use parametrize for FTS test 2022-06-27 23:41:13 +00:00
Simon Willison
2dca2210d9 Ignore build in .gitignore 2022-06-27 23:39:23 +00:00
Simon Willison
9a6495fbef Configure GitPod 2022-06-27 23:38:45 +00:00
Simon Willison
ba8cf54908 Add documentation strings to Justfile, ref #446 2022-06-21 12:28:01 -07:00
Simon Willison
2768effe07 Run cog using just as well, refs #446 2022-06-21 12:24:23 -07:00
Simon Willison
5754311494
Only syntax highlight if a code-block is used
Refs #447
2022-06-21 08:00:17 -07:00
Simon Willison
3ddacb7bdc Justfile for tests and linting, closes #446 2022-06-20 12:54:46 -07:00
Simon Willison
8a9fe6498f Applied Black, refs #445 2022-06-20 12:50:15 -07:00
Simon Willison
773f2b6b20 Documented TypeTracker, closes #445 2022-06-20 12:46:49 -07:00
Simon Willison
c80971d28a sqlite_utils.utils.rows_from_file in reference.html, refs #443 2022-06-20 12:22:44 -07:00
Simon Willison
3fbe8a784c
Link to annotated release notes for 3.27 2022-06-18 20:30:24 -07:00
Simon Willison
2d84577202 Fix tiny typo in 3.27 release notes 2022-06-14 21:41:16 -07:00
Simon Willison
679d608119 Release 3.27 3.27
Refs #434, #435, #436, #440, #441, #442, #443
2022-06-14 21:30:47 -07:00
Simon Willison
b8af3b96f5 Fix bug with detect_fts() and similar table names, closes #434 2022-06-14 16:24:06 -07:00
Simon Willison
1b09538bc6 where= and where_args= parameters to search() and search_sql()
Closes #441
2022-06-14 14:54:35 -07:00
Simon Willison
0b6aba696d Documentation for maximize_csv_field_size_limit, closes #442 2022-06-14 14:31:45 -07:00
Simon Willison
9d1bac4a99 Test for maximize_csv_field_size_limit, refs #442 2022-06-14 14:23:54 -07:00
Simon Willison
0cee77b176 Update test for renamed restkey, refs #440, #443 2022-06-14 14:14:20 -07:00
Simon Willison
ce670e2d44 Docs for rows_from_file
Closes #440, closes #443
2022-06-14 13:12:42 -07:00
Simon Willison
f142bb1212
flake8 fix, refs #440 2022-06-14 09:14:57 -07:00
Simon Willison
d9c715a2fc One more typing fix, refs #440 2022-06-14 09:07:57 -07:00
Simon Willison
19efee2746 mypy fixes, refs #440 2022-06-14 08:39:08 -07:00
Simon Willison
ad96bd18c3 Tests for rows_from_file, refs #440 2022-06-14 08:14:38 -07:00
Simon Willison
d379f430f8 rows_from_file(... ignore_extras: bool, restkey: str), refs #440 2022-06-14 08:14:02 -07:00
Simon Willison
7ddf530088
A less potentially confusing parameter name 2022-06-13 08:22:59 -07:00
Yuri
9fedfc69d7
docs to dogs (#437) 2022-05-30 14:32:41 -07:00
Simon Willison
59be60c471 Update copyright dates on docs 2022-05-20 14:57:49 -07:00
Simon Willison
2238e9baf9 sphinx-copybutton extension, closes #436 2022-05-20 14:57:26 -07:00
Simon Willison
397183debd Switch docs theme to Furo, refs #435 2022-05-20 14:52:00 -07:00
Simon Willison
841ad44bac
Fixed typo 3.26.1 2022-05-02 11:17:19 -07:00
Simon Willison
56571775a1 Release 3.26.1
Refs #429
2022-05-02 11:14:54 -07:00
Simon Willison
ed6fd51608
Depend on click-default-group-wheel (#429)
To get this to work with Pyodide.

Refs: https://github.com/simonw/click-default-group-wheel/issues/3
2022-05-02 11:05:00 -07:00
Simon Willison
e3a14c33a0
Run tests against pull requests 2022-04-19 17:21:04 -07:00
Simon Willison
6915fbcce2 Release 3.26 3.26
Refs #415, #416, #420, #421, #425
2022-04-13 15:51:48 -07:00
Simon Willison
cbaad1f153 Removed unused sys import, refs #425 2022-04-13 15:40:57 -07:00
Simon Willison
0e60f3c80c Better error message if table has no columns, closes #424 2022-04-13 15:39:48 -07:00
Simon Willison
4433eafff7 Fix for register() on Python 3.7, refs #425 2022-04-13 15:35:57 -07:00
Simon Willison
6f3ae864f1 Better support check for deterministic=True, closes #425
Bug first discovered in #421
2022-04-13 15:31:37 -07:00