Skip to content

Releases: codehs/chs-js-lib

0.2.18

18 Feb 19:25

Choose a tag to compare

This is another entirely internal release to test a GitHub actions workflow. Please ignore!

What's Changed

  • Use action from Marketplace to extract the version of the package by @anderoonies in #126

Full Changelog: 0.2.17...0.2.18

0.2.17

18 Feb 19:12

Choose a tag to compare

0.2.17

This release has no public changes and is only being done to host a new version of the library behind a codehs.com URL for school firewalls.

What's Changed

Full Changelog: 0.2.16...0.2.17

0.2.16

14 Feb 23:12

Choose a tag to compare

Summary

This is a patch for fixing a bug where getDistance was not exposed and fullReset would cause an error.

What's Changed

Full Changelog: 0.2.15...0.2.16

0.2.15

14 Feb 22:48

Choose a tag to compare

0.2.15

This version of the library has been in use in CodeHS over the past month, which means that we have a lot of bug fixes for uses I couldn't predict!
Thank you to everyone who has reported an issue through CodeHS.

Summary of Changes

Fix devicePixelRatio scaling when in fullscreen mode

When in fullscreen mode (via setFullscreen()), context scaling based on devicePixelRatio wasn't happening, which meant that the graphics only took up a portion of the canvas.

All timers with the same name are stopped when stopTimer is called

This fixes a bug where a timer would become unstoppable! if another timer with the same name was created.

Target es2015

Old versions of Chrome (like my Chromebook has) don't support some ES6 syntax, like optional chaining and the nullish coalescing operator. The project now targets ES 2015 to widen support.

Handle edge case from add()ing elements twice

This was a sneaky bug that would sometimes cause elements to disappear. For more details, see #118

What's Changed

New Contributors

Full Changelog: 0.2.14...0.2.15

0.2.14

30 Jan 18:22

Choose a tag to compare

What's Changed

Public API Changes

Internal Changes

  • Expand documentation with READMEs and contributing guide by @anderoonies in #105
  • Fix title of accessibility/groups/groups.md, groups.js by @anderoonies in #109

Full Changelog: 0.2.13...0.2.14

0.2.13

27 Jan 20:52

Choose a tag to compare

What's Changed

Full Changelog: 0.2.12...0.2.13

0.2.12

19 Jan 21:52

Choose a tag to compare

What's Changed

  • Expose data structures, tests for distributed builds, tests for data structures by @anderoonies in #101

This release exposes Grid, Stack, Queue, and Set, data structures which can simplify some common tasks.
Examples for using these data structures are needed, if you have a good example please create a pull request!

0.2.11

14 Jan 04:54

Choose a tag to compare

Full Changelog: 0.2.10...0.2.11

This makes sure types.d.ts are included.

0.2.10

14 Jan 04:46

Choose a tag to compare

What's Changed

  • Add TypeScript dependency for generating declaration file by @anderoonies in #99

This doesn't change the API at all, just adds support for generating a typescript declaration (.d.ts) file when publishing.

0.2.9

13 Jan 22:58

Choose a tag to compare

What's Changed

  • Support printing multiple elements with print to prepare for printing objects. by @anderoonies in #98

This is a small release that changes the behavior of print and println to allow sites embedding the library to have fuller control over how things are displayed, including stringifying objects before printing them.