-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4274 from archesproject/433_release_prep
433 release prep
- Loading branch information
Showing
4 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from arches.setup import get_version | ||
|
||
VERSION = (4, 3, 2, 'final', 0) | ||
VERSION = (4, 3, 3, 'final', 0) | ||
|
||
__version__ = get_version(VERSION) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.10 on 2018-08-29 11:09 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
def forwards_func(apps, schema_editor): | ||
# We get the model from the versioned app registry; | ||
# if we directly import it, it'll be the wrong version | ||
CardXNodeXWidget = apps.get_model("models", "CardXNodeXWidget") | ||
CardModel = apps.get_model("models", "CardModel") | ||
|
||
for card in CardModel.objects.all(): | ||
cnw = CardXNodeXWidget.objects.filter(card=card)[1:] | ||
for item in cnw: | ||
item.delete() | ||
|
||
def reverse_func(apps, schema_editor): | ||
# there is no way to reverse this | ||
pass | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('models', '3965_cardxnodexwidget_visible'), | ||
] | ||
|
||
operations = [ | ||
migrations.RunPython(forwards_func, reverse_func), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
### Arches 4.3.3 release notes | ||
|
||
The Arches team has been busy improving Arches and fixing several bugs as well. | ||
Below you'll find a listing of all the changes that are included in the latest release. | ||
|
||
Some of the highlights: | ||
- Fixes duplicate entries in cards_x_nodes_x_widgets | ||
|
||
#### Known Issues | ||
|
||
- [#4044](https://github.com/archesproject/arches/issues/4044) - Exporting data that uses the File-list datatype in csv format can't be successfully re-imported. | ||
|
||
**Workaround:** If users need to export data that uses the File-list datatype, then they should export in JSON format instead, so that data can be successfully re-imported. | ||
|
||
#### Upgrading Arches | ||
|
||
Users are encouraged to update at their earliest convenience. Completely re-installing Arches is the easiest way to accomplish this. | ||
|
||
If you can't completely re-install Arches (because you have data in the system that you want to preserve) then you'll need to upgrade by running the following commands in your activated virtual environment: | ||
|
||
``` | ||
pip install arches --upgrade --no-binary :all: | ||
python manage.py migrate | ||
``` | ||
|
||
If you have Arches running on a web server such as Apache, be sure to update your static files directory and restart your web server. | ||
|
||
As always the documentation can be found at <http://arches.readthedocs.io> | ||
|
||
#### Upgrading an Arches project |