Releases: martinkozle/pulse-eco
Releases · martinkozle/pulse-eco
v2.3.2
v2.3.1
Bug fixes
- Fix a bug with the
split_datetime_span
logic where if you pass a total span exactly equal to the maximum timedelta you would get an extra "invalid" span withfr
being a second afterto
, resulting in a HTTP 400 error frompulse.eco
. An example would be requesting exactly 7 days ofdata_raw
.
Full Changelog: v2.3.0...v2.3.1
v2.3.0
Warning
⚠️ Breaking Changes ⚠️
- Pydantic and requests are no longer included in the base package, the previous v2.2.4 base package dependencies are now equivalent to
pulse-eco[client,requests]
Deprecations
- The
session
argument is now deprecated,client
should now be used instead for sync HTTP clients andasync_client
for async - Importing from
pulseeco.enums
andpulseeco.models
is now deprecated, instead either import frompulseeco.client
or more explicitly frompulseeco.client.enums
andpulseeco.client.models
Highlights
PulseEcoAPI
andPulseEcoClient
now have async methods- Support for multiple different HTTP clients (docs)
- Using the higher level client
PulseEcoClient
is now an opt-in extrapulse-eco[client]
, which installs Pydantic, making the package more modular and portable
What's Changed
- Modularity by @martinkozle in #6
Full Changelog: v2.2.4...v2.3.0
v2.2.4
Full Changelog: v2.2.3...v2.2.4
v2.2.3
Full Changelog: v2.2.2...v2.2.3
v2.2.2
Fix broken build CI issue
v2.2.0
v2.1.0
v2.0.1
2.0.1 (2023-10-29)
Changes
- Remove
pandas
as optional dependency - Remove
pulseeco
CLI script
Full Changelog: v2.0.0...v2.0.1
v2.0.0
2.0.0 (2023-10-29)
Changes
- Previous
PulseEco
class is now mostlyPulseEcoAPI
- Add
PulseEcoClient
class which wrapsPulseEcoAPI
with Pydantic 2 models and enums - Improve docs
- Remove CLI command
- General improvements to the project and code base
Full Changelog: v1.0.2...v2.0.0