Skip to content

Commit

Permalink
Publish package v1.4.0
Browse files Browse the repository at this point in the history
Update version number and CHANGELOG.md.
  • Loading branch information
unflxw committed Oct 9, 2024
1 parent 75192ba commit e5e5db9
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 44 deletions.
11 changes: 0 additions & 11 deletions .changesets/change-primary-download-mirror.md

This file was deleted.

26 changes: 0 additions & 26 deletions .changesets/implement-heartbeat-checkins.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changesets/send-checkins-concurrently.md

This file was deleted.

35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# AppSignal for Python Changelog

## 1.4.0

_Published on 2024-10-09._

### Added

- Add support for heartbeat check-ins.

Use the `appsignal.check_in.heartbeat` function to send a single heartbeat check-in event from your application. This can be used, for example, in your application's main loop:

```python
from appsignal.check_in import heartbeat

while True:
heartbeat("job_processor")
process_job()
```

Heartbeats are deduplicated and sent asynchronously, without blocking the current thread. Regardless of how often the `.heartbeat` function is called, at most one heartbeat with the same identifier will be sent every ten seconds.

Pass `continuous=True` as the second argument to send heartbeats continuously during the entire lifetime of the current process. This can be used, for example, after your application has finished its boot process:

```python
def main():
start_app()
heartbeat("my_app", continuous=True)
```

(minor [687890b](https://github.com/appsignal/appsignal-python/commit/687890b54db3b9f03d8e0a7270586c545a89fdb6))

### Changed

- Change the primary download mirror for integrations. (patch [3e0bb9e](https://github.com/appsignal/appsignal-python/commit/3e0bb9e36eb3b0fbe2ae9b907fcda9060c018d2e))
- Send check-ins concurrently. When calling `appsignal.check_in.cron`, instead of blocking the current thread while the check-in events are sent, schedule them to be sent in a separate thread. (patch [687890b](https://github.com/appsignal/appsignal-python/commit/687890b54db3b9f03d8e0a7270586c545a89fdb6))

## 1.3.10

_Published on 2024-08-23._
Expand Down
2 changes: 1 addition & 1 deletion src/appsignal/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations


__version__ = "1.3.10"
__version__ = "1.4.0"

0 comments on commit e5e5db9

Please sign in to comment.