Skip to content

Commit

Permalink
Bump to 1.0.3 for stream record ordering fix
Browse files Browse the repository at this point in the history
  • Loading branch information
numberoverzero committed Mar 6, 2017
1 parent 0d53fd0 commit 0489779
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
22 changes: 20 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,29 @@ __ https://gist.github.com/numberoverzero/c5d0fc6dea624533d004239a27e545ad
.. _Issue #71: https://github.com/numberoverzero/bloop/issues/71


--------------------
1.0.3 - 2017-03-05
--------------------

Bug fix.

Fixed
=====

* Stream orders records on the integer of SequenceNumber, not the lexicographical sorting of its string
representation. This is an annoying bug, because `as documented`__ we **should** be using lexicographical sorting
on the opaque string. However, without leading 0s that sort fails, and we must assume the string represents an
integer to sort on. Particularly annoying, tomorrow the SequenceNumber could start with non-numeric characters
and still conform to the spec, but the sorting-as-int assumption breaks. However, we can't properly sort without
making that assumption.

__ http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_StreamRecord.html#DDB-Type-streams_StreamRecord-SequenceNumber

--------------------
1.0.2 - 2017-03-05
--------------------

Minor bugfix.
Minor bug fix.

Fixed
=====
Expand All @@ -33,7 +51,7 @@ Fixed
1.0.1 - 2017-03-04
--------------------

DateTime extensions now use the literal ``"utc"`` for a default timezone, and ``next(stream)`` now works.
Bug fixes.

Changed
=======
Expand Down
2 changes: 1 addition & 1 deletion bloop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
# Misc
"Condition", "QueryIterator", "ScanIterator", "Stream"
]
__version__ = "1.0.2"
__version__ = "1.0.3"

0 comments on commit 0489779

Please sign in to comment.