All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.0.5 (2023-06-27)
3.0.4 (2020-05-12)
3.0.3 (2020-05-12)
- link to types.d.ts mentioned in jsdocs (c732f02)
3.0.1 (2018-12-09)
- update docs, move solr.d.ts to types.d.ts (af72e46)
3.0.0 (2018-12-08)
- convert 404 and 400 http errors to exceptions (6ca25ed)
- split api between client and core admin and simplify internal design (37b0788)
-
- config:
- removed parameters debug, apiPrefix
- urlConfig moved up one level
- printing of debugging messages removed
- prepareSolrClient accepts first parameter
coreand optinoal parameteruserConfig - added function
commit - added function
solrListFields - moved function
pingtoprepareCoreAdmin - added function
solrDeleteCoretoprepareCoreAdmin - functions
deleteFieldanddeleteFieldTypenow accepts a singlenameparameter rather than object
2.2.0 (2018-12-05)
- function
mergeConfignow usesdeepCopythrough JSON serdes. (c240ad3)
- add
mergedConfigfunction (9ca2fe6)
2.1.0 (2018-12-05)
- add solr.config function and and configAutoEnableFields (ade5e8a)
2.0.2 (2018-12-04)
2.0.1 (2018-12-04)
2.0.0 (2018-12-04)
- add explicit typedef imports instead of declare global (c388079)
- add mergeConfig exported function used also in prepareSolrClient (051ecd0)
- the prepareSolrClient function now accepts user config which is merged with the default config (overrides its fields). The userConfig can also be empty.
1.1.0 (2018-12-04)
- printing curl command in debug mode should use quoted data (752c1cc)
- implemented
deletefunction for deleting document by id or query (e1166e4)
1.0.0 (2018-12-04)
- export defaultConfig (773c947)
- problem with
queryparam accidentally renamed (b1fbe8c) - remove solrGet and use solrPost everywhere, update typedefs (6837233)
- add debugging of GET requests (d609b65)
- add type annotations, new solr functions (253f335)
- add typings mainly for nicer vscode assistance (9d3604e)
- facet function to get solr facets using JSON api (c7cfa78)
-
selectfunction replaced byquery
facetfunction removed because we now have query+typedefs- we now use the Solr JSON API in
SolrQuerytype with additional parameters insideSolrQuery.params. - the config has now nested section
urlConfigwhich is passed directly tourl.formatbefore callingaxios.post.
- From now on, the
coreparameter needs to be passed through theconfigparameter. This simplifies the API by removing special cases. The provided typings provide better user experience when developing in an IDE such as vscode.
0.2.2 (2018-07-31)
0.2.1 (2018-07-31)
- some typos (c469209)