Skip to content

Releases: OnroerendErfgoed/skosprovider_sqlalchemy

0.4.1

28 Jan 20:09
Compare
Choose a tag to compare
  • Fix a bug with the deletion of a Concept not being possible without having
    it's matches deleted first. (#10) [BartSaelen]

0.4.0

28 Oct 13:49
Compare
Choose a tag to compare
  • Major BC break: A provider is no longer passed a database session, but a
    database session maker. This change was needed to get the provider to function
    properly in threaded web applications. This will mean changing the
    code where you're creating your provider. In the past, you probably called
    a session maker first and then passed the result of this call to the provider.
    Now you should just pass the session maker itself and let the provider create
    the sessions for you.
  • Different way of fetching the skosprovider.skos.ConceptScheme
    for a provider. No longer fetches a conceptscheme at provider instantiation,
    but when needed. Otherwise we end up with a possibly very long cached version
    of a conceptscheme.

0.3.0

17 Oct 09:18
Compare
Choose a tag to compare
  • Update to skosprovider 0.4.0.
  • Add :skosprovider.skos.ConceptScheme information to a provider so it
    can be attached to skosprovider.skos.Concept objects that are
    handled by the provider.
  • Let provider handle superordinates and subordinate arrays.
  • Let provider add notes to collections.
  • Added a skosprovider_sqlalchemy.models.Match model to handle
    matches. Expand the provider to actually provide information on these matches.
  • Expand the field length for language identifiers. IANA suggests that
    identifiers up to 35 characters should be permitted. Updated our field length
    to 64 to have a bit of an extra buffer.

0.2.1

25 Aug 21:03
Compare
Choose a tag to compare
  • Switch to py.test
  • Add Coveralls support for code coverage.
  • Add ability to configure the SQLAlchemy URL used for testing. Allows testing
    on multiple RDBMS systems.
  • Run Travis tests for both SQLite and Postgresql.
  • Fix a bug in skosprovider_sqlalchemy.utils.import_provider when
    dealing with narrower collections (#8). [cahytinne]
  • Make the provider actually generate a URI if there's none in the
    database.

0.2.0

14 May 15:51
Compare
Choose a tag to compare
  • Compatibility with skosprovider 0.3.0
  • Implement skosprovider.providers.VocabularyProvider.get_by_uri.
  • Implement skosprovider.providers.VocabularyProvider.get_top_concepts.
  • Implement skosprovider.providers.VocabularyProvider.get_top_display
    and skosprovider.providers.VocabularyProvider.get_children_display.
  • Add a UniqueConstraint(conceptscheme_id, concept_id) to Thing. (#3)
  • Rename the collections attribute of skosprovider_sqlalchemy.models.Thing
    to member_of. (#7)