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.
- Fixing Stimulus LSP compatibility
- Using proper value for option. Example:
data-timeago-add-suffix-value=""
is nowdata-timeago-add-suffix-value="true"
- Renaming the component from
stimulus-timeago
to@stimulus-components/timeago
- Upgrading dependencies
- Exporting Typescript Types
- Updating demo UI
- Add Stimulus LSP compatibility
- Adding
name
in library export to use the package with CDN, Sprockets andimport-maps
.
- Bump dependencies.
- Upgrading to Vite
4.x
. - Docs new UI.
- Upgrading Node to
18.x
.
- Updating workflows
- Updating Node to 16
- Bump dependencies
- Fixing external libraries
- Breaking Upgrading to Stimulus 3 and new
@hotwired/stimulus
package.
- Adding tests with Jest and JSDom
- Moving from Snowpack to Vite
- Upgrading Node to 14.16.1
- Defining
date-fns
andStimulus
as external dependencies reducing the package size from51.13kb
to0.95kb
. - Using
stimulus
as peer dependencies.
- Support for Stimulus 2.0
- Namespacing warn message in the console.
Breaking Using the new values
static property.
- <time data-controller="timeago" data-timeago-datetime="2018-01-30T09:00" data-timeago-refresh-interval="1000" data-timeago-include-seconds="" data-timeago-add-suffix=""></time>
+ <time data-controller="timeago" data-timeago-datetime-value="2018-01-30T09:00" data-timeago-refresh-interval-value="1000" data-timeago-include-seconds-value="" data-timeago-add-suffix-value=""></time>
- Adding
locale
support.
- Catch
Invalid Date
error and display given value instead
- Adding controller