Releases: OnroerendErfgoed/skosprovider_sqlalchemy
Releases · OnroerendErfgoed/skosprovider_sqlalchemy
0.4.1
0.4.0
- Major BC break: A provider is no longer passed a database
session
, but a
databasesession 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
- Update to skosprovider 0.4.0.
- Add :
skosprovider.skos.ConceptScheme
information to a provider so it
can be attached toskosprovider.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
- 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
- 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
andskosprovider.providers.VocabularyProvider.get_children_display
. - Add a UniqueConstraint(conceptscheme_id, concept_id) to Thing. (#3)
- Rename the
collections
attribute ofskosprovider_sqlalchemy.models.Thing
tomember_of
. (#7)