<commit_before>.. currentmodule:: databroker

v0.12.0 (2019-01-03)
--------------------
Enhancements
++++++++++++
* ``hdr.documents(...)`` now yields resources and datums from ``event``
  documents
* Event documents are now published in time order.
* Added ``event_sources_by_name()`` method to ``BrokerES`` class
* Added ``event_sources`` kwarg to ``Broker`` class
* Replaced ``url``, ``timezone`` and ``pvs`` kwargs in ``ArchiveEventSource``
  class with a ``config`` dictionary kwarg and updated other methods to use
  this.
* Added ``name`` and ``pvs`` attributes to ``ArchiveEventSource`` class and
  updated other methods to use these.
* Added ``tables_given_times`` method to ``ArchiveEventSource`` class.
* Added ``name`` property to ``EventSourceShim`` class

Bug Fixes
+++++++++

* Fixed an issue in the tutorial where importing databroker was forgotten.
* The docstring for the ``RegistryTemplate`` class has been fixed.<commit_msg>REL: making changes as requested by @dallan<commit_after>.. currentmodule:: databroker

v0.12.0 (2019-01-03)
--------------------
Enhancements
++++++++++++
* :meth:`~databroker.Header.documents(...)` now yields any Resource and Datum
  documents referenced by Event documents.
  documents
* Event documents are now published in time order.
* Added :meth:`~databroker.BrokerES.event_sources_by_name()` method to
  :class:`~databroker.BrokerES` class
* Added ``event_sources`` kwarg to :class:`~databroker.Broker` class
* Replaced ``url``, ``timezone`` and ``pvs`` kwargs in
  :class:`~databroker.ArchiveEventSource`` class with a ``config`` dictionary
  kwarg and updated other methods to use this.
* Added :attr:`~databroker.ArchiveEventSource.name` and
  :attr:`~databroker.ArchiveEventSource.pvs` attributes to
  :class:`~databroker.ArchiveEventSource`` class and updated other methods to
  use these.
* Added :meth:`~databroker.ArchiveEventSource.tables_given_times` method to
  :class:`~databroker.ArchiveEventSource` class.
* Added :attr:`~databroker.EventSourceShim.name`` property to
  :class:`~databroker.EventSourceShim` class

Bug Fixes
+++++++++

* Fixed an issue in the tutorial where importing databroker was forgotten.
* The docstring for the :class:`~databroker.RegistryTemplate` class has been
  fixed.
{'fraction_non_alphanumeric': 0.15170278637770898, 'fraction_numerical': 0.010614772224679346, 'mean_word_length': 5.080645161290323, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4310423', 'n_tokens_mistral': 725, 'n_tokens_neox': 661, 'n_words': 219}