Skip to content

v0.2.40

Compare
Choose a tag to compare
@GiladShoham GiladShoham released this 03 Sep 13:45
· 2506 commits to master since this release

New Features

  • Streamline component removal flow with a dedicated bit delete command (#7807)
  • Automate re-align IDE type checking, lint and formatting with Bit components during bit create (#7808)

Changes

  • Avoid running pipelines on deleted components (#7792)
  • CLI output improvements for better DX (#7851 #7846 #7735 #7793 #7789 #7827 #7842 #7813 #7802 #7786)
  • Add support for component patterns for bit update and --major | --minor | --patch options (#7783)
  • Scope name is now optional for lane and component renames (default to current scope or lane) (#7853)
  • AST based code transformation (for rename, refactor and fork) is now experimental (#7836)
  • Update component and workspace generator to support generics, enhanced templates and more (#7804 #7829)
  • Add a basic workspace starter for nodejs development (#7831)
  • Make build context optional for deploy task (#7850)
  • Allow extending Component Preview to pass component docs from outside (#7805)
  • Base workspace.jsonc supports new mechanism for env loading (#7801)
  • Support setting a cloud-domain during bit login (#7812)

Performance

  • Improve scanning components directories in the workspace by ignoring node-modules directories (#7832)
  • Avoid importing history of irrelevant lanes (#7849)

Bug Fixes

  • UI Fixes (#7835 #7848 #7833 #7830 #7818 #7736)
  • Various fixes for merging lanes corner cases (#7858 #7837 #7816 #7791 #7845 #7834 #7790)
  • Fixed issue where a second compile needed after bit install (#7857)
  • Fixed an issue where you have to run bit checkout head twice when head-snap wasn't available (#7844)
  • Fixed an issue where scope rename tried to rename envs without needing to (#7824)
  • Fix out-of-memory errors when exporting huge amounts of components and versions (#7796)
  • Fix an issue where version was required for compiling a specific component (#7795)
  • Fix Maximum call stack size exceeded when calculating component dependency graph (#7794)
  • Fix links from the base workspace.jsonc template (#7800)
  • Import missing components needed for diff command, instead of failing (#7787)
  • Fix an issue where switching lanes from different scopes didn't import from the target scope (#7814)
  • Do not pack internal Bit files and folders by mistake by adding them to capsule's .npmignore (#7817)
  • Fixed an issue where Bit tried to fetch new, un-exported, lanes (#7854)
  • Fixed an issue where creating of multiple components led to conflicting target paths (#7821)

Internal

  • Update dependencies (#7856 #7782)
  • Add programmatic API for creating/switching lanes (#7838)
  • Reconfigure bit-watcher to have a single target (workspace), not many (each component-dir) (#7862 #7828)
  • Add option to remove some outputs from pnpm (#7826)
  • Replace pnpm with npm for packing components to packages (#7825)
  • Limit capsule creation parallelism to 50 (#7819)
  • New API slot to register function before CLI exits commands (#7811)
  • Set correct node versions in docker file (#7799)
  • New API slot to register a capsule transfer function (#7798)
  • Improve visual version history graph by adding --mark option for various cases to make it easy to debug complex scenarios (#7815)
  • Don't link root components to files in .bit_roots (#7810)
  • Re-link core-aspects to capsules when CACHE_CAPSULES is set (#7788)
  • Ensure component aspect state is always up to date for components (#7806)
  • Support managed paths in webpack dev-server (#7713)
  • Add route to express middleware interface (#7841)
  • Update local VersionHistory for component-object during export (#7822)