Releases: clairBuoyant/pybuoy
Releases · clairBuoyant/pybuoy
v0.5.5
Security
- 🚨 Address CVE-2024-35195 by updating
requests
to2.32.3
. (c76ccfe by @kylejb) - 🚨 Address CVE-2024-34064 by updating
jinja2
to3.1.4
. (c76ccfe by @kylejb) - 🚨 Address CVE-2024-37891 by updating
urllib3
to2.2.2
. (c76ccfe by @kylejb)
Full Changelog: v0.5.4...v0.5.5
v0.5.4
Security
- 🚨 Address CVE-2024-21503 by replacing vulnerable version of
black
withruff
. (03f9e3f by @kylejb) - 🚨 Address CVE-2024-3651 by updating
idna
to3.7.0
. (03f9e3f by @kylejb)
Internal
- ⚙️ Replace
black
,flake8
, andisort
withruff
. (03f9e3f by @kylejb) - ⚙️ Update all dependencies to latest. (03f9e3f by @kylejb)
Full Changelog: v0.5.3...v0.5.4
v0.5.3
Security
- 🚨 Address CVE-2023-37920 by updating
certifi
to2023.7.22
. (41a59b4 by @kylejb) - 🚨 Address CVE-2024-22195 by updating
jinja2
to3.1.3
. (41a59b4 by @kylejb) - 🚨 Address CVE-2023-43804 and CVE-2023-43804 by updating
urllib3
to2.1.0
. (41a59b4 by @kylejb)
Internal
v0.5.2
v0.5.1
v0.5.0
v0.4.3
v0.4.2
Features
mypy
- ✨ Types:
realtime.get
infers exact return type from user-provided value fordataset
. (PR #14 by @kylejb)
ObservationDatum
- ✨ ObservationFloatDatum: validate numeric values (previously named
ObservationDatum
);.value
returns eitherfloat
orNone
. (PR #14 by @kylejb) - ✨ ObservationStringDatum: validate non-numeric values;
.value
returns eitherstr
orNone
. (PR #14 by @kylejb)
Observation
- ✨ MeteorologicalObservation: attributes return either
ObservationFloatDatum
orObservationStringDatum
after validating data provided from NDBC. (PR #14 by @kylejb) - ✨ WaveSummaryObservation: attributes return either
ObservationFloatDatum
orObservationStringDatum
after validating data provided from NDBC. (PR #14 by @kylejb)
Observations
- ✨ MeteorologicalObservations: can use
+=
syntax on an instance of this class in order to appendMeteorologicalObservation
records. (PR #14 by @kylejb) - ✨ WaveSummaryObservations: can use
+=
syntax on an instance of this class in order to appendWaveSummaryObservation
records. (PR #14 by @kylejb)
Documentation
- ✏️ Remove unnecessary
isinstance
checks from examples to take advantage of typing improvements introduced in this minor release. (PR #14 by @kylejb)
Internal
v0.4.1
v0.4.0
Breaking Changes
⚠️ Realtime:get
returns an iterableObservations
object instead of a list of lists containingObservation
objects.⚠️ Observation: now represents a collection of data recorded from buoy by unique datetime. Attributes are aligned to NDBC naming conventions.⚠️ ObservationDatum: value will default toNone
(type: NoneType) when datum missing instead ofnan
(type: float). This will improve experience when working withJSON
objects or databases.
Features
- ✨ Realtime:
get
now supports Wave Summary data (i.e., dataset="spec"). (PR #12 by @kylejb) - ✨ mypy: extend type checking support to all library objects and iterables. (PR #12 by @kylejb)
Documentation
- ✏️ Update documentation with clearer installation instructions. (PR #12 by @kylejb)
- ✏️ Update example to include revised responses. (PR #12 by @kylejb)