Skip to content

Releases: mwvgroup/pittgoogle-client

v0.3.11

22 Jul 21:06
73d8865
Compare
Choose a tag to compare

[v0.3.11] - 2024-07-22

Added

  • Add 'Surveys' documentation section with pages for ZTF and LVK.
  • Add LVK to Data Listings page.

Changed

  • Reorganize and update data listings.
  • Add FAQ content.
  • Clean up docs. Remove 'TODO's. Add autosummary to module pages.
  • Update Google pricing on FAQ Costs.

Prep v0.3.10 release (#61)

22 Jul 16:35
5cc9559
Compare
Choose a tag to compare

[v0.3.10] - 2024-07-22

Added

  • Add bigquery.Client class.
  • Add class attributes Table.query, Table.schema.
  • Add dependency on 'db-dtypes' to support BigQuery -> Pandas.

Changed

  • Remove Table.auth and simplify Table.client. This functionality is now managed by
    bigquery.Client.
  • In Table and Topic, the project ID is no longer changed away from what the user provided.
    It was more confusing and dangerous than it was helpful.

Removed

  • Table.auth

v0.3.9

02 Jul 21:29
331bbea
Compare
Choose a tag to compare

[v0.3.9] - 2024-07-02

Changed

  • Minor documentation updates.

v0.3.8

02 Jul 21:06
d55b336
Compare
Choose a tag to compare

[v0.3.8] - 2024-07-02

Changed

  • Loosen astropy version restriction to ">=5.3". astropy v<6.0.0 is required by supernnova v3.0.1
    which is not a direct dependency of pittgoogle-client but is often used with it.

v0.3.7

02 Jul 20:38
9747522
Compare
Choose a tag to compare

[v0.3.7] - 2024-07-02

Added

  • A default schema to be used when no schema is provided.
  • Child classes for schema.Schema that are specific to different serialization formats.

Fixed

  • Support for the latest LSST schema version (lsst.v7_1.alert). Note that this is the only LSST schema
    version currently supported.

Changed

  • Renamed exceptions.SchemaNotFoundError -> exceptions.SchemaError, repurposed for more general use.
  • Updates to documentation.

Removed

  • Removed exceptions.OpenAlertError. Use exceptions.SchemaError instead.
  • Removed dependency on lsst-alert-packet package. We cannot install this from a git repo and also
    publish our package to PyPI. Need to figure out how to fix this. Without it,
    'schema.SchemaHelper.lsst_auto_schema_helper' will not work.

v0.3.6

01 Jul 18:18
3133b0e
Compare
Choose a tag to compare

[v0.3.6] - 2024-07-01

Changed

  • Renamed exceptions.PubSubInvalid -> exceptions.CloudConnectionError, repurposed for more general use.
  • Minor docs updates.

v0.3.5

01 Jul 12:14
4572e27
Compare
Choose a tag to compare

[v0.3.5] - 2024-07-01

Added

  • Support for the LSST alert schema.
  • types_.Schema._from_yaml class method and the related helpers _local_schema_helper and
    _lsst_schema_helper.
  • Dependency on lsst-alert-packet package for the _lsst_schema_helper.
  • types_.Schema.schemaless_alert_bytes bool indicating whether the alert bytes are schemaless
    and thus a types_.Schema.definition is required in order to serialize and deserialize them.
  • types_.Schama.manifest containing the schemas.yml file loaded as a list of dicts.
  • types_.Schema.filter_map, moved from the schema map's "FILTER_MAP".
  • Schema.origin and schema-map key name "SCHEMA_ORIGIN" (see Changed).
  • types_.Schema.definition. Not actually new, but repurposed (see Changed, Removed).

Fixed

  • Don't let Subscription._set_topic clobber an existing topic attribute. This was preventing the user
    from creating a subscription attached to a topic in a different project.

Changed

  • Changed some schema-map keys to include an underscore for clarity, e.g., "magerr" -> "mag_err"
    (breaking change).
  • Change method to private Alert.add_id_attributes -> Alert._add_id_attributes.
  • Changed attribute name types_.Schema.definition -> Schema.origin. Related, changed
    schema-map key name "SURVEY_SCHEMA" -> "SCHEMA_ORIGIN". Both for clarity.
  • types_.Schema.definition is now used to hold the actual schema definition. Currently this only
    needed for Avro and so holds the dict loaded from the ".avsc" file(s).
  • Update docstrings for clarity and accuracy.
  • Improve type hints.
  • Fix up Sphinx and rst to improve how docs are being rendered.

Removed

  • types_.Schema.avsc. Replaced by types_.Schema.definition.
  • Schema-map keys "SURVEY_SCHEMA" (replaced), "TOPIC_SYNTAX" (dropped), "FILTER_MAP" (moved).

v0.3.4

29 Jun 11:14
5c1fde8
Compare
Choose a tag to compare

[v0.3.4] - 2024-06-29

Added

  • Documentation pages for alert and types_.

Changed

  • Updated docs dependencies. This helped fix a bug that was preventing some documentation from building.
  • Modernized some type hints to (e.g.,) use | instead of typing.Optional.
  • Moved usage examples into the respective class docstrings.
  • Cleaned up some documentation verbiage and Sphinx directives.

v0.3.3

29 Jun 03:26
c493026
Compare
Choose a tag to compare

[v0.3.3] - 2024-06-28

Changed

  • Minor documentation updates.

v0.3.2

29 Jun 01:57
67ddefc
Compare
Choose a tag to compare

[v0.3.2] - 2024-06-28

Added

  • PubSubInvalid exception. Raised when an invalid Pub/Sub configuration is encountered.

Changed

  • Major documentation reorganization and updates.
  • Rename the PubSub.Consumer parameter batch_maxwait -> batch_max_wait_between_messages for clarity.