Skip to content

Releases: OktarinTentakel/annex

v0.1.9-beta

20 Sep 15:29
Compare
Choose a tag to compare
v0.1.9-beta Pre-release
Pre-release

SaneDate - implemented SaneDate class to replace wonky vanilla JS dates with something sane
// added module "Dates"
// implemented Dates:SaneDate, which offers date objects without nonsense like months from 0 to 11, automagic correction when setting hours to 25 and brings helpful methods to work with dates (+ unit-tests)
// implemented Dates:format, to format dates either with native Intl.DateTimeFormat or custom token-based formats, tries to avoid i18n data, by relying on native browser locales
// implemented Strings:pad, which extends string with a padding character, until at least an expected length is reached (+ unit-tests)
// replaced usages of new Date().getTime() with Date.now()
// upped version to 0.1.9-beta

v0.1.8-beta

14 Sep 11:33
Compare
Choose a tag to compare
v0.1.8-beta Pre-release
Pre-release

RestfulJsonClient
// rewrote factory method createRestfulJsonClient to class RestfulJsonClient and adapted unit tests as well as examples
// fixed bug in RestfulJsonClient, where an absolute path would overwrite a baseUrl path
// added param method to RestfulJsonClient to (un)set params individually as well as being able to append values to single name without having to replace everything or constructing entries arrays
// added "url" and "urlsearchparams" to known types in Basic:getType and Basic:isA, implemented Basic:isUrl and Basic:isUrlSearchParams (+ unit tests)
// added handling of URL and URLSearchParams to Objects:clone
// tweaked merge to only merge object recursively if it is a plain object, otherwise replace object entirely
// reworked documentation for Viewport and Requests modules to better handle class documentation
// upped version to 0.1.8-beta

v0.1.7-beta

12 Sep 11:04
Compare
Choose a tag to compare
v0.1.7-beta Pre-release
Pre-release

VisibilityObserver
// added Viewport:VisibilityObserver to observe DOM-elements for visibility changes and details (in viewport, visibility pixels/percentage, distance, ...) (+ examples)
// updated Viewport:isInViewport to use safe generation of boundingClientRect and added check if element is currently in DOM
// updated Viewport:scrollTo to check if element is in DOM and use safe scrollY access (with pageYOffset fallback)
// added Basic:min, to force minimum value (+ unit tests)
// added Basic:max, to force maximum value (+ unit tests)
// updated Basic:minMax using min and max
// added Basic:round, to round numbers like Math.round, but also offering exact precision (+ unit tests)
// changed uses of Math.round to Basic:round
// updated Basic:Observable to use private properties
// updated documentation to remove typedefs from global scope and move documentation to namespaces
// upped JSDOC version to 4.02
// tested xbrowser
// upped version to 0.1.7-beta

v0.1.6-beta

04 Sep 12:36
Compare
Choose a tag to compare
v0.1.6-beta Pre-release
Pre-release

Basic module extended type checking & relative base URLs for createRestfulJsonClient
// implemented explicit type checkers for everything isA() supports (except null und undefined, which can be checked with ===) to improve readability and safe on uncompressable strings in source (+unit-tests)
// replace occurrences of isA() in source with new explicit type checkers
// added "htmlcollection" as newly available type for isA() and getType()
// added possibility to set empty or relative baseUrl for createRestfulJsonClient, which get auto-expanded with window.location.origin
// upped version to 0.1.6-beta

v0.1.5-beta

01 Sep 18:38
Compare
Choose a tag to compare
v0.1.5-beta Pre-release
Pre-release

Objects:merge & Requests:createRestfulJsonClient
// implemented Objects:merge, offering recursive object merging (+ unit tests)
// implemented Requests:createRestfulJsonClient, offering a small wrapper for createJsonRequest, managing URL, path options and such to easily work with restful JSON APIs (+ unit tests & examples)
// added window.ANNEX_USE_NATIVE_FETCH to globally force set native fetch usage for all annex requests
// added strict modes to all special purpose requests to set correct accept headers as well as a check for correct response content type
// upped version to 0.1.5-beta

v0.1.4-beta

23 Aug 13:13
Compare
Choose a tag to compare
v0.1.4-beta Pre-release
Pre-release

isElement - added isElement type check to prevent too many samey checks with an uncompressable string token
// upped build sleep to 10 to wait for docker file i/o sync
// upped version to 0.1.4-beta

v0.1.3-beta

28 Jul 12:37
Compare
Choose a tag to compare
v0.1.3-beta Pre-release
Pre-release

SSR Compatability - reworked document and window usages on module level
// removed or reworked usage of window and document on module level to allow static imports in SSR contexts
// reworked clearing of dist folders in gulp
// switched to docker compose v2 (docker-compose -> docker compose)
// upped version to 0.1.3-beta

v0.1.2-beta

15 Mar 18:35
Compare
Choose a tag to compare
v0.1.2-beta Pre-release
Pre-release

GitHub Package Setup - added workflow file
// reworked package.json
// updated readme
// upped version to 0.1.2-beta

v0.1.1-beta

27 Feb 17:47
Compare
Choose a tag to compare
v0.1.1-beta Pre-release
Pre-release

JSDoc Update - updated JSDoc binary
// updated JSDoc binary in Docker image to 3.6.11
// cleaned examples libs of renamed modules
// fixed documentation example of Images:loaded
// upped version to 0.1.1-beta
// updated readme
// updated license

v0.1.0-beta

23 Jan 18:10
Compare
Choose a tag to compare
v0.1.0-beta Pre-release
Pre-release

Functionality completed as planned. Unit tests and examples in place. Now this needs usage, even more testing and all the tweaks that result from plans colliding with reality :)