All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
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
core
and optinoal parameteruserConfig
- added function
commit
- added function
solrListFields
- moved function
ping
toprepareCoreAdmin
- added function
solrDeleteCore
toprepareCoreAdmin
- functions
deleteField
anddeleteFieldType
now accepts a singlename
parameter rather than object
2.2.0 (2018-12-05)
- function
mergeConfig
now usesdeepCopy
through JSON serdes. (c240ad3)
- add
mergedConfig
function (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
delete
function for deleting document by id or query (e1166e4)
1.0.0 (2018-12-04)
- export defaultConfig (773c947)
- problem with
query
param 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)
-
select
function replaced byquery
facet
function removed because we now have query+typedefs- we now use the Solr JSON API in
SolrQuery
type with additional parameters insideSolrQuery.params
. - the config has now nested section
urlConfig
which is passed directly tourl.format
before callingaxios.post
.
- From now on, the
core
parameter needs to be passed through theconfig
parameter. 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)