Skip to content

Commit f12c528

Browse files
committed
Release v1.1.0
1 parent 912297e commit f12c528

File tree

6 files changed

+22
-14
lines changed

6 files changed

+22
-14
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.1.0
2+
current_version = 1.1.0
33
commit = False
44
allow_dirty = True
55

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
# Changelog
22
Versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html) (`<major>`.`<minor>`.`<patch>`)
33

4-
## [vNext]
4+
## [v1.1.0]
55
### Added
66
* #3 Add optional screenshot UI target, enabled using the `SHOW_SCREENSHOT_BUTTON` config var
77
* #3 Add aircraft information popup on icon touch
88
* Add UI indicator to show when touch input is being blocked by a URL request
9+
* #12 Add `USE_DEFAULT_MAP` config var to control whether or not to attempt to obtain the map tile from Geoapify
10+
11+
### Fixed
12+
* #12 Fix map tile being hardcoded to using the default vs. querying Geoapify
13+
14+
### Changed
15+
* (Internal) Refactor initialization flow to attempt to preserve memory early on for high-usage tasks
916

1017
## [v1.0.0]
1118
Initial release 🎉

code.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
from skyportal.displaylib import SkyPortalUI
1010
from skyportal.maplib import build_bounding_box
11-
from skyportal.opensky import APIException, APITimeoutError, OpenSky
11+
from skyportal.networklib import APIException, APITimeoutError
12+
from skyportal.opensky import OpenSky
1213

1314
try:
1415
from secrets import secrets

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tool.poetry]
22
name = "skyportal"
3-
version = "0.1.0"
3+
version = "1.1.0"
44
description = "A PyPortal based flight tracker"
55
authors = ["sco1 <sco1.git@gmail.com>"]
66

77
readme = "README.md"
88
homepage = "https://github.com/sco1/"
99
repository = "https://github.com/sco1/skyportal"
1010
classifiers = [
11-
"Development Status :: 3 - Alpha",
11+
"Development Status :: 5 - Production/Stable",
1212
"Intended Audience :: Developers",
1313
"License :: OSI Approved :: MIT License",
1414
"Operating System :: Other OS",

skyportal/networklib.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
pass
66

77

8+
class APITimeoutError(TimeoutError): # noqa: D101
9+
pass
10+
11+
12+
class APIException(RuntimeError): # noqa: D101
13+
pass
14+
15+
816
def build_url(base: str, params: dict[str, t.Any]) -> str:
917
"""Build a url from the provided base & parameter(s)."""
1018
param_str = "&".join(f"{k}={v}" for k, v in params.items())

skyportal/opensky.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from circuitpython_base64 import b64encode
66

77
from skyportal.aircraftlib import AircraftState
8-
from skyportal.networklib import build_url
8+
from skyportal.networklib import APIException, APITimeoutError, build_url
99

1010
# CircuitPython doesn't have the typing module, so throw this away at runtime
1111
try:
@@ -16,14 +16,6 @@
1616
OPENSKY_URL_BASE = "https://opensky-network.org/api/states/all"
1717

1818

19-
class APITimeoutError(TimeoutError): # noqa: D101
20-
pass
21-
22-
23-
class APIException(RuntimeError): # noqa: D101
24-
pass
25-
26-
2719
def _build_opensky_request(
2820
lat_min: float,
2921
lat_max: float,

0 commit comments

Comments
 (0)