Release and Version History#
x.y.z (Backlog)#
Features and Improvements
Minor Improvements
Bugfixes
Miscellaneous
0.6.5 (2023-11-01)#
Bugfixes
Fix a bug that different Python system use different pickle protocol for cache key.
0.6.4 (2023-11-01)#
Miscellaneous
Add support for Python3.7 for backward compatibility.
0.6.3 (2023-10-24)#
Bugfixes
Fix a bug caused by the logger.
0.6.2 (2023-10-20)#
Features and Improvements
Be able to serialize and deserialize
BaseFieldobject.
Miscellaneous
Add downloading block to logging message.
0.6.1 (2023-10-20)#
💥 Breaking change
Rework the
DataSetclass, merge features inRefreshableDataSetinto theDataSetclass.RefreshableDataSetis removed.
0.5.3 (2023-10-14)#
Bugfixes
Fix a bug that the
queryparameter inRefreshableDataSet.searchshould be mandatory.
0.5.2 (2023-10-13)#
Minor Improvements
Add the
DataSet.is_data_cache_exists()method.
Miscellaneous
Improve code coverage test.
0.5.1 (2023-10-09)#
Features and Improvements
Add concurrency lock mechanism to prevent refreshing the index if there is another thread already working on it.
Minor Improvements
Add the
DataSet.is_indexing()andRefreshableDataSet.is_indexing()method.
Bugfixes
Fix a bug that the cache is not correctly removed when rebuild the dataset.
0.4.1 (2023-09-30)#
Features and Improvements
Add
RefreshableDataSeta new class that extend theDataSet, it allows user to refresh the index automatically when necessary.- Add the following public api:
sayt.api.T_Hitsayt.api.T_Resultsayt.api.T_RECORDsayt.api.T_KWARGSsayt.api.T_DOWNLOADERsayt.api.T_CACHE_KEY_DEFsayt.api.T_CONTEXTsayt.api.T_EXTRACTORsayt.api.T_RefreshableDataSetResultsayt.api.RefreshableDataSet
Miscellaneous
since this library only supports Python3.8+, we removed the optional
cached-propertyanddataclassesdependencies.
0.3.2 (2023-09-28)#
Minor Improvements
the final whoosh index name is the
DataSet.index_nameas it is. we no longer automatically hash the index name
Bugfixes
fix a bug the cache_tag is not correctly set in
DataSet.search(...)method.
0.3.1 (2023-09-28)#
💥 Breaking change
Drop support for Python3.7 because of the
TypedDicttype hint.
Features and Improvements
Add
simple_response: bool = Trueoption toDataSet.search(...)method, allow to return elasticsearch HTTP response styled result.
0.2.3 (2023-09-26)#
Bugfixes
Fix a bug that when
DataSet.search(...)method forget to set the result cache along with the tag. So that this cache cannot be cleared byDataSet.clear_cachemethod.
0.2.2 (2023-09-26)#
Minor Improvements
Allow user to use pass in
dir_cachewhen constructingDataSetobject. It gives user more control on creating the cache object.
Bugfixes
Fix a bug that
NgramWordsFieldshould not havephraseattribute.
Miscellaneous
0.2.1 (2023-09-26)#
💥 Breaking change
Rework the field system, make it fully compatible with the underlying
whoosh.fieldssystem.
Features and Improvements
Rework the field system, there was only one
Fieldclass that can create a varieties of whoosh fields object. Now we use full list of whoosh compatibleXyzFieldclasses.- Add the following public api:
sayt.api.BaseFieldsayt.api.StoredFieldsayt.api.IdFieldsayt.api.IdListFieldsayt.api.KeywordFieldsayt.api.TextFieldsayt.api.NumericFieldsayt.api.DatetimeFieldsayt.api.BooleanFieldsayt.api.NgramFieldsayt.api.NgramWordsFieldsayt.api.T_Field
0.1.1 (2023-09-25)#
Features and Improvements
First release
- Add the following public API:
sayt.api.Fieldsayt.api.DataSetsayt.api.exc