Releases: mwvgroup/pittgoogle-client
Releases · mwvgroup/pittgoogle-client
v0.3.9
v0.3.8
v0.3.7
[v0.3.7] - 2024-07-02
Added
- A default schema to be used when no schema is provided.
- Child classes for
schema.Schemathat 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. Useexceptions.SchemaErrorinstead. - Removed dependency on
lsst-alert-packetpackage. 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
v0.3.5
[v0.3.5] - 2024-07-01
Added
- Support for the LSST alert schema.
types_.Schema._from_yamlclass method and the related helpers_local_schema_helperand
_lsst_schema_helper.- Dependency on
lsst-alert-packetpackage for the_lsst_schema_helper. types_.Schema.schemaless_alert_bytesbool indicating whether the alert bytes are schemaless
and thus atypes_.Schema.definitionis required in order to serialize and deserialize them.types_.Schama.manifestcontaining the schemas.yml file loaded as a list of dicts.types_.Schema.filter_map, moved from the schema map's "FILTER_MAP".Schema.originand 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_topicclobber 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.definitionis 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 bytypes_.Schema.definition.- Schema-map keys "SURVEY_SCHEMA" (replaced), "TOPIC_SYNTAX" (dropped), "FILTER_MAP" (moved).
v0.3.4
[v0.3.4] - 2024-06-29
Added
- Documentation pages for
alertandtypes_.
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 oftyping.Optional. - Moved usage examples into the respective class docstrings.
- Cleaned up some documentation verbiage and Sphinx directives.
v0.3.3
v0.3.2
[v0.3.2] - 2024-06-28
Added
PubSubInvalidexception. Raised when an invalid Pub/Sub configuration is encountered.
Changed
- Major documentation reorganization and updates.
- Rename the
PubSub.Consumerparameterbatch_maxwait->batch_max_wait_between_messagesfor clarity.
v0.3.1
[0.3.1] - 2024-06-26
Added
- Subscription.purge method.
Fixed
- Bugfix message format in Alert.from_cloud_run.
Changed
- Updated dependencies in poetry.lock file to latest versions.
- Relaxed pandas version pin in pyproject.toml file (for SuperNNova library).
Removed
- pittgoogle_env.yml file
v0.3.0
[0.3.0] - 2024-06-08
Added
AlertandTableclasses.- Registry for alert schemas and GCP Project IDs.
- Alert schemas (Avro) and schema maps (yaml).
- Exceptions:
BadRequestandSchemaNotFoundError. - Types:
PubsubMessageLikeandSchema. - ZTF Figures Tutorial
Changed
- Major updates to
pubsubclasses. - Make README.md point to the new docs.
Removed
figuresmodule (content moved to tutorial). This allowed the removal of the following explicit
dependencies:aplpy,matplotlib,numpy. Content moved to ZTF Figures Tutorial.- v0.1
bigqueryfunctions. - Setup and requirements files that are no longer needed after switching away from Read The Docs.