From b2684f5bc7e8119387ea1a8067544653019253ef Mon Sep 17 00:00:00 2001 From: Jelte van Boheemen Date: Fri, 5 Jul 2024 18:26:04 +0200 Subject: [PATCH 1/2] Version bump for 5.9.0 --- CITATION.cff | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index b5cd0a0b8..69b99051a 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -35,5 +35,5 @@ keywords: - elasticsearch - natural language processing license: MIT -version: 5.8.0 -date-released: '2024-06-19' +version: 5.9.0 +date-released: '2024-07-05' diff --git a/package.json b/package.json index cde1022fb..937dc3e55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "i-analyzer", - "version": "5.8.0", + "version": "5.9.0", "license": "MIT", "scripts": { "postinstall": "yarn install-back && yarn install-front", From 9f1014ea4bce99addd44d6ddb60c2e0317819603 Mon Sep 17 00:00:00 2001 From: Jelte van Boheemen Date: Fri, 5 Jul 2024 18:31:20 +0200 Subject: [PATCH 2/2] Migrations for addcorpus --- ...documentationpage_type_alter_field_name.py | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 backend/addcorpus/migrations/0023_alter_corpusdocumentationpage_type_alter_field_name.py diff --git a/backend/addcorpus/migrations/0023_alter_corpusdocumentationpage_type_alter_field_name.py b/backend/addcorpus/migrations/0023_alter_corpusdocumentationpage_type_alter_field_name.py new file mode 100644 index 000000000..6d8be1bb4 --- /dev/null +++ b/backend/addcorpus/migrations/0023_alter_corpusdocumentationpage_type_alter_field_name.py @@ -0,0 +1,24 @@ +# Generated by Django 4.2.11 on 2024-07-05 16:30 + +import addcorpus.validation.creation +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('addcorpus', '0022_add_url_display_type'), + ] + + operations = [ + migrations.AlterField( + model_name='corpusdocumentationpage', + name='type', + field=models.CharField(choices=[('general', 'General information'), ('citation', 'Citation'), ('license', 'License'), ('terms_of_service', 'Terms of service'), ('wordmodels', 'Word models')], default='general', help_text='the type of documentation', max_length=16), + ), + migrations.AlterField( + model_name='field', + name='name', + field=models.SlugField(help_text='internal name for the field', max_length=126, validators=[addcorpus.validation.creation.validate_name_is_not_a_route_parameter, addcorpus.validation.creation.validate_name_has_no_ner_suffix]), + ), + ]