Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 2.13 KB

CHANGELOG.md

File metadata and controls

58 lines (43 loc) · 2.13 KB

Sunset To Sunset Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

Changed

  • User-defined templates for the message that appears on Sabbath and the banner message no longer use the HTML <template> tag. They need to use any other element now, preferably a <div> but any element with the right id will work. This change was needed because of a conflict with using <template> in React apps as React expects it to be a JSX template and not the HTML <template> tag.

1.0.6 - 2022-09-12

Changed

  • Luxon is now included in the build.
  • Updated dependencies.

1.0.5 - 2021-10-15

Changed

  • Updated the test file settings to show a more syntax-safe JSON object.

Fixed

  • Script will not hide the html element while it's determining if it should render a message.

1.0.4 - 2021-09-27

Added

  • Added README.md.
  • Added the option to set the closing and opening days via html for debugging purposes.

Fixed

  • Fixed an issue where you really couldn't see what time it would close on the upcoming closing day when simulating the time.

1.0.3 - 2021-09-26

Fixed

  • Fixed an issue where the html tag was not being hidden once the script had loaded.

1.0.2 - 2021-09-26

Fixed

  • Added new build files that should have been in 1.0.1.

1.0.1 - 2021-09-26

Changed

  • Specify Vite port number so that it doesn't conflict with other test projects running on port 3000.

Fixed

  • Fix an issue where the opening times were being set too soon on the full message template and subsequently not being rendered. (#3)

1.0.0 - 2021-09-23

Changed

  • Initial Release

1.0.0-beta.2 - 2021-09-23

Fixed

  • Added build files.

1.0.0-beta.1 - 2021-09-23

Added

  • Added a default banner template if no template is defined.
  • Allow multiple closing and opening elements to be added to the banner.
  • Allow the user to set a custom simple message or a fully custom message template.