Skip to content

Commit

Permalink
Release commit created with Cranko.
Browse files Browse the repository at this point in the history
+++ cranko-release-info-v1
[[projects]]
qnames = ["pywwt", "npm"]
version = "1.0.0"
age = 0

[[projects]]
qnames = ["pywwt", "pypa"]
version = "0.10.0"
age = 0

+++
  • Loading branch information
cranko committed Oct 21, 2020
2 parents 21cc525 + 8856394 commit d4ed518
Show file tree
Hide file tree
Showing 17 changed files with 291 additions and 151 deletions.
146 changes: 140 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,142 @@
# See elsewhere for changelog
# pypa:pywwt 0.10.0 (2020-10-21)

This project’s release notes are curated from the Git history of its main
branch. You can find them by looking at [the version of this file on the
`release` branch][branch] or the [GitHub release history][gh-releases].
- Fix build for traitlets >= 5.0 and in fact start requiring it.
- Update minimum Python version to 3.7, as required by traitlets 5.
- Require version 1.0 of the NPM package, so that we extrapolate clock
information from data provided by the JavaScript layer. This dramatically
reduces the level of traffic between the JS and Python layers.
- Adopt Cranko for release automation, and revamp the continuous integration
infrastructure to implement such automation.

[branch]: https://github.com/WorldWideTelescope/pywwt/blob/release/CHANGELOG.md
[gh-releases]: https://github.com/WorldWideTelescope/pywwt/releases

# pywwt 0.9.0 (2020-08-29)

- pywwt now obtains the WWT WebGL SDK code from web.wwtassets.org, rather than
a private copy hosted on the pywwt GitHub Pages instance.
- Live notebook links now point to mybinder.org rather than the old private WWT
instance of BinderHub, because HTTPS support is now working!
- Fix Jupyter server plumbing when operating in the JupyterHub single-user
environment.


# pywwt 0.8.0 (2020-04-03)

- Improve performance when changing size parameters for tabular layers. In these
cases, the performance is e.g. more than 1000x better for a 50,000 row
dataset. [#224]
- Improve performance when changing colormap parameters for tabular
layers, for a subset of colormaps. In these cases, the performance
is e.g. more than 1000x better for a 50,000 row dataset. [#223]
- Added a `cmap` parameter on image layers to control the colormap. [#244]
- Incorporate time series behavior for data layers; add method that
returns current time in the viewer. [#187]
- Drop support for Python 2.7 and now require at least Python 3.6. [#259]
- Fix compatibility with Jupyter 2.0. [#260]


# pywwt 0.7.0 (2019-09-20)

- You can now save your WWT views as interactive figures to be used in journal
articles! (Actually, they're just standalone web pages, so they can be used
anywhere you've got a web server.) This feature is new so it will still have
some rough edges — keep your eyes open for improvements. And the docs haven't
been written yet :-( [#215, #227]
- Relatedly, there is new first-draft support for interactive controls for
image layers through the `image.controls` meta-property. This will also
evolve over the next few releases. [#217]
- Initial support for data layers with Cartesian (XYZ) rather than spherical
(lat, lon, alt) coordinates. [#190]
- Fix compatibility with the JupyterLab 1.0.x series. [#216, #219, #221]
- Expose all available imagery layers. [#220]
- Validate coordinate frame names used with tabular data layers. [#195]
- Fix the widget `reset` method . [#212]
- Various improvements to CI infrastructure, docs, landing pages, etc. [#218,
#225, #228, #229, #230]


# pywwt 0.6.1 (2019-06-10)

- Fixed issues when calling `reset()`. [#212]
- Fixed resizing issues in Jupyter Lab. [#216]
- Fixed server URL when using Jupyter Lab. [#219]


# pywwt 0.6.0 (2019-05-29)

- Implement support for color-coding and scaling points in layers according
to table attributes. [#183]
- Removed `load_fits_data` and added `layers.add_image_layer` instead,
which provides control over the image stretch, and renamed
`layers.add_data_layer` to `layers.add_table_layer`. [#188, #201]
- Added support for drag and drop events in Qt widget. [#202]
- Added support for `get_center` for the Jupyter widget, and add a new
`get_fov` method to get the current field of view. [#206]
- Fixed compatibility with notebook>=5.7.6 which requires mime
types for served files to be correct. [#192, #208]
- Fixed display of table layers on Windows. [#207]


# pywwt 0.5.3 (2019-01-16)

- Exposed option to turn off large-scale SDSS data in 3D mode, improving
performance. [#176]
- Make sure default altitude type is set correctly. [#176]


# pywwt 0.5.2 (2019-01-08)

- Added instructions for using Jupyter Lab. [#170]
- Fixed `set_view('Mars')`. [#171]
- Fixed issue with layers not appearing under certain circumstances. [#173]


# pywwt 0.5.1 (2019-01-04)

- Fixed a bug that caused layers to not immediately update when updating
data. [#167]
- Fixed a bug that caused some columns to be pre-assigned to e.g. size_att
based on column name. [#167]


# pywwt 0.5.0 (2019-01-04)

- Fixed issues with zooming using trackpad/scroll wheel. [#166]
- Added support for customizing the layer marker type (`marker_type`), the
option to specify whether the marker size is absolute or relative to the
screen (`marker_scale`), and the option to show points on the far side of
an object (`far_side_visible`). [#165]
- Fixed a bug that caused issues with the distance/altitude of points when not
centered on the Earth. [#165]


# pywwt 0.4.1 (2018-12-23)

- Work around an issue with getting base URLs on e.g. mybinder.
- Improvements to documentation. [#160, #164]


# pywwt 0.4.0 (2018-12-20)

- Added keyboard shortcuts for movement in-viewer. [#81]
- Disable crosshairs by default. [#157]
- Added `pause_time` and `play_time` for controlling time and make it
possible to control the rate of passage of time. [#146, #152]
- Added support for displaying fields of view for common telescope. [#102]
- Added `minor_orbits` and `stars` attributes to control the visibility
of minor orbits and stars in solar system mode. [#145]
- Added support for showing tables of data using layers. [#122, #136, #139, #140, #143, #147, #150]
- Added `load_fits_data` method for Qt and Jupyter clients. [#78]
- Added support for non-sky modes (e.g. solar system mode). [#74, #83, #95, #98]
- Added GUI controls for imagery layers using the `layer_controls` attribute. [#64]
- Added support for exploring available imagery layers. [#71]
- Added support for showing circle collections with annotations. [#54]
- Switch to use OpenGL API. [#73]
- Fixed compatibility with Jupyter Lab. [#63, #65]
- Fixed compatibility with older versions of Qt. [#133]
- Fixed compatibility with unicode strings for colors on Python 2. [#105]
- Improved documentation. [#60, #70, #84, #101, #109]


# pywwt 0.3.0 (2017-12-20)

- Initial version with changelog
6 changes: 3 additions & 3 deletions ci/azure-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
set -euo pipefail
source activate-conda.sh
set -x
\conda create -y -n build setuptools matplotlib pip pyopengl pyqt python="$PYTHON_SERIES" qtpy
\conda create -y -n build setuptools matplotlib pip pyopengl 'pyqt>=5.12' python="$PYTHON_SERIES" qtpy
conda activate build
pip install $BASH_WORKSPACE/sdist/*.tar.gz
displayName: Install from sdist
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
set -euo pipefail
source activate-conda.sh
set -x
\conda create -y -n build setuptools matplotlib pip pyopengl pyqt python=3.8 qtpy
\conda create -y -n build setuptools matplotlib pip pyopengl 'pyqt>=5.12' python=3.8 qtpy
conda activate build
pip install $BASH_WORKSPACE/sdist/*.tar.gz
displayName: Install from sdist
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
set -euo pipefail
source activate-conda.sh
set -x
\conda create -y -n build setuptools matplotlib pip pyopengl pyqt python=3.8 qtpy
\conda create -y -n build setuptools matplotlib pip pyopengl 'pyqt>=5.12' python=3.8 qtpy
conda activate build
pip install $BASH_WORKSPACE/sdist/*.tar.gz
displayName: Install from sdist
Expand Down
2 changes: 1 addition & 1 deletion ci/azure-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
# If we ever become a monorepo, we'll need to figure out how to make sure
# that we only upload the proper packages.
if cranko show if-released --exit-code pywwt ; then
if cranko show if-released --exit-code pypa:pywwt ; then
twine upload $BASH_WORKSPACE/sdist/*.tar.gz
fi
displayName: Publish PyPI releases
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ If you want to use the Jupyter widget, you will also need to run::

And if you additionally want to use the widget in JupyterLab, run::

jupyter labextension install .
jupyter labextension install frontend
jupyter labextension list # check that the output shows pywwt as enabled and OK

Besides ``pywwt``, the ``@jupyter-widgets/jupyterlab-manager`` and
Expand Down
7 changes: 7 additions & 0 deletions frontend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# npm:pywwt 1.0.0 (2020-10-21)

- Address #258 by transmitting WWT clock information using a reference point and
a rate, rather than constantly transmitting the current time. Dramatically
reduces JS <=> Python traffic.
- Tidy up the JavaScript files.

# npm:pywwt 0.9.1 (2020-10-18)

- First release with version number decoupled from the pywwt Python package.
Expand Down
9 changes: 0 additions & 9 deletions frontend/lib/embed.js

This file was deleted.

19 changes: 0 additions & 19 deletions frontend/lib/extension.js

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
// Entry point for the notebook bundle containing custom model definitions.
//
// Setup notebook base URL

// Export widget models and views, and the npm package version number.
module.exports = require('./wwt.js');
module.exports['version'] = require('../package.json').version;
3 changes: 3 additions & 0 deletions frontend/lib/plugin.js → frontend/lib/jupyterlab.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// This file implements the JupyterLab extension, as linked up through this
// module's `package.json` file (`jupyerlab.extension` keyword).

var wwt = require('./index');

var base = require('@jupyter-widgets/base');
Expand Down
1 change: 0 additions & 1 deletion frontend/lib/version.js

This file was deleted.

Loading

0 comments on commit d4ed518

Please sign in to comment.