Skip to content

Commit

Permalink
Adding 0.5.1 release notes and updating __version__ value.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevgeni Litvin authored and selitvin committed Dec 27, 2018
1 parent 786456a commit 7580136
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
26 changes: 23 additions & 3 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@
Release notes
=============


Release 0.5.1
=============

Breaking changes
----------------
None

New features and bug fixes
--------------------------
- ``make_batch_reader`` and ``make_reader`` now take an optional ``schema_fields`` argument. The argument may contain
a list of field names or regular expression patterns that define a set of columns loaded from a parquet store.
- The following data types are now supported when opening a non-Petastorm Parquet store using ``make_batch_reader``:

- ``DateType``
- ``TimestampType``
- ``ArrayType``


Release 0.5.0
=============

Expand All @@ -12,9 +31,10 @@ Breaking changes
- :func:`~petastorm.reader.make_reader` should be used to create new instance of a reader.
- It is still possible, but not recommended to use :class:`~petastorm.reader.Reader` in most cases. Its constructor arguments
has changed:
-- ``training_partition`` and ``num_training_partitions`` were renamed into ``cur_shard`` and ``shard_count``.
-- ``shuffle`` and ``shuffle_options`` were replaced by ``shuffle_row_groups=True, shuffle_row_drop_partitions=1``
-- ``sequence`` argument was removed

- ``training_partition`` and ``num_training_partitions`` were renamed into ``cur_shard`` and ``shard_count``.
- ``shuffle`` and ``shuffle_options`` were replaced by ``shuffle_row_groups=True, shuffle_row_drop_partitions=1``
- ``sequence`` argument was removed


New features and bug fixes
Expand Down
2 changes: 1 addition & 1 deletion petastorm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

from petastorm.reader import make_reader, make_batch_reader # noqa: F401

__version__ = '0.5.0'
__version__ = '0.5.1'

0 comments on commit 7580136

Please sign in to comment.