Skip to content

Commit

Permalink
Invenio v2.0.2
Browse files Browse the repository at this point in the history
Signed-off-by: Tibor Simko <[email protected]>
  • Loading branch information
tiborsimko committed Apr 17, 2015
1 parent 2c47e46 commit 5a19cb2
Show file tree
Hide file tree
Showing 5 changed files with 522 additions and 45 deletions.
4 changes: 4 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ Active contributors:
* Guillaume Lastecoueres <[email protected]>
* Harris Tzovanakis <[email protected]>
* Ivan Masár <[email protected]>
* Jacopo Notarstefano <[email protected]>
* Jan Aage Lavik <[email protected]>
* Jan Stypka <[email protected]>
* Javier Martin <[email protected]>
* Jiri Kuncar <[email protected]>
* Jocelyne Jerdelet <[email protected]>
Expand All @@ -34,6 +36,8 @@ Active contributors:
* Laura Rueda <[email protected]>
* Leonardo Rossi <[email protected]>
* Ludmila Marian <[email protected]>
* Marco Neumann <[email protected]>
* Marios Kogias <[email protected]>
* Mateusz Susik <[email protected]>
* Miguel Martín <[email protected]>
* Mike Sullivan <[email protected]>
Expand Down
191 changes: 191 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,197 @@ releases. For more information about the current release, please
consult RELEASE-NOTES. For more information about changes, please
consult ChangeLog.

Invenio v2.0.2 -- released 2015-04-17
-------------------------------------

Security fixes
~~~~~~~~~~~~~~

+ celery:

- Forces Celery to only accept msgpack content when using standard
configuration. This disallows pickle messages which can be used
for remote code execution. (#3003)

+ global:

- Disables all attempts to serve directory listings for directories
found under static root.

Incompatible changes
~~~~~~~~~~~~~~~~~~~~

+ celery:

- If you use any Celery serializer other than msgpack, you must
update configuration variable CELERY_ACCEPT_CONTENT to include
that serializer.

+ pidstore:

- Refactors DataCite provider to use the new external DataCite API
client.

- Removes DataCite API client from Invenio.

New features
~~~~~~~~~~~~

+ docs:

- Adds "Code of Conduct" to the "Community" documentation.

- Adds new fast track deprecation policy.

- Documents commit message labels used by developers (such as NEW,
SECURITY, FIX, etc.) used in automatic generation of structured
release notes. (#2856)

+ global:

- Adds a `inveniomanage config locate` command to request the
location of the instance config file.

- Adds new configurable variable `INVENIO_APP_CONFIG_ENVS` that can
be set both from `invenio.cfg` and OS environment. Application
factory iterates over comma separated list of configuration
variable names and updates application config with equivalent OS
environment value. (#2858)

+ template:

- Adds 'u' filter that converts str to unicode in Jinja2 templates
since support for str has been deprecated. Example: `{{ mystr|u
}}`. (#2862)

Improved features
~~~~~~~~~~~~~~~~~

+ docs:

- Adds example of how to deprecate a feature and includes
deprecation policy in documentation.

+ global:

- Moves datacite API wrapper to external package.

- Escapes all unicode characters in Jinja2 templates.

+ installation:

- Apache virtual environments are now created with appropriate
`WSGIDaemonProcess` user value, taken from the configuration
variable `CFG_BIBSCHED_PROCESS_USER`, provided it is set. This
change makes it easier to run Invenio under non-Apache user
identity.

- Apache virtual environments are now created with appropriate
`WSGIPythonHome` directive so that it would be easier to run
Invenio from within Python virtual environments.

+ jsonalchemy:

- Introduces support for accepting MARC fields having any
indicator. (#1722 #2075)

Bug fixes
~~~~~~~~~

+ admin:

- Adds `admin.js` bundle that loads `select2.js` library on `/admin`
pages. (#2690 #2781)

+ assets:

- Implements `__deepcopy__` method for `webassets.filter.option` in
order to fix unexpected behavior of the `option` class contructor.
(#2777 #2864 #2921)

+ documents:

- Flask-Login import in field definition. (#2905)

- Safer upgrade recipe for migrations from the old document storage
model (used in v1.1) to the new document storage model (used in
v1.2).

+ global:

- Drops support for serving directories in Apache site configuration
to avoid problems with loading '/admin' url without trailing slash
that attempts to serve the static directory of the same
name. (#2470 #2943)

+ installation:

- Adds Babel as setup requirements for installing compile_catalog
command.

+ jsonalchemy:

- Fixes the definition of time_and_place_of_event_note,
series_statement and source_of_description fields.

+ oairepository:

- Switches keys in CFG_OAI_METADATA_FORMATS configuration mapping.
(#2962)

- Amends bfe_oai_marcxml element since get_preformatted_record does
not return a tuple anymore.

+ search:

- Fixes portalbox text overflow and and syntax error in CSS.
(#3023)

- Collection names containing slashes are now supported again.
However we recommend not to use slashes in collection names; if
slashes were wanted for aesthetic reasons, they can be added in
visible collection translations. (#2902)

+ sorter:

- Comparison function of record tags uses space concatened string
from list of all tags values. (#2750)

Notes
~~~~~

+ assets:

- Adds deprecation warning when LESS_RUN_IN_DEBUG is used. (#2923)

+ global:

- Deprecates use of invenio.utils.datacite:DataCite (to be removed
in Invenio 2.2).

- External authentication methods are being deprecated. Please use
`invenio.modules.oauthclient` or Flask-SSO instead. (#1083)

- Recreate Apache site configurations using new template. Run
following command: `inveniomanage apache create-config`.

- Deprecates custom remote debuggers. Please use native Werkzeug
debugger or other (*)pdb equivalents. (#2945)

- Adds deprecation warning for `invenio.ext.jinja2hacks` and all
detected non-ascii strings usage in templates mainly coming from
legacy (1.x) modules. (#2862)

+ installation:

- Limits version of SQLAlchemy<=1.0 and SQLAlchemy-Utils<=0.30.

+ oairepository:

- Changes current behavior of OAI-PMH server for logged in users to
take into account all records a user can view and not only public
records.

Invenio v2.0.1 -- released 2015-03-20
-------------------------------------

Expand Down
Loading

0 comments on commit 5a19cb2

Please sign in to comment.