- Added grayscale image support in put_image_data and exposed image_smoothing_enabled attribute #353 (@AnyaPorter)
- Add stroke path to Path2D interface per html canvas spec #350 (@cleemesser)
- Added mouse wheel events support #321 (@VladislavZavadskyy)
- Fix pattern from image in JupyterLab #345 (@martinRenou)
- Add jupyter-releaser #354 (@martinRenou)
- Fix CI #352 (@martinRenou)
- Fix security issue #351 (@martinRenou)
(GitHub contributors page for this release)
@AnyaPorter | @cleemesser | @github-actions | @martinRenou | @VladislavZavadskyy
- Hatch migration by @martinRenou in #298
- Exclude map file from distribution by @martinRenou in #299
- Update yarn.lock by @martinRenou in #300
- Update links by @martinRenou in #335
- Update galata bot for using Lab 4 by @martinRenou in #337
- Build against JupyterLab 4 by @martinRenou in #336
- Build docs against the latest jupyterlite-xeus-python by @martinRenou in #338
Full Changelog: https://github.com/jupyter-widgets-contrib/ipycanvas/compare/0.13.1...0.13.2
- Update the requested frontend version to ^0.13.0 by @jasongrout-db in https://github.com/martinRenou/ipycanvas/pull/291
- @jasongrout-db made their first contribution in https://github.com/martinRenou/ipycanvas/pull/291
Full Changelog: https://github.com/martinRenou/ipycanvas/compare/0.13.0...0.13.1
- Give each canvas an explicit reference to the canvas manager it uses. Fixes a compatibility issue with Databricks Notebook and Google Colab. by @jasongrout in https://github.com/martinRenou/ipycanvas/pull/290
- Modernize js output. by @jasongrout in https://github.com/martinRenou/ipycanvas/pull/289
- Make touch example work by @haesleinhuepf in https://github.com/martinRenou/ipycanvas/pull/281
- @jasongrout made their first contribution in https://github.com/martinRenou/ipycanvas/pull/289
- @haesleinhuepf made their first contribution in https://github.com/martinRenou/ipycanvas/pull/281
Full Changelog: https://github.com/martinRenou/ipycanvas/compare/0.12.1...0.13.0
- Fix drawing rgba image by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/284
- ipywidgets 8 support by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/288
- Blacken docs by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/269
- Adding ipyevents to environment.yaml by @AyrtonB in https://github.com/martinRenou/ipycanvas/pull/172
- Use xeus-python in docs by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/275
- Improve docs by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/278
- Fix JupyterLite badge in the README by @jtpio in https://github.com/martinRenou/ipycanvas/pull/279
- Pin nodejs 16 for node-canvas issues by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/285
- Bump moment from 2.29.3 to 2.29.4 by @dependabot in https://github.com/martinRenou/ipycanvas/pull/286
- Bump moment from 2.29.3 to 2.29.4 in /ui-tests by @dependabot in https://github.com/martinRenou/ipycanvas/pull/287
- @AyrtonB made their first contribution in https://github.com/martinRenou/ipycanvas/pull/172
- @jtpio made their first contribution in https://github.com/martinRenou/ipycanvas/pull/279
Full Changelog: https://github.com/martinRenou/ipycanvas/compare/0.12.0...0.12.1
- Fix sync issues between canvases by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/263
- Remove deprecated
size
property @martinRenou in https://github.com/martinRenou/ipycanvas/pull/263 - Improve put_image_data performances by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/251
- Add galata update bot by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/264
- Add ui tests by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/266
- Add a test for multicanvas by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/267
- Update yarn dependencies by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/268
Full Changelog: https://github.com/martinRenou/ipycanvas/compare/0.11.0...0.12.0
- Fix docs typo by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/241
- Fix CI by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/248
- Fix MultiCanvas events by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/247
- Add keyboard events by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/249
- Add filter property by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/244
- Fix CI and remove Python 3.6 by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/250
- Add jupyterlite-sphinx in the docs by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/256
- README: Grammar fix @0xflotus in https://github.com/martinRenou/ipycanvas/pull/257
- Update docs by @martinRenou in https://github.com/martinRenou/ipycanvas/pull/258
- @0xflotus made their first contribution in https://github.com/martinRenou/ipycanvas/pull/257
Full Changelog: https://github.com/martinRenou/ipycanvas/compare/0.10.2...0.11.0
- Add
fill_styled_*
andstroke_styled_*
methods by @DerThorsten #225 #227
- Add support for JupyterLite! By making the orjson dependency optional
- Fix JupyterLab 2 support
- Replace npm with yarn
- JupyterLab 3 support #165
- Fix issue with circle radius in RoughCanvas #162
- Add support for color gradients #142
- Add support for patterns #143
- Add
fill_polygon
andstroke_polygon
methods #151 - Add
stroke_lines
method #152
- Reduce messages size #129
- Improve communication speed by using binary buffers only #132
- Implement sleep method #126
Improvements
- Added
ellipse
method for adding an ellipse to the current path - Added
Path2D
class for drawing SVG paths - Added
stroke_line
method for directly drawing a line without using a path - Added
fill_circle
andstroke_circle
, shorthands for fullfill_arc
andstroke_arc
- Added
RoughCanvas
for hand-drawn style
- Fix mouse events for the MutliCanvas
- Refactor sizing logic. The web canvas has two sizes, the colorbuffer size and the display size (actual size on the screen). We used to only expose the colorbuffer size and force the display size to be the same. The user can now control the display size through the
layout
property. #111 #113
- Ship
.d.ts
files with the JavaScript package #97 - Change
getCoordinates
andresizeCanvas
from private to protected #98
- Add support for int8 int16, float16 float32 float64 buffer arrays #88
- Fix JupyterLab 2 support #86
- Add JupyterLab 2 support #78
- Documentation improvements #74 #72
Changes:
- Deprecate the
size
attribute in favor ofwidth
andheight
#69 - Layout improvements #68
- Fix
MutliCanvas
'ssync_image_data
attribute, and dynamically react to this attribute #70 - Documentation improvements
Changes:
- Add support for touch events: https://github.com/martinRenou/ipycanvas/pull/66
- Redraw Canvas state on page refresh: https://github.com/martinRenou/ipycanvas/pull/65