Skip to content

Releases: clairBuoyant/pybuoy

v0.5.5

04 Jul 05:30
c540a32
Compare
Choose a tag to compare

Security


Full Changelog: v0.5.4...v0.5.5

v0.5.4

13 Apr 05:51
195d989
Compare
Choose a tag to compare

Security

Internal


Full Changelog: v0.5.3...v0.5.4

v0.5.3

16 Jan 01:36
67c27c4
Compare
Choose a tag to compare

Security

Internal

v0.5.2

24 May 12:59
3dd2675
Compare
Choose a tag to compare

Security

  • 🚨 Address CVE-2023-32681 by updating requests to >=2.31.0. (45c73de by @kylejb)
  • ⚙️ Bump all dependencies to latest. (45c73de by @kylejb)

v0.5.1

26 Mar 18:26
8ac07cc
Compare
Choose a tag to compare

Fixes

  • 🐛 Support JSON by replacing NaN with None as default value. (#22 by @kylejb)

Internal

  • ⚙️ Bump all dependencies to latest.

v0.5.0

04 Mar 16:21
cf96907
Compare
Choose a tag to compare

Features

  • Forecasts: get wave and wind forecasts by lat/lon. (#19 by @Grieze, #20 by @kylejb)
    • get returns an iterable ForecastObservations object. The type of iterable provided is ForecastObservation.
    • Special Thanks: @Grieze

Documentation

Internal

  • ⚙️ Bump all dependencies to latest. (#20 by @kylejb)
  • 🚨 Security fix for CVE-2022-23491 by bumping certifi to 2022.12.07. (#20 by @kylejb)

v0.4.3

19 Sep 12:13
1da634a
Compare
Choose a tag to compare

Documentation

  • ✏️ Scaffold and publish documentation for pybuoy. (PR #16 by @kylejb)

Internal

  • ⚙️ Bump all development dependencies to latest. (PR #16 by @kylejb)
  • ⚙️ Organize dependencies in pyproject.toml by groups (e.g., "dev" and "docs"). (PR #16 by @kylejb)

v0.4.2

05 Sep 22:36
74c4a40
Compare
Choose a tag to compare

Features

mypy

ObservationDatum

  • ObservationFloatDatum: validate numeric values (previously named ObservationDatum); .value returns either float or None. (PR #14 by @kylejb)
  • ObservationStringDatum: validate non-numeric values; .value returns either str or None. (PR #14 by @kylejb)

Observation

  • MeteorologicalObservation: attributes return either ObservationFloatDatum or ObservationStringDatum after validating data provided from NDBC. (PR #14 by @kylejb)
  • WaveSummaryObservation: attributes return either ObservationFloatDatum or ObservationStringDatum after validating data provided from NDBC. (PR #14 by @kylejb)

Observations

  • MeteorologicalObservations: can use += syntax on an instance of this class in order to append MeteorologicalObservation records. (PR #14 by @kylejb)
  • WaveSummaryObservations: can use += syntax on an instance of this class in order to append WaveSummaryObservation 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

  • ⚙️ Bump all development dependencies to latest. (PR #14 by @kylejb)
  • 🧪 Update tests to include checks for expected attributes by dataset type. (PR #14 by @kylejb)

v0.4.1

01 Sep 02:42
97f1f4b
Compare
Choose a tag to compare

Fix

  • 🐛 MeteorologicalObservation: change dominate_wave_period to dominant_wave_period. (881c95c by @kylejb)

v0.4.0

29 Aug 16:10
b416bb6
Compare
Choose a tag to compare

Breaking Changes

  • ⚠️ Realtime: get returns an iterable Observations 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 to None (type: NoneType) when datum missing instead of nan (type: float). This will improve experience when working with JSON 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)

Internal

  • ⚙️ Bump all pre-commit hooks to latest. (PR #12 by @kylejb)
  • ⚙️ Bump all dependencies to latest. (PR #12 by @kylejb)