Skip to content

Commit

Permalink
changelog 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesongming committed Jul 7, 2022
1 parent 5d86e3b commit a45a95b
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 6 deletions.
1 change: 0 additions & 1 deletion .changelog/news/24.api

This file was deleted.

1 change: 0 additions & 1 deletion .changelog/news/24.doc

This file was deleted.

2 changes: 0 additions & 2 deletions .changelog/news/PR26.maint

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/publish_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
paths:
- docs
- overrides
pull_request:
types:
- closed
workflow_dispatch:


Expand All @@ -16,6 +19,10 @@ jobs:
deploy:
needs: whoami
runs-on: ubuntu-latest
if: >-
github.event_name == 'workflow_dispatch' ||
github.event_name == 'push' ||
(github.event_name == 'pull_request' && github.event.pull_request.merged)
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
${{
inputs.os == 'Linux' && 'ubuntu-20.04' ||
(
inputs.os == 'Windows' && 'windows-2019' || 'macos-11'
inputs.os == 'Windows' && 'windows-2022' || 'macos-11'
)
}}
outputs:
Expand Down
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

<!-- towncrier release notes start -->

## **v0.8.0** (2022-07-07)

### :bulb: API Changes

- [#24](https://github.com/mikesongming/SE-Geometry/issues/24) simplify python
frontend api by refactoring c++ backend with pybind11-empowered virtual
function overriding and methods overloading


### :memo: Documentation Improvements

- [#24](https://github.com/mikesongming/SE-Geometry/issues/24) update flow
graph in dev-guid.md and docstring in _analyzer.py


### :hammer_and_wrench: Maintenance

- [PR\#26](https://github.com/mikesongming/SE-Geometry/pull/26) Introduce cmake
module to fetch library pybind11 and date-tz; Modify setup.py to support
c++17 on MacOSX >= 10.12;
and Build windows version on Windows-2022 with manually downloaded tzdata


## **v0.7.6** (2022-06-28)

### :bug: Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ which comsists of a simplistic _python_ frontend and an extensible _C++_ backend

- MacOSX-10.12-x86_64
- Ubuntu-20.04-manylinux_x86_64
- Windows-2019-win_amd64
- Windows-2022-win_amd64
16 changes: 16 additions & 0 deletions docs/user-guide/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ import fseg
print(fseg.__version__)
```

!!! note

Since there is no system time-zone data on **Windows**,
it is necessary to download [IANA](https://www.iana.org/time-zones)
tzdata for the library date-tz.

```bash
mkdir $HOME/tzdata
cd $HOME/tzdata
curl "https://data.iana.org/time-zones/releases/tzdata2022a.tar.gz" | tar xvz
curl "https://raw.githubusercontent.com/unicode-org/cldr/main/common/supplemental/windowsZones.xml"
```

If `curl` failed with `connection refused`, manually download the `windowsZones.xml` file in browser.


## sun position at

1. Instantialize an `analyzer`, and bound to an _algorithm_, for example _"SPA"_:
Expand Down

0 comments on commit a45a95b

Please sign in to comment.