Skip to content

Releases: williamtroup/Observe.js

Observe.js v1.1.0 - Huge code improvements!

11 Sep 13:37
cd93821
Compare
Choose a tag to compare
  • Improved the HTML testing files.
  • Improved event assigning, and re-organized the code into separate files.
  • The GUIDs generated now used the "crypto.randomUUID()" instead of the custom-built one (this is now RFC4122-compliant).
  • Updated all the NPM packages to the latest versions.
  • Moved all event assignments to use lambdas.
  • Updates to the README files to make the features stand out.
  • Added an ignore path for ".DS_Store" files when packing the NuGet package.
  • Removed replicated conditions to check for DOM elements.
  • Internal renames to reflect the correct return types.

Observe.js v1.0.1 - Code reorganization!

23 Jul 19:13
a664876
Compare
Choose a tag to compare
  • Updated to the latest NPM packages.
  • Organized all of the .ts files into separate folders.
  • Removed the dead JS code.

Observe.js v1.0.0 - Rewritten in TypeScript, allowing greater React, Angular, and other library support!

16 Jul 12:04
467f5f7
Compare
Choose a tag to compare

Language Shift:

  • The entire project has been rewritten in TypeScript, allowing all components to be exported, which allows better support for libraries such as React, Angular, etc.
  • Added CDN links for the minimized version of the files.
  • The TypeScript code is compiled to ES2016 instead of ES5 (older browsers, such as IE, are no longer supported).

Building:

  • You can now run separate builds to produce CJS, ESM, and Minimized project versions.
  • All files not required for the NPM packages have now been excluded.

Watch Options:

  • BREAKING: All the event custom triggers are now under a new section called "events".

Configuration Options:

  • BREAKING: All the text options are now under a new section called "text".

Testing:

  • Removed the "src" and "dist" folders under "test". Only the dist versions remain, removing duplication.
  • Added "BUILD_INSTRUCTIONS.md" to help first-time users set up their dev environments.

Observe.js v0.8.2 - Third party library support (via export) and binding rename!

18 Jun 09:31
f217ecb
Compare
Choose a tag to compare
  • Added export support for the global "$observe" object, which can now be imported as "observe.js".
  • BREAKING: Renamed the binding attribute "data-observe-watch-options" to "data-observe-js".

Observe.js v0.8.1 - General improvements!

19 Mar 14:32
fe26dc5
Compare
Choose a tag to compare
  • The "unload" window event has been replaced with "pagehide" (due to "unload" being deprecated).
  • The public function "setConfiguration()" will now only update the configuration if something in the configuration has been changed.
  • All public functions now only accept the right variable types for data (to prevent issues from occurring).
  • Added "use strict" support internally and updated all public functions to use the new scope.

Observe.js v0.8.0 - New options! New configuration! Improvements!

14 Mar 17:44
1849eae
Compare
Choose a tag to compare

Binding Options:

  • Added a new binding option called "removeAttribute", which states if the binding attribute should be removed (defaults to true).

Configuration Options:

  • Added a new configuration option called "objectErrorText", which states the error text that should be shown when an object error is detected (defaults to "Errors in object: {{error_1}}, {{error_2}}").
  • Added a new configuration option called "attributeNotValidErrorText", which states the error text that should be shown when a binding object isn't valid (defaults to "The attribute '{{attribute_name}}' is not a valid object.").
  • Added a new configuration option called "attributeNotSetErrorText", which states the error text that should be shown when a binding attribute isn't set (defaults to "The attribute '{{attribute_name}}' has not been set correctly.").

General Improvements:

  • All console error logging now goes through the correct method.
  • Objects are now checked and defaulted properly when invalid values are passed.
  • Updated the formatting used in the "package.json" file so that it can always be parsed.

Documentation:

  • Minor tweaks to the documentation.

Observe.js v0.7.1 - Fix!

20 Feb 10:35
53eb28e
Compare
Choose a tag to compare
  • Fixed a fault that caused clearTimeout() to be called instead of clearInterval().

Observe.js v0.7.0 - New custom trigger, improvements, and documentation updates!

07 Feb 14:24
2ee9388
Compare
Choose a tag to compare

Rules:

  • Watches will now only start if an object can be found (is not null, or the DOM element exists).

Binding Options / Function Options - Custom Triggers:

  • Added a new binding/option custom trigger called "onStart", which states an event that should be triggered when a watch is started.

General Improvements:

  • Added Math injection directly into the main instance.
  • Added JSON injection directly into the main instance.
  • Improved keywords in the package files.

Documentation:

  • Added install instructions into the main README files.
  • Added documentation that states how issues and new feature requests should be raised.

Fixes:

  • Fixed the "observe.js.nuspec" file including the ".github" folder when NuGet PACK is called.

Observe.js v0.6.1 - Fixes!

17 Jan 19:32
e49ed58
Compare
Choose a tag to compare
  • Updated project homepage URL.
  • Fixed the binding property "allowPausing" defaulting to "null" instead of "true" when not manually set.

Observe.js v0.6.0 - New custom bindings/options and public functions!

08 Jan 17:02
6260263
Compare
Choose a tag to compare

Binding Options / Function Options:

  • Added a new binding/option called "allowCanceling", which states the watch can be cancelled (defaults to true).
  • Added a new binding/option called "allowPausing", which states the watch can be paused (defaults to true).

Public Functions:

  • Added new public function "pauseWatches()", which is used to pause all the watches for a specific number of milliseconds.
  • Added new public function "resumeWatches()", which is used to resume all the watches currently paused.

General Improvements:

  • Minor internal refactoring to make things a little clearer.

Fixes:

  • Fixed some errors in HTML files when calling the public functions.