Skip to content

Latest commit

 

History

History
165 lines (82 loc) · 5.04 KB

CHANGELOG.md

File metadata and controls

165 lines (82 loc) · 5.04 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.0.1 (2018-12-09)

Bug Fixes

  • update docs, move solr.d.ts to types.d.ts (af72e46)

3.0.0 (2018-12-08)

Bug Fixes

  • convert 404 and 400 http errors to exceptions (6ca25ed)

Features

  • split api between client and core admin and simplify internal design (37b0788)

BREAKING CHANGES

    • config:
    • removed parameters debug, apiPrefix
    • urlConfig moved up one level
  • printing of debugging messages removed
  • prepareSolrClient accepts first parameter core and optinoal parameter userConfig
  • added function commit
  • added function solrListFields
  • moved function ping to prepareCoreAdmin
  • added function solrDeleteCore to prepareCoreAdmin
  • functions deleteField and deleteFieldType now accepts a single name parameter rather than object

2.2.0 (2018-12-05)

Bug Fixes

  • function mergeConfig now uses deepCopy through JSON serdes. (c240ad3)

Features

  • add mergedConfig function (9ca2fe6)

2.1.0 (2018-12-05)

Features

  • 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)

Bug Fixes

  • add explicit typedef imports instead of declare global (c388079)

Features

  • add mergeConfig exported function used also in prepareSolrClient (051ecd0)

BREAKING CHANGES

  • 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)

Bug Fixes

  • printing curl command in debug mode should use quoted data (752c1cc)

Features

  • implemented delete function for deleting document by id or query (e1166e4)

1.0.0 (2018-12-04)

Bug Fixes

  • export defaultConfig (773c947)
  • problem with query param accidentally renamed (b1fbe8c)
  • remove solrGet and use solrPost everywhere, update typedefs (6837233)

Features

  • 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)

BREAKING CHANGES

    • select function replaced by query
  • facet function removed because we now have query+typedefs
  • we now use the Solr JSON API in SolrQuery type with additional parameters inside SolrQuery.params.
  • the config has now nested section urlConfig which is passed directly to url.format before calling axios.post.
  • From now on, the core parameter needs to be passed through the config 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)

0.1.1 (2018-06-20)

Bug Fixes