File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
28
28
- ` _str_to_datetime `
29
29
- Add class ` alert.MockInput ` with support for Cloud Functions
30
30
- 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 ` .
31
34
32
35
### Changed
33
36
@@ -37,10 +40,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
37
40
- Implement ` schema._ConfluentWireAvroSchema.serialize ` .
38
41
- Add IDs to ` Alert.attributes ` the first time it is accessed.
39
42
- 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.
40
45
41
46
### Removed
42
47
43
48
- Remove ` utils.Cast._strip_cutouts_ztf ` (moved to ` Alert ` )
49
+ - Remove ` Schema._header_bytes ` (replaced by ` version_id ` ).
44
50
45
51
## \[ v0.3.11\] - 2024-07-22
46
52
You can’t perform that action at this time.
0 commit comments