Releases: acdh-oeaw/apis-core-rdf
Releases · acdh-oeaw/apis-core-rdf
v0.16.0
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
v0.15.2
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
v0.15.0
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 ingeneric/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 ofverbose_name
(ef10a69) - apis_entities: use modelname instead of verbose_name in javascript (6fee852)
- generic: pass existing queryset to custom queryset (12d4ed8)
Code Refactoring
v0.14.2
v0.14.1
v0.14.0
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 fromGenericModel
.
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
v0.13.1
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
notedit
(fcdb491) - generic: use custom permission solution in views (edb783e)
v0.13.0
0.13.0 (2024-02-14)
⚠ BREAKING CHANGES
- apis_entities: with the removal of
filters.py
andtables.py
your configuration inAPIS_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)