forked from inveniosoftware/invenio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASE-NOTES
184 lines (126 loc) · 4.83 KB
/
RELEASE-NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
============================
Invenio v2.1.1 is released
============================
Invenio v2.1.1 was released on September 1, 2015.
About
-----
Invenio is a digital library framework enabling you to build your own
digital library or document repository on the web.
Security fixes
--------------
+ global
- Fixes potential XSS issues by changing main flash messages
template so that they are not displayed as safe HTML by default.
+ search
- Fixes potential XSS issues by changing search flash messages
template so that they are not displayed as safe HTML by default.
Incompatible changes
--------------------
+ access
- Removes configuration option CFG_SUPERADMINROLE_ID.
- Replaces all zero values with NULL in the table
accROLE_accACTION_accARGUMENT. The usage of NULL value in
substitution of zero value was introduced in the commit 7974188
because Foreign Key does not support it.
Improved features
-----------------
+ I18N
- Completes Italian translation.
- Completes French translation.
+ accounts
- Uses the localized site name when sending email to users. (#3273)
+ docker
- Improves Docker documentation notably related to how to work with
Invenio site overlays.
+ global
- Adds super(SmartDict, self).__init__ call in the __init__ method
in SmartDict to be able to make multiple inheritance in Record
class in invenio-records and be able to call both parent's
__init__.
+ jasmine
- Allows using variables from application config for building asset
bundles.
+ legacy
- Improves exception handling of integrity errors raised by MySQLdb
library.
Bug fixes
---------
+ OAIHarvest
- Fixes the parsing of resumptiontoken in incoming OAI-PMH XML which
could fail when the resumptiontoken was empty.
+ access
- Sets superadmin role ID included in roles list returned from
acc_find_possible_roles to the correct, current value. (#3390)
(#3392)
- Fixes the authorization delete query to consider NULL value on
id_accARGUMENT authorization column. The usage of NULL value in
substitution of zero value was introduced in the commit 7974188
because Foreign Key does not support it.
- Fixes property id_accARGUMENT of AccAuthorization model.
+ encoder
- Corrects the `compose_file` function call in `process_batch_job`
to produce `<directory>/content.<extension>` instead of
`<directory>/content.content;<extension>`. (#3354)
+ global
- Fixes the way configuration variables are parsed from ENV. It now
uses the same method we are using in `inveniomanage config set`.
This fixes the problem that `False` is not parsed correctly.
+ i18n
- Updates PO message catalogues and cleans them of duplicated
messages. (#3455)
+ indexer
- Adds missing `get_nearest_terms_in_idxphrase_with_collection`
import. Fixes the name of field argument, and returns an empty
list when no model is passed. (#3271)
+ installation
- Fixes database creation and upgrading by limiting Alembic version
to <0.7.
+ legacy
- Addresses an issue with calling six urllib.parse in a wrong way,
making users unable to harvest manually from the command line.
+ login
- Provides flash message to indicate that an email with password
recovery could not be sent. (#3309)
+ search
- Enforces query string to be unicode to overcome pypeg2 parsing
issues. (#3296)
- Fixes admin interface for managing facets. (#3333)
Notes
-----
+ global
- Displaying HTML safe flash messages can be done by using one of
these flash contexts: '(html_safe)', 'info(html_safe)',
'danger(html_safe)', 'error(html_safe)', 'warning(html_safe)',
'success(html_safe)' instead of the standard ones (which are the
same without '(html safe)' at the end).
- Backports Flask-IIIF extension from original commit
213b6f1144734c9ecf425a1bc7b78e56ee5e4e3e. The extension is not
enabled by default in order to avoid feature addition to existing
minor release.
+ search
- Displaying HTML safe flash messages can be done by using one of
these flash contexts: 'search-results-after(html_safe)',
'websearch-after-search-form(html_safe)' instead of the standard
ones (which are the same without '(html safe)' at the end).
Installation
------------
$ pip install invenio==2.1.1
Upgrade
-------
$ bibsched stop
$ sudo systemctl stop apache2
$ pip install --upgrade invenio==2.1.1
$ inveniomanage upgrader check
$ inveniomanage upgrader run
$ sudo systemctl start apache2
$ bibsched start
Documentation
-------------
http://invenio.readthedocs.org/en/v2.1.1
Happy hacking and thanks for flying Invenio.
| Invenio Development Team
| Email: [email protected]
| IRC: #invenio on irc.freenode.net
| Twitter: http://twitter.com/inveniosoftware
| GitHub: http://github.com/inveniosoftware
| URL: http://invenio-software.org