From 407326cfa6e1ea4e5990083d9c8251c7ae0533c1 Mon Sep 17 00:00:00 2001 From: Michael Wayne Goodman Date: Mon, 1 Apr 2019 16:51:49 +0800 Subject: [PATCH] v0.9.2 release resolves #180 resolves #181 resolves #186 fixes #200 fixes #203 --- CHANGELOG.md | 52 ++++++++++++++++++++++++++++++++++++++++++++ CONTRIBUTING.md | 2 +- delphin/__about__.py | 4 ++-- docs/conf.py | 2 +- setup.py | 1 + 5 files changed, 57 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb547592..99c7d558 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,58 @@ these changes are prefixed with "**BREAKING**" ## [Unreleased][unreleased] +## [v0.9.2][] + +### Python Versions + +* Added Python 3.7 support + +### Added + +* `delphin.interfaces.ace.AceProcessError` for unrecoverable ACE crashes (#181) +* ACE command-line options are allowed with `delphin process --options=...` + and in `delphin.commands.process(..., options=...)` (#180) +* `delphin.itsdb.Record.from_dict()` +* `delphin.itsdb.Table` (#186) + - `write()` + - `attach()` + - `detach()` + - `commit()` + - `is_attached()` + - `list_changes()` + - Various methods to replace `list` functionality: `append()`, `extend()`, + `__len__()`, `__getitem__()`, `__setitem__()`, and `__iter__()` +* `delphin.itsdb.TestSuite.process()` the `gzip` and `buffer_size` parameters +* `-z` / `--gzip` option to the `delphin process` command + +### Fixed + +* `delphin.mrs.eds` parsing of predicates and empty property lists (#203) +* `delphin.commands.convert` wrap the inner step of conversion in a try-except + block to more gracefully handle crashes on a single input. (#200) +* `delphin.itsdb.TestSuite.write()` re-enable the `append` parameter + +### Removed + +* **BREAKING** `name` parameter on `delphin.itsdb.Table`. The `name` attribute + is still available as it is taken from the table's schema. + +### Changed + +* **BREAKING** `delphin.itsdb.Table` is no longer a subtype of `list`, meaning + that some list-like behavior is gone. Most relevant functionality is + recreated (e.g., `append()`, `extend()`, `__getitem__()`, `__len__()`, etc.) +* **BREAKING** `delphin.itsdb.Record` can no longer be instantiated with a dict + with column data; use `Record.from_dict()` +* **BREAKING** `delphin.itsdb.Record` stores data as strings, always retrieves + by default as cast types. Use `Record.get(..., cast=False)` to get the raw + string value. + +### Deprecated + +* `delphin.mrs.convert()` use `delphin.commands.convert` instead + + ## [v0.9.1][] ### Fixed diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7dd63786..97f84ff0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ For bug requests, please provide the following, if possible: ```python >>> from delphin.__about__ import __version__ >>> __version__ - '0.9.0' + '0.9.2' ``` * Python version (e.g. 2.7, 3.4, etc.) diff --git a/delphin/__about__.py b/delphin/__about__.py index 1548c239..9beb1cf4 100644 --- a/delphin/__about__.py +++ b/delphin/__about__.py @@ -3,7 +3,7 @@ # the warehouse project: # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py -__version__ = '0.9.1' +__version__ = '0.9.2' __version_info__ = __version__.replace('.', ' ').replace('-', ' ').split() __title__ = 'PyDelphin' @@ -16,4 +16,4 @@ __maintainer__ = 'Michael Wayne Goodman and Angie McMillan-Major' __license__ = 'MIT' -__copyright__ = '2013--2018 %s <%s> and contributors' % (__author__, __email__) +__copyright__ = '2013--2019 %s <%s> and contributors' % (__author__, __email__) diff --git a/docs/conf.py b/docs/conf.py index b35f8b3f..0c9f893f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ import delphin project = delphin.__title__ -copyright = u'2018, Michael Wayne Goodman' +copyright = u'2019, Michael Wayne Goodman' author = delphin.__author__ # The short X.Y version diff --git a/setup.py b/setup.py index a81803f8..ec057b76 100755 --- a/setup.py +++ b/setup.py @@ -47,6 +47,7 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Topic :: Scientific/Engineering :: Information Analysis', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Text Processing :: Linguistic',