Skip to content

Releases: acdh-oeaw/apis-core-rdf

v0.24.0

13 Aug 09:58
Compare
Choose a tag to compare

0.24.0 (2024-08-13)

⚠ BREAKING CHANGES

  • utils: drop filtermethods

Features

  • apis_entities: add changed since filter to entity filterset (fde59c7), closes #335
  • apis_entities: add a default search field to the entity filtersets (7cd7906)
  • apis_entities: add external Uris to detail view (69fe3ba), closes #861

Bug Fixes

  • apis_entities: fix sparql queries for abstract base classes (6ac2373)
  • apis_entities: set return type of serializer method (900eb3a)
  • history: set return types of serialzers methods (667503a)
  • sample_project: add autocomplete querysets for person and place (8d6d8dd), closes #900

Documentation

  • add anker to README to allow for partial include in docs (e0bbaa6), closes #1075
  • add section ontology and describe how to add entities (0603e34)
  • improve configuration chapter (7e24ec2)
  • improve customization chapter (adb1eb0)
  • improve glossary chapter (356f3db)
  • improve installation chapter of the docs (454090a)
  • move history and collections features to dedicated page (4d8c1f2)
  • remove not used and outdated doc sections (5b107cc)
  • remove not used entries from index.rst (e348c53)
  • reuse the pyproject metadata in sphinx docs (e8de605)

Code Refactoring

v0.23.2

03 Jul 10:25
Compare
Choose a tag to compare

0.23.2 (2024-07-03)

Bug Fixes

  • apis_entities: remove inherited related fields from column list (44a983d), closes #1029
  • core: add schema information to the dumpdata api endpoint (e622977)
  • generic: ModelViewSet: check if renderer exists before using it (dd21e84)

v0.23.1

02 Jul 16:38
Compare
Choose a tag to compare

0.23.1 (2024-07-02)

Bug Fixes

  • generic: include ManyToManyFields in list view (2763e0e), closes #1020
  • generic: repair table columns ordering (6762a17), closes #1022

v0.23.0

01 Jul 08:54
Compare
Choose a tag to compare

0.23.0 (2024-07-01)

⚠ BREAKING CHANGES

  • generic: rename GenericImporter to GenericModelImporter

Features

  • generic: add data received to importer error message (9570bbd)
  • generic: allow apiview to use custom serializers (0bcd61b)
  • generic: allow to set default search fields in the model (763a866)
  • generic: fix and extend the columns selector (eaef405), closes #735
  • generic: let the importer try rdf before the json fallback (97dba9d)
  • generic: make importer return a message on error (c60ad36)
  • generic: ship generic RDF renderers (b60a0e5)

Bug Fixes

  • apis_entities: let EntityToContenttypeConverter handle ContentType (16534ad)
  • apis_entities: only list possible properties in filterset form (a156cb4), closes #949
  • apis_entities: split excluded filters and excluded columns (d8649d7)
  • apis_relations: make relation edit link change color on hover (bbdf4c7)
  • core: add version to base template if debug is turned on (c8f293e), closes #981
  • utils: add a margin class to the NewlineSeparatedListField's widget (59c4402)
  • utils: create_object_from_uri: raise error if no importer found (89b119a)

Performance Improvements

  • apis_entities: refactor and cache the prev and next url methods (c7ae953)

Code Refactoring

  • generic: rename GenericImporter to GenericModelImporter (2784acb)

v0.22.0

25 Jun 09:15
Compare
Choose a tag to compare

0.22.0 (2024-06-25)

⚠ BREAKING CHANGES

  • utils: drop caching module

Features

  • apis_entities: add info message to duplicated object (77a50fa), closes #893
  • generic: list all generic models on overview page (eb53743), closes #912

Bug Fixes

  • apis_metainfo: add missing import (a4ecc61)
  • apis_metainfo: handle unique fields in the duplication logic (3e66876)
  • apis_metainfo: make entity_type orderable in the UriTable (02452ec), closes #874
  • apis_relations: replace LinkColumn with Column in TripleTables (2bdd812), closes #676
  • docs: add documentation regarding GetEntityGeneric (d883896), closes #381
  • docs: fix underline to make sphinx happy (2a05361)
  • docs: remove migrations from the exclude_patterns (75be82a)
  • docs: repair some docstring formatting issues (fa88195)
  • docs: replace broken README.rst include with README.md (719931c)
  • docs: set the language to make sphinx happy (761367b)
  • sample_project: fix countdown (31b05b0), closes #992
  • sample_project: show countdown until redeployment (f061b0a), closes #976
  • utils: drop caching module (04f1c9f), closes #884

v0.21.0

20 Jun 06:22
Compare
Choose a tag to compare

0.21.0 (2024-06-20)

Features

  • apis_core: use CustomDefaultRouter instead of DRF DefaultRouter (9ced7a7)
  • apis_entities: introduce CustomSearchFilter and use it (5c40bc0), closes #855
  • generic: add CustomAPIRootView & CustomDefaultRouter (d0428f0), closes #836
  • generic: allow passing a prefix to generate_search_filter (335bb75)
  • sample_project: add password to login page (0be54d2)
  • sample_project: provide discworld sample data (b1bb01f)
  • utils: add a NewlineSeparatedListField (6211dc7)

Bug Fixes

  • api: move /entities endpoint to /api/entities (638bc1b)
  • apis_entities: implement correct related entity query (13a8a08), closes #943
  • apis_entities: trigger htmx process after form reloading (7118205)
  • apis_relations: respect pagination setting in form table (1e1c028)
  • apis_vocabularies: remove collections from migrations (a72e6cd)
  • ci: replace workflow_call with workflow_dispatch (5ecf426)
  • deactivate simple_history plugin for loaddata (4f5742f)
  • drop apis namespace for all url resolvers (24f91f1), closes #876
  • generic: let ContenttypeConverter also handle string arguments (2d67cbe)
  • readme: clean up installation instructions (5c6ad82)
  • sample_project: allow all hosts (37dd165)
  • sample_project: listen on port 5000 by default (ec10764)
  • sample_project: move app to beginning of INSTALLED_APPS (7ce3a05)
  • sample_project: show credentials only if not logged in (d83a68f)
  • sample_project: use environment variables for Django settings (7ddd8f2)
  • use loaddata specific settings in the entrypoint (5cc2172)

Documentation

  • include sample_project configs instead duplicating them (571b52e)
  • sample_project: add comments to the sample projects settings (9a7be81)

v0.20.1

11 Jun 08:08
Compare
Choose a tag to compare

0.20.1 (2024-06-11)

Bug Fixes

  • apis_relations: pass the request to the table (1340968)
  • apis_relations: set default fields (0f89e92)
  • generic: use request intead of context for checking user (b74158e)

v0.20.0

11 Jun 07:07
Compare
Choose a tag to compare

0.20.0 (2024-06-11)

⚠ BREAKING CHANGES

  • apis_entities: drop GenericNetworkEntitiesAutocomplete
  • apis_entities: drop obsolete templatetag

Features

  • add Docker image + sample_project entrypoint & setup (7a5d265)
  • apis_entities: add string methods to abstract base entities (3f6cb9c)
  • core: use django messages framework in base template (9fd8080)
  • sample_project: enable bootstrap4 table theme (ced59f4)

Bug Fixes

  • apis_entities: allow to skip default uri creation (8332a3d), closes #436
  • apis_relations, apis_entities: use lower when comparing modelname (db10fcb)
  • apis_relations,apis_entities: replace get_object_or_404 (6785b80)
  • core: don't cache the possible relation entities (8055f7b), closes #914
  • sample_project: add apis_override_select2js to INSTALLED_APPS (dce75d9)

Documentation

  • fix formatting issues in history documentation (111abd4), closes #843

Miscellaneous Chores

  • apis_entities: drop obsolete templatetag (9e7965d)

Code Refactoring

  • apis_entities: drop GenericNetworkEntitiesAutocomplete (c471255)

v0.19.1

05 Jun 11:38
Compare
Choose a tag to compare

0.19.1 (2024-06-05)

Bug Fixes

  • apis_entities: fix typo in template (duplciate -> duplicate) (08f6904)
  • apis_entities: remove None values before checking model_class (05fca69)
  • apis_metainfo: fix object duplication (b8e0e81), closes #889
  • sample_project: move apis root to / and include auth & admin urls (b1383a6)

v0.19.0

04 Jun 10:14
Compare
Choose a tag to compare

0.19.0 (2024-06-04)

⚠ BREAKING CHANGES

  • core: drop libre franklin font
  • drop old api views
  • apis_metainfo: drop Collection model

Features

  • apis_entities: add endpoint that lists all entities (6d77a9d), closes #850
  • generic: add getter for api detail endpoint (3c80aef)
  • generic: introduce success_url getters for create and update (eb870f5), closes #834
  • generic: make the form template title differ between create & edit (ca6d8ef)

Bug Fixes

  • apis_entities,core: add templatetag for generating entitymenu (481ded5), closes #860
  • apis_entities: set max_length for charfields in abstract classes (6f7c3dc)
  • docs: update settings file of doc config (9774af2)
  • generic: also add detail views to enumarated api_endpoints (302b18e)
  • history: returning triples makes only sense for RootObjects (b292d97)
  • sample_project: add missing settings and provide urlconf wrapper (782b5c8)

Documentation

  • add information about the custom schema generator setting (3278ea1)
  • Add test coverage information to documentation subfolder (f6767d4)

Code Refactoring

  • apis_metainfo: drop Collection model (7a9aaf2), closes #576
  • core: drop libre franklin font (77929e3)
  • drop old api views (8da1372)