Skip to content

Latest commit

 

History

History
225 lines (192 loc) · 10.1 KB

HISTORY.rst

File metadata and controls

225 lines (192 loc) · 10.1 KB

0.7.0 (2020-01-19)

  • Add dumpers to transform a provider, a conceptscheme, a concept or collection in to a dictionary compatible with a JSON-LD context that has been added. This makes it possible to transform a provider into Linked Data.
  • Make handling of the hierarchy involving collections as thesaurus arrays more logical. A collection now has an attribute :attr:`skosprovider.skos.Collection.infer_concept_relations` that indicates if the members of a collection should be seen as narrower concepts of a superordinate concept. This is generally important when expanding a concept to all it's narrower concepts for searching. (#57)
  • Add a new query option for querying matches with concepts from external conceptschemes to :meth:`skosprovider.providers.VocabularyProvider.find`. (#58)
  • A registry can now carry metadata just like a provider.
  • A registry now has an attribute :attr:`skosprovider.registry.Registry.instance_scope` that indicates how the registry is managed in the application process. All providers need to indicate what kinds of instance_scope they're compatible with. Especially important for SQLAlchemyProvider run in a web application. (#63, #66)
  • Fix a bug that made it impossible for a :class:`~skosprovider.providers.SimpleCsvProvider` to read sources. (#36)
  • Drop support for Python 3.3, 3.4 and 3.5. Adds support for 3.8. This is the last version that will support Python 2. Version 0.8.0 will drop support for Python 2.7.

0.6.1 (2017-07-16)

  • A provider can now receive a dataset keyword containing a dict. If present, this :class:`dict` needs to have a uri attribute.
  • Update some requirements.

0.6.0 (2016-08-09)

0.5.3 (2015-06-24)

  • When a :class:`skosprovider.providers.DictionaryProvider` reads a dictionary containing a :term:`URI` and that URI's None, generate a URI. (#12)
  • Upgrade to the newest version of language-tags, this fixes a showstopping bug on Windows machines. (#16)
  • Added an examples folder with a script that demonstrates the API using a DictionaryProvider.
  • Added a wheel config file.

0.5.2 (2015-03-02)

Release 0.5.1 was a brown-paper-bag release due to some mucking about with pypi.

0.5.1 (2015-03-02)

  • Make it possible to pass a language tag to :meth:`skosprovider.registry.Registry.find` that will be passed on to all relevant registered providers. This determines in what language the labels of the returned concepts will displayed. (#10) [dieuska]
  • Make it possible to pass a language tag to :meth:`skosprovider.registry.Registry.get_all` that will be passed to all registered providers. This determines in what language the labels of the returned concepts will displayed.
  • Fixed some errors with the :func:`skosprovider.utils.dict_dumper`. It didn't dump the matches or the subordinate_arrays of concepts.
  • Wrote some new documentation on what a provider is and how to use it. Some other documentation work as well such as documenting the language parameter in the API better.

0.5.0 (2014-12-18)

  • Changed the default language from None to the official IANA language code und (undetermined). This is a minor BC break for users dealing with labels that have not been assigned a language.
  • Added a :class:`~skosprovider.exceptions.ProviderUnavailableException` to let a provider signal that an underlying backend is not available.

0.4.2 (2014-10-16)

  • Fix a problem with SKOS matches.
  • BC compatibilty break with 0.4.0 and 0.4.1: renamed the matchtypes broader to broad and narrower to narrow to be more inline with the SKOS standard.

0.4.1 (2014-10-15)

0.4.0 (2014-10-02)

0.3.0 (2014-05-14)

0.2.1 (2013-12-06)

0.2.0 (2013-05-16)

0.1.3 (2013-03-22)

  • Find empty label now returns no results
  • Find without a label now calls get_all

0.1.2 (2013-02-07)

  • Providers can be removed from the registry
  • Added the ability to get a single provider from the registry
  • No longer possible to register the same provider twice

0.1.1 (2012-12-11)

  • Some pep8 fixes
  • Add support for tox
  • Now tested for python 3.2
  • Added skos:notes as an example to the unit tests.

0.1.0

  • Initial version