Skip to content

Commit 7373ab5

Browse files
committed
Update CHANGELOG
1 parent c1db96e commit 7373ab5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
2828
- `_str_to_datetime`
2929
- Add class `alert.MockInput` with support for Cloud Functions
3030
- Add dependencies `hpgeom` and `google-cloud-functions`.
31+
- Add `Schema.version_id` (replaces `_header_bytes`) and `Schema._init_from_bytes` to handle
32+
cases where `_ConfluentWireAvroSchema` needs to get the schema version from the avro header.
33+
- Unit tests `test_serialize_without_definition` and `test_unsupported_version_lsst`.
3134

3235
### Changed
3336

@@ -37,10 +40,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
3740
- Implement `schema._ConfluentWireAvroSchema.serialize`.
3841
- Add IDs to `Alert.attributes` the first time it is accessed.
3942
- Dependencies: Lazy load astropy.
43+
- Refactor `lsst_schema_helper` to get version from avro header.
44+
- Update `Alert._prep_for_publish` to call `Schema._init_from_bytes` if needed before serializing.
4045

4146
### Removed
4247

4348
- Remove `utils.Cast._strip_cutouts_ztf` (moved to `Alert`)
49+
- Remove `Schema._header_bytes` (replaced by `version_id`).
4450

4551
## \[v0.3.11\] - 2024-07-22
4652

0 commit comments

Comments
 (0)