Skip to content

Releases: acdh-oeaw/apis-core-rdf

v0.16.0

27 Mar 12:13
Compare
Choose a tag to compare

0.16.0 (2024-03-27)

⚠ BREAKING CHANGES

  • apis_metainfo: drop RootObject.deprecated_name

Features

  • apis_entities: surround navigation elements with block (6b2fb49)
  • apis_relations: add and use PropertySubjObjFilter (246b7f3)
  • generic: add ContentTypeInstanceSerializer (3307074)
  • generic: implement custom schema generator (09a1d6d)
  • generic: introduce GenericFilterBackend and use it (dac1f6d)
  • generic: ship a JSON based and a newline based list widget (8704d21), closes #733

Bug Fixes

  • apis_metainfo: drop RootObject.deprecated_name (5fc11d7)
  • apis_relations: reuse GenericTable.Meta.sequence for tables (b15e587), closes #716
  • generic: fix typo in Import View (b28de6e)
  • generic: use fallback if ModelViewSet attributes don't exist (11e097d)

v0.15.2

19 Mar 09:14
Compare
Choose a tag to compare

0.15.2 (2024-03-19)

Bug Fixes

  • apis_entities: don't duplicate equal values when mergin charfield (67f2aa5)
  • apis_metainfo: use ContentType instead of custom caching (58e6c25)
  • core: drop webpage remains from template (6b3573e), closes #410
  • core: remove hardcoded imprint pointing to 404 (e8441d9), closes #415
  • generic: typo in module_paths argument (3f3b71e)
  • generic: use import_string instead of custom method (591b1ca), closes #697

v0.15.1

11 Mar 11:04
Compare
Choose a tag to compare

0.15.1 (2024-03-11)

Bug Fixes

  • utils: make rdfimport parent model check more loose (84b97d3)

v0.15.0

07 Mar 10:27
Compare
Choose a tag to compare

0.15.0 (2024-03-07)

⚠ BREAKING CHANGES

  • apis_metainfo: The renaming of RootObject's "name" field to "deprecated_name" affects all inheriting model classes as well as class Property. You will need to create new fields in your model classes to replace it/to preserve its contents before it gets dropped.
  • core: projects using the confirm_delete.html template will have to change that. There is a replacement in generic/generic_confirm_delete.html.
  • apis_metainfo,apis_entities: drop str_ overrides

Features

  • apis_entities: implement default abstract entity classes (b1ebd0a), closes #403
  • apis_relations: add obj and subj class filter to triple filters (4b890c4), closes #668
  • generic: allow to override serializer based on renderer (676251d)

Bug Fixes

  • apis_entities: move duplicate button after other action buttons (1683968), closes #694
  • apis_entities: use modelname instead of verbose_name (ef10a69)
  • apis_entities: use modelname instead of verbose_name in javascript (6fee852)
  • generic: pass existing queryset to custom queryset (12d4ed8)

Code Refactoring

  • apis_metainfo,apis_entities: drop str_ overrides (c9fbcc8)
  • apis_metainfo: rename RootObject.name to deprecated_name (fcd4854), closes #299
  • core: drop unused template (391f2de), closes #518

v0.14.2

29 Feb 11:55
Compare
Choose a tag to compare

0.14.2 (2024-02-29)

Bug Fixes

  • apis_metainfo: let Collection inherit from GenericModel (0e32a80)

v0.14.1

29 Feb 11:43
Compare
Choose a tag to compare

0.14.1 (2024-02-29)

Bug Fixes

  • generic,core: move htmx setup from generic template to base.html (bc4ba98)
  • generic: use serializer_factory even with custom serializers (247200e)

v0.14.0

27 Feb 08:17
Compare
Choose a tag to compare

0.14.0 (2024-02-27)

⚠ BREAKING CHANGES

  • generic: projects will have to inherit from GenericModel from now on, if they want their models to be accessible via the generic views. Models inheriting from APIS models automatically inherit from GenericModel.

Features

  • generic: use lru cache for smaller methods (7e56e48)
  • utils: provide some abstract base classes for autocomplete (b3d2cbe), closes #653

Bug Fixes

  • apis_entities: make import form deal with html data (e7882e2)
  • apis_entities: remove buggy jQuery code (f4fd17e), closes #529
  • apis_relations: remove choice limit in Property (babfe4e), closes #412
  • generic: add __init__.py to generic module (a74d445)
  • utils: make rdf parser more robust (d3ba5e3), closes #666
  • utils: refactor access_for_all (b021696), closes #582

Documentation

  • cleanup configuration section and rename it to settings (d2c141c)
  • generic: add documentation about GenericModel (54fbb09)

Code Refactoring

  • generic: introduce generic.abc.GenericModel (8a58abc), closes #657

v0.13.1

15 Feb 11:52
Compare
Choose a tag to compare

0.13.1 (2024-02-15)

Bug Fixes

  • apis_entities: hide duplicate button on missing permission (096181f)
  • apis_relations: linkify subject and object columns (bd1ed3d), closes #1
  • generic: check for permissions in actions nav (0ec25df)
  • generic: hide create button if permission does not exist (154d2dd)
  • generic: the relevant permission name is change not edit (fcdb491)
  • generic: use custom permission solution in views (edb783e)

v0.13.0

14 Feb 11:34
Compare
Choose a tag to compare

0.13.0 (2024-02-14)

⚠ BREAKING CHANGES

  • apis_entities: with the removal of filters.py and tables.py your configuration in APIS_ENTITIES won't have any effect anymore. Please replace them with custom tables and custom filtersets. Also the the locations and names and structure of the templates changed, so you will have to update those.

Features

  • add collection name as css class to collection templates (44e1cf1), closes #604
  • generic: add debug log message to first_match_via_mro (458ffd2)
  • generic: display foreign key fields as value instead of id (7936d8a)
  • generic: fix and enhance the generate_search_filter helper (03eb3fe)
  • generic: make GenericImporter more verbose (63aa960)
  • generic: use data-html in autocomplete widgets (c6d326f)
  • generic: use template attribute of autocomplete view (a9f0d38)
  • utils: use dict_from_toml_directory for cleaning uris (a703f51)

Bug Fixes

  • apis_entities: f string in merge_textfield missing f (2b7bdb9)
  • apis_entities: fix wikidata uri mapping (7372ff1)
  • apis_metainfo: set the alters_data attribute of duplicate (d5cfdb5)
  • apis_relations: don't rely on APIS_BASE_URI for editing relations (39f2cf1)
  • apis_relations: use generic autocomplete in GenericTripleForm (0b23cc7)
  • generic: don't set template_name_suffix, only use it if its set (71aef12)
  • generic: redirect to update view after create or update (1faf5c4)

Documentation

  • generic: add documentation about generic app customization (6de3708)

Code Refactoring

  • apis_entities: use new generic app (45de48b)

v0.12.6

31 Jan 15:13
Compare
Choose a tag to compare

0.12.6 (2024-01-31)

Bug Fixes

  • let the autocomplete form create objects (a07f23b)