Bit v14.2.0 Release Notes

Release Date: 2019-07-18 // almost 5 years ago
  • ๐Ÿ‘ Bit is now available to install as a binary with all dependencies. This is the prefer method to install Bit, as it is bundled with its runtime. Note that when you install with npm / yarn Bit only supports node < 8.12.0.

    ๐Ÿ†• New

    • ๐Ÿ‘Œ Support packaging bit-bin into a binary file according to the OS by running npm run pkg
    • โœ… Enable compilers and testers to isolate components using capsule.
    • โž• add --no-cache flag to bit ci-update command
    • ๐Ÿ“ฆ #1762 allow compilers to add properties to package.json file.
    • #1770 modify dependency links for compilers that bundle them.
    • ๐Ÿ‘ #1663 Support toposort order when compiling components.
    • ๐Ÿ“ฆ #1808 Adding dist-path-template as a package.json value, which gets replaced with the calculated dist path upon import.
    • Generate index.d.ts file for node_modules links generated for typescript's custom-resolve-modules.
    • โž• Add a custom entry point file for Angular components
    • ๐Ÿ‘Œ Support providing different main-file for dists by a compiler
    • ๐Ÿ‘Œ Support identify angular dependencies

    ๐Ÿ”„ Changes

    • ๐Ÿ›  fix require statements to an internal package file to not include extensions if they're [.js, .ts, .tsx, .jsx]
    • ๐Ÿ“ฆ #1792 don't generate entry-point files for nested dependencies when their package.json is written
    • ๐Ÿ”„ change dependency links generated when dependencies are saved as components to be module paths and not relative paths

    ๐Ÿ› Bug fixes

    • ๐Ÿ— #1817 fix ComponentNotFound error when tagging after export, tag and untag for author using compiler that builds dependencies.
    • #1810 avoid generating link files with .ts, .jsx and .tsx inside node_modules.
    • #1807 fix resolution of dependency when 2 files require it and one of them using alias
    • #1796 fix dependency resolution when 2 files of component import different things from a file of another component
    • โšก๏ธ #1779 update bit-javascript to prioritize custom-resolve settings
    • avoid generating duplicate require statements within dependency links files of ES6
    • โšก๏ธ update bit-javascript to fix finding tsconfig.json for Angular projects
    • ๐Ÿ“ฆ #1750 improve the output to clarify when a dependency package is missing
    • #1752 fix dependency links generation when originally there were multiple link files
    • ๐Ÿ›  fix directory flag of bit ci-update command
    • ๐Ÿ›  fix installation errors on Windows related to posix package by replacing it with uid-number
    • #1734 fix error "unable to add the file ..." when the require statement was of . or .. as the only string

    Experimental

    • โž• add post-add hook
    • โž• add option to isolate component into "capsule" via bit isolate command

    Internal

    • โšก๏ธ update execa to v2.0.3
    • โฌ†๏ธ upgrade to babel 7