Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 2.63 KB

CHANGES.md

File metadata and controls

69 lines (48 loc) · 2.63 KB

Changelog

2.0.0 (Unreleased)

  • Adds TypeScript type declarations (generated from typed JSDoc comments)

Breaking changes:

  • Removed the clone() method on Model.
  • Removed the old View type
  • Removed the old Events constructor function and instead added the EventsEmitter mixin class.
  • Removed the Router and History classes.
  • All other types (Model, Collection, ElementView) are now ES6 classes.

1.0.0 (Unreleased)

  • Fix a race condition when setting a localForage driver
  • Refactor the sync method to properly call the fetch API

0.0.8 (2023-02-14)

  • Use the released version of @converse/localforage-getitems
  • Update 3rd party dependencies

0.0.7 (2022-04-08)

  • Move code that needs to be bundled to dependencies from devDependencies
  • Update localForage-getItems to fix a build issue on Windows

0.0.6 (2022-04-08)

  • Use the getAll IndexedDB function, which should result in a significant speedup
  • Update various 3rd party dependencies.

0.0.5 (2021-07-08)

  • #13 Import the default export of localforage
  • Don't expect a collection's model attribute to have a prototype. It might be an arrow function, in which case it doesn't.
  • Update to mergebounce 0.1.0

0.0.4 (2021-05-12)

  • Upgrade to lit 2.0.0-rc.2

0.0.3 (2021-04-28)

  • Create the ElementView, which is like a Backbone View but extends HTMLElement and is therefore also a custom element or web component. /home/kalie/src/converse.prosody/src/converse.js/src/headless/core.js: * @property {object} converse.env._ - The instance of lodash-es used by Converse.
  • Allow writes to the client-side store to be batched (via mergebounce). This is particularly useful for IndexedDB, which has a very slow writing speed. To enabled batched writes, pass in true for the 3rd parameter of the Storage constructor.

0.0.2 (2020-09-18)

Initial fork from Backbone

  • Removes the dependency on jQuery
  • Instead of the render method Views can have a toHTML method which must return a lit-html TemplateResult.
  • Replaces underscore with lodash
  • Imports lodash methods individually to allow for tree-shaking
  • Uses the native browser API instead of lodash
  • Drops support for older browsers (including IE) and uses ES6+ language features
  • Splits models, views and collections into separate modules
  • Adds a new ElementView class, which is a like a Backbone View, but doubles as an instance of HTMLElement and can be used to register a custom element or web-component.