Skip to content

Releases: fluents/chain-able

MethodChain plugins, conditional utils, traverser upgrades, jest, playground, debugger, optimizejs, examples

29 Jun 03:34
Compare
Choose a tag to compare

4.0.0-beta.2

  • ๐Ÿ”ฌ tests ๐Ÿƒ
    • ๐Ÿƒ convert to jest
    • more +tests
    • โ™ป๏ธ abstract dist api tests + type tests
    • ๐Ÿ”ฌ ava for built
    • ๐Ÿƒ๐Ÿ‘•๐Ÿ”Œ jest lint plugin
  • ๐Ÿ— build
    • ๐ŸŽก playground for rollup uglify testing repl style
    • ๐Ÿ–ฅ๐Ÿ› cli clean on postpublish
    • ๐Ÿฐ๐Ÿ—ž๏ธ refactor to use rollup node api
    • ๐Ÿ”Š debugger build replacement export for easy usage with debuggering by clients
    • โš™ fix editor config
    • ๐Ÿ’ฃ๐Ÿ›… fuse-box scope hoisting run - close to rollup size!
    • ๐Ÿ› clean & comment fuse.js
    • ๐Ÿ“œ๐Ÿ“’ all scripts moved to makefile
    • ๐Ÿ“› ๐ŸŽก playground badge
    • โšก enable optimizejs
    • ๐Ÿ“ฆ๐Ÿˆ use yarn to run makefile scripts instead of npm
    • ๐Ÿ’ธ๐Ÿ’š cache for travis
  • ๐Ÿ“˜ examples
      • examples
      • examples submodule/repo
      • decorators
    • ๐Ÿญ not-bundled/exported importable decorators
    • flatten the examples folder
    • ๐Ÿ“– lots more docs
  • ๐Ÿฐ refactor
    • โ›“ MethodChain
      • โ—๐ŸŒ add name/key as first arg in .onValid .onInvalid
      • ๐Ÿ”Œ plugins for ^
    • โ›‘ encase - MAJOR remove .rethrow - put into error enhancer
  • ๐Ÿ–‡ utils/deps
    • ๐ŸŽ add conditional
      • eq, not, or, and, some, all, includes
    • โ™ป๏ธ abstract getPrototypeOf
    • โš’ fix some types
    • ๐Ÿฃ isNotNested schema validation fix
    • rename ezType -> simpleKindOf
  • ๐Ÿ“’๐Ÿšš move
    • dopemerge & validators/types & reduce/ & dot-prop
  • ๐Ÿ‘ฃ traverser
    • ๐Ÿ› clean
    • โ„น๏ธ๏ธ more docs
    • ๐ŸŽ map & set support #21

MethodChain, schema support, 90=>96% cov, cache, utils

25 Jun 16:35
Compare
Choose a tag to compare

close to getting beta and publishing...

  • test cov 90 -> 96%
  • MAJOR
    • .when(string) string now checks .has
    • moved .clean
    • observable dot.prop
    • caching
    • removed many classes
    • MethodChain
      • removed .extendsGetSet, .defineGetSet, .extendIncrement, .extendWith, .extendAlias, .decorateParent, .typed
      • replaced ^ with .alias(), .getSet(), .decorate(obj), .define(), .autoIncrement(), .default(), .initial(), .bind(), .encase(), .call(), .get(), .set(), .returns(), .camelCase(), .factory(for extending), .build with + support
      • removed compose/Extend, compose/Child, compose/immutable, compose/Extend, compose/Types, compose/Symbols, compose/Debug, compose/define
      • .schema feature
        • optional types, array types, or types
        • ๐Ÿ“๐Ÿ›‚๐Ÿญ refactor out schema factory
    • integrated histories from deepmerge, dot-prop, traverse-js, webpack-chain (all commit hashes change, extremely likely they are not used anywhere, even so there is a branch backup so hardly 100% breaking)
    • completely redid type definitions
    • took out unsable-to-be-used method instanceof static instance on Chainable
  • PATCH
    • updating all docs
    • tsc for dev version
    • exported more deps
    • fixed hasInstance Object.prototype.instanceOf.call in Chainable
    • ๐Ÿคธ split ChainedMap for circular usage (in MethodChain & MergeChain & TraverseChain)
    • inlined methods in MergeChain & TraverseChain
  • MINOR
    • fix typo on .setIfEmpty
    • dot-prop array paths
    • validator factories
    • traverser
      • eq: optimized typechecks, const & let, size
      • traverse-js: optimized argument slicing, const & let, jsdocs
    • many more tests
      • covered reduce for tests
      • covered almost all traverser branches
      • all old tests updated to new .method api
    • fix sourcemaps for tests for more accurate coverage (was failing the unused built code such as Object.create)
    • ๐Ÿ‘• tslint
    • ๐Ÿฐ๐Ÿ— refactor build system
  • merge
    • covered all branches of dopemerge tests
    • fixed null ignored type on ezTypes in dopemerge
    • renamed .dopemerge -> .merge for exports
    • optimized forEach loops
    • optimized switch case into if-else for uglification
    • map & set merger (unused)
  • build
    • webpack build config experiment to check new scope hoisting size
    • fusebox updates - close to rollup size
    • optimizejs
  • utils
    • ๐Ÿ–‡๐ŸŒŠ typechecking utils null, undefined, objloose, strornum, class, false, true, updated all clients
    • argumentor util (used in traverser, from deopt checks)
    • concat util
    • move out old isNode into utils from Chainable
    • ๐Ÿ†•๐Ÿ–‡ isMapish util
    • ๐Ÿ–‡ entries util
    • โšก ๐Ÿ–‡ isIgnored as a util
    • isEnumerable, isPrototypeOf, isEmptyArray, isUndefined, isIterator (merged to kind-of repo)
    • garbage collector
    • reduce (moved from Chainable)
    • ๐Ÿ–‡ false/true/eqCurry/ezType/charCodeAtZero/length/typeof utils
    • ๐Ÿ–‡ length -1 util, strange
    • clean (moved from Chainable)
    • encase (moved from compose/Extend)
      • ๐Ÿ“โ›‘๐Ÿญrefactor encase factory
    • โ™ป๏ธ abstract ๐Ÿฐ refactor ๐Ÿ›‚validators - split into more reusable functions for later
    • ๐Ÿš‘๐Ÿ› fix isUndefined & isNull in validators stripping to .null & 2x the obj size
  • dot-prop
    • re-add caching
    • observable
    • dot-prop paths tests
    • dot-prop paths experiment for alternative regex implementation & minor optimization for size
    • dot-prop paths traverser to gather paths of objects
      • ๐Ÿ‘ฃ longest paths option
  • matcher
    • re-add caching

Matcher, +tests, +traversal, crazy build, +exports, types, @dec, == size

19 Jun 11:59
Compare
Choose a tag to compare

THIS IS A PRE-RELEASE FOR 4.0.0 WHICH WILL REFACTOR .EXTENDS

  • export more things
  • add magic glob matcher forked from matcher
  • more tests
  • stress tests
  • improved traversal
  • fixed typos / bad spelling
  • decorator support / top-down composable
  • full typescript definitions
  • convoluted crazy rollup typescript buble build script running...
  • ...all while keeping the same size :-D

observables, .prop, optimizations, clone, eq, structure refactor

16 Jun 09:52
Compare
Choose a tag to compare
  • improved remapping & all transforming
  • added a full is* individual file easily optimizable functions util dep set
  • simplified merging & fixed full deep cloning
  • dot-prop working transparently with Maps
  • refactored traversal and simplified a bunch of classes extracting reusable pieces - into small deps available as modular imports

v2! fully tested api, code cov, tinier, examples, docs

v2 beta 1

30 May 15:31
Compare
Choose a tag to compare
v2 beta 1 Pre-release
Pre-release
v2.0.0-beta.1

โ˜ฎ Symbol โ›“ util