Pocketsearch

Latest version: v0.21.1

Safety actively analyzes 623075 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.21.1

* Added more examples to README

0.21.0

* Added support for having multiple connections to in-memory databases (https://github.com/kaykay-dv/pocketsearch/issues/54 and https://github.com/kaykay-dv/pocketsearch/issues/56)
* Added more stable support when using punctuation characters in queries (https://github.com/kaykay-dv/pocketsearch/issues/55)
* Added custom timestamp and date converters for sqlite date/timestamp data types to address Python 3.12 deprecation warning (https://github.com/kaykay-dv/pocketsearch/issues/52)
* Code clean up

**Breaking changes**
* Versions < 0.21 did not support multiple in-memory databases. The second in-memory database trying to establish a connection (with the first one still holding an active connection) would run into a connection time out.

0.20.1

* Small changes to README - now includes gettings started examples
* Added Python 3.12 to list of supported Python versions

0.20.0

* Added connection pool class and made PocketWriter instances thread-safe (https://github.com/kaykay-dv/pocketsearch/issues/44)
* Added possibility to use "legacy" (tables already defined in a sqlite3 database) tables (https://github.com/kaykay-dv/pocketsearch/issues/42)
* Fixed a bug resulting in SQL errors when using the symbol at certain places (https://github.com/kaykay-dv/pocketsearch/issues/49)
* Added proper handling for empty string queries (https://github.com/kaykay-dv/pocketsearch/issues/43)
* Added possiblity to define own "id" fields (https://github.com/kaykay-dv/pocketsearch/issues/42)
* Fixed a bug in SQL trigger definitions

**Breaking changes**
* PocketWriters are now using transactions. If an exception is raised the transaction is rolled back. (https://github.com/kaykay-dv/pocketsearch/issues/45)
* Building the spell checker dictionary has now to be invoked explicitly (https://github.com/kaykay-dv/pocketsearch/issues/46)
* Table creation (FTS5 tables) are now wrapped in an own transaction (https://github.com/kaykay-dv/pocketsearch/issues/45)

0.12.0

* Added context managers PocketReader and PocketWriter
* Added Spell Checker
* Fixed typos in the documentation
* Error that is thrown if a schema field does not have a data type is thrown earlier during schema creation
* Schema field objects are now (shallow-) copied when a schema instance is created to avoid side-effects when multiple schema instances are in use.
* Made PocketSearch._close a public method

0.11.0

* Fixed https://github.com/kaykay-dv/pocketsearch/issues/36
* Fixed https://github.com/kaykay-dv/pocketsearch/issues/35
* Introduced Tokenizer classes to setup FTS5 supported tokenizers
* Added .tokens() method (https://github.com/kaykay-dv/pocketsearch/issues/32)
* Added more logger.debug statements to plain SQL
* Added logger.debug statements for table creation
* Added sphinx-documentation and moved documentation to readthedocs

**Deprecated**:

* Versions < 0.11 had buggy sqlite_* meta options. These have been removed. Currently
a dedicated Unicode61 tokenizer class with options is provided.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.