bit

A build system for development of composable software.

OTHER License

Downloads
64.9K
Stars
17.8K
Committers
79

Bot releases are visible (Hide)

bit - v1.8.68

Published by GiladShoham 20 days ago

Improvements

  • Sort component IDs in bit export output, and introduce --verbose option to show which versions exported (#9219)
  • Add additional examples to bit env set --help (#9212)
  • Automated API reference now shows complete signature of every API node including docs (#9206)
  • Improve CSS/SASS/SCSS dependency detection to support import ... as ... and more (#9205)
  • bit dependents support --json option to get easily parse output by another process (#9204)
  • bit build | snap | tag supports --skip-tasks to skip any task from the build pipeline (#9196)
  • bit test exit with non-zero code when tester fails due to coverage (#9218)
  • Following commands and flags are no longer marked as experimental: (#9200)
    • bit fork --ast bit scope fork --ast bit rename --ast bit scope rename --ast - use AST to transform component instead of regular expressions
    • bit recover - recover component(s) soft-deleted from the workspace, or a remote scope
    • bit stash - stash modified components
    • bit mini-status - light and fast variation of bit status
    • bit dependencies --tree - render dependencies as a tree, similar to npm ls.
    • bit lane rename - change the lane-name locally
    • bit watch --check-types - show errors/warnings for types during bit watch

Bug Fixes

  • Fix an issue where if compilers did side-effects during build pipeline on package.json, these changes would not be in the generated package.json (#9207)
  • Fix an issue where the component-preview-template from the env was not included for core-environments (#9215)
  • Fix an issue where Bit tried to fetch local aspects from remote (#9208)

Internal

  • Fix many linting issues (#9209)
  • Remove component.jsonc files from some core components (#9211)
  • Update envs for core aspects (#9201)
  • Update dependencies (#9199, #9195, #9184, #9180, #9182)
  • Make the process of loading components and apps more robust (#9198, #9194)
  • Improve Scope garbage collect (#9193, #9192, #9190, #9189)
  • Add more APIs for VScode plugin to proxy for additional Bit commands (#9183)
bit - v1.8.52 Latest Release

Published by GiladShoham about 1 month ago

Improvements

  • Improve various CLI outputs to improve dev-experience (#9175, #9171, #9167, #9114, #9161, #9131, #9132, #9170, #9096)
  • Show dependents of a Lane in the component-drawer of the workspace and scope (#9151, #9154, #9152)

Performance

  • Reduce memory usage during peer dependencies resolution (#9156)

Bug Fixes

  • Fix an issue where modified components were rendered with opacity in the Bit dev-server (#9136)
  • Fix an issue where user-bar and compositions got re-rendered on route change in the Bit dev-server (#9137)
  • Fix an issue where bit env replace didn't work well when multiple versions of the same env is used for various components (#9174)
  • Fix an issue where link to line-of-code didn't scroll to selected line (#9160)
  • Fix an issue where automated API-reference had a missing API in tagged exports (#9162)
  • Fix an issue where Vite-generated previews didn't work well on windows (#9143)
  • Fix an issue where onLoad event wasn't triggered on webpack compilation errors (#9109)
  • Fix an issue where after bit new an error about "missing tsconfig" appears (#9092)

Internal

  • Additional APIs for the VScode-Bit-plugin (#9178, #9172, #9169, #9144, #9139, #9120, #9090, #9155, #9153, #9106, #9105, #9099, #9101, #9125, #9104, #9087, #9094, #9088)
  • Various fixes for "env loading" process (#9165, #9128, #9130, #9134, #9138, #9111)
  • Update dependencies (#9147, #9110, #9150, #9103, #9121, #9135, #9098)
  • Remove --lane-history from being a feature flag, as it is now the default (#9095)
  • Introduce more strategies to avoid fast-forward on bit snap or tag (#9159)
  • Add some documentation for teambit.workspace/workspace-config-files aspect (#9116)
  • Prepare the onlyOverview mode for component-docs (#9124, #9141, #9119, #9166)
  • Store generator service data for envs in their model (#9089)
  • Fix types issues in config mutator (#9177)
  • Add add webpack alias @teambit/base-react.navigation.link to ensure a single instance (#9113)
  • Gracefully handle missing compositions (#9093)
  • Improve backwards compatibility for legacy Jest testers (#9115)
  • Support HMR for legacy-react-apps when using "port-forwarding" (#9091)
  • Support define the env type by a type member as well as name (#9085)
bit - v1.8.20

Published by GiladShoham 3 months ago

New Features

  • Introduce Local Only Component workspace feature (#9059, #9057)
    • Mark any number of components as Local Only with the new bit local-only set <component> command
    • Local Only components allow you to avoid tagging/releasing specific components, even if they are modified, or their dependencies are modified.
    • Scenario 1 - I have an app in the workspace, which I want to be able to bit run, but I don't want to trigger it's build, as I am focused only on the components, while the app itself will be built and released from a different workflow.
    • Scenario 2 - I want to have a small component in my workspace as a basic "consumer" for my other components, and I don't want it published, as it is a testing environment for me and not a reuseable asset.

Improvements

  • Jest upgraded from 26 to 29 for all core environments (#9015, #9052)
    • Only relevant for teams who either directly use, or customize the following: teambit.react/react, teambit.harmony/node, teambit.react/react-native.
  • Support --update-snapshot option for bit test
    • Requires updating your env, or @teambit/defender.jest-tester and @teambit/vite.vitest-tester plugins if you have a custom env (#9025)
  • Quick search (cmd+k) now supports opening links in new tabs and few more UX updates (#9054)
  • Workspace starter (bit new) now supports creating custom envs and new components that use the new custom envs (#9036)
  • Add tooltip with full filename in file tree (#9066)
  • Add environments when initializing a workspace with bit init --generator [envs] option (#9064)
  • Add deprecation warning for teams using the Eslint/Prettier aspects directly and not through the designated plugins (#9050)
  • Introduce --force-ours and --force-theirs options for bit switch to override files in the workspace instead of trying to merge (#9048)
  • bit list command marks deleted components, and also sorted alphabetically (#9042, #9041)

Performance

  • Support SSR for the Bit UI during bit start (#8915)
  • Avoid adding apps to workspace.jsonc during bit create, as this is no longer needed (and impacts command load time) (#9061, #9037)

Bug Fixes

  • Fix an issue where bit create for a component with existing name but different scope failed (#9082)
  • Fix an issue where bit doctor command exited upon any check failure (#9072)
  • Fix an issue where if a package is duplicate in runtime and dev and bit deps remove --dev was used, dependency wasn't removed (#9070)
  • Fix an issue where short-hash version was written to .bitmap instead of long-hash (#9067)
  • Fix an issue where tagging a pre-release allows for an illegal version name (#9063)
  • Fix several issues in generating automated API References (#9062, #9060)
  • Fix an issue where dependency version was not saved correctly (#9039)
  • Fix an issue where bit show listed incorrect version when bit deps set was used (#9035)
  • Fix and issue where dependency installation on bit switch --main fails when app is configured in workspace.jsonc but not in .bitmap (#9038)

Internal

  • Refactor build pipeline for core environments (#9055)
  • Prepare Bit for Cloud Workspaces (#9081, #9080, #9079, #9078, #9077, #9076, #9069, #9053, #9046, #9047, #9028)
  • Prepare for VSCode plugin upgrades (#9065)
  • Ability to have a Bit Aspect with a custom env (#9045)
bit - v1.7.48

Published by GiladShoham 3 months ago

Improvements

  • Block running the build process when component issue is detected, and print the issue (unless manually approved) (#9031)

Bug Fixes

  • Fix an issue where Bit removed types entry in package.json that an env defined (#9034)
  • Fix an issue where CSS/SCSS parsing silently fails and not returning list of dependencies (#9033)
  • Fix an issue where imports with a pattern that returned an empty list resulted in stopping the entire import process (#9027)
  • Fix an issue where API Reference tab wasn't able to render method schema for functions that return jsx (#9019)
  • Fix OOM when ArtifactStorageError throws (#9014)

Internal

  • Update dependencies (#9020, #9026, #9011)
  • Refactor legacy code to modern components (#9029, #9024, #9023, #9016, #9018, #9021, #9017, #9010, #9012, #9013, #9000)
bit - v1.7.41

Published by GiladShoham 3 months ago

Features

  • Automatically install peerDependencies (#8954)
  • Quick search in component dev-server (bit start) - Mac: CMD+K, Windows/Linux: CTRL+K (#8964)

Improvements

  • Add generators to a new workspace during initialization (example: bit init --generator frontend.module-federation/envs/mf-react-env) (#8963)
  • Use dedicated SCSS and SASS parsers for better static code analysis and dependency detection (#8973)
  • Automated API Reference supports @link and alias for object binding nodes (#8969)
  • bit status warns about components that use deleted envs (#9009)
  • bit merge to support component patterns (#8990)
  • Various UI and CLI message and tooltip updates (#8962, #8959, #8974, #8975, #8967)
  • Change the recommended node version to be >=20.0.0 (#8966)

Performance

  • Speed up rendering the component graph on workspace (bit start) (#8978)
  • Update component loading flow to improve performance (#8970)
  • Improve command bootstrap performance by making it unnecessary to add apps to workspace.jsonc (#8965)
  • Improved strategy for determining if a snap is a part of a lane (#8961)

Bug Fixes

  • Fix an issue where the proxy agent didn't get the correct configuration (#8972)
  • Fix an issue where during bit install, components that compiled to ESM didn't have type:module in package.json (#9006)
  • Fix an issue where bit delete allowed deleting components from main, when on a lane (#9003)
  • Fix an issue where files that were removed from a component in a lane caused diverged lanes (#8976)
  • Fix an issue where when a component was merged to lane in a different lane, it wasn't available when using --head (#8960)

Internal

  • Export type for install result (#8947)
  • Add a fallback for events in webpack config (#8993)
  • Support component load options for component compilation API (#9007)
  • Update dependency versions (#8953, #8952, #9004, #8977, #9008, #8951)
  • Refactor legacy functionalities to components (#9001, #8999, #8998, #8997, #8995, #8996, #8992, #8994, #8991, #8988, #8989, #8987, #8984, #8986, #8985, #8983, #8982, #8981, #8979)
bit - v1.7.17

Published by GiladShoham 4 months ago

Performance

  • Improve bit install performance when Bit cache is warm (#8939)

Bug Fixes

  • Fix an issue where username/password auth settings from npmrc weren't passed correctly to pnpm (#8950)
  • Fix an issue where building version history graph caused stack overflow (#8944)
  • Fix an issue where times were printed to console during command execution (#8935)
  • Fix an issue where after bit create an error about not finding tsconfig appeared (#8931)

Internal

  • Bit now updates objects in local scope when .bitmap file was modified externally (by Git, for example) (#8941)
  • Update dependencies (#8946, #8933, #8936)
  • Update legacy aspect compilation (#8940, #8938)
bit - v1.7.3

Published by GiladShoham 5 months ago

New Features

  • bit completion command to support autocomplete for component names, commands, sub-commands and flags (currently supported macos/linux) - bit completion >> ~/.zshrc (#8888, #8898)
  • Ability to open component in the browser with bit show COMPONENT-NAME --browser (#8910)
  • env.jsonc supports extends option, to allow inheriting from another env.jsonc (#8896)
  • bit status warns if you have components depending on deprecated components another code-smell (#8854, #8882, #8891, #8892)
  • Ability to keep LICENSE.md file as part of a components (#8909)
  • Easy way to import and keep dependencies more up-to-date with --dependencies-head option for bit import (#8920)
  • Checkout to an ancestor-x revision of a component with head~x (bit checkout head~2 COMPONENT) (#8870)
  • Set a workspace name on initialization with bit init --name NAME (#8919)

Changes

  • Upgrade to PNPM 9 (#8770, #8901, #8867, #8913, #8878, #8904, #8879, #8877, #8916)
  • Add time when log is printed to the console (#8929)
  • Make bit status output cleaner when there are many warnings and add --warnings option to see verbose output (#8899)
  • Default to defaultScope from workspace.jsonc for the bit scope fork command (#8885)
  • Add a -r alias for --auto-merge-resolve (#8862)
  • Auto generate local scope when needed (#8923)
  • Improve outputs from bit lane merge around updating dependencies in workspace.jsonc (#8886)

Performance

  • Improve performance of dependency installation and resolution (#8925, #8926, #8921)

Bug Fixes

  • Show a descriptive error when running bit-scope commands outside a workspace (#8884)
  • Fix an issue where bit checkout didn't respect --auto-merge-resolve flag when finding workspace.jsonc conflicts (#8930)
  • Fix various issues with component comparison (#8874, #8865, #8869, #8864, #8858)
  • Fix an issue where loading consumer-components failed when cache issues found (#8927)
  • Fix an issue where bit eject-conf changed the env-version of a component (#8912)
  • Fix an issue where deps for generators weren't installed correctly (#8906)
  • Fix an issue where bit diff didn't import missing objects (#8861)
  • Fix several inconsistencies around updating dependencies (#8903, #8883, #8872)

Internal

  • Improve setting up a local dev-environment for Bit (#8928, #8922, #8905)
  • Improve preview entries (#8911, #8691)
  • Improve handling cache and memory store (#8902, #8780)
  • Update version hash calculation (#8887)
  • Add ability for some commands to skip the loadAspects step (#8849)
  • Improve support for ESM in core aspects (#8890, #8895)
  • Commit back generated CLI Reference (#8863)
  • Removed unused code paths (#8876, #8875, #8873)
  • Move core implementations to external components (#8860, #8914)
  • Vulnerability fixes (#8857, #8853, #8908)
  • Fix flaky tests (#8893)
bit - v1.6.157

Published by GiladShoham 6 months ago

New Features

  • Introduce bit unset-peer to support undoing `bit set-peer (#8843)
  • Introduce bit unuse to remove a configured aspect from workspace.jsonc (#8848)

Changes

  • bit status to show all soft-tagged components in a dedicated category (#8835)
  • Add a new component-issue "Import From Directory" suggesting to import from specific files (instead from ./) (#8806)
  • Support .gitignore file in the component root-dir to avoid adding specific files to a specific component (#8847)
  • Support --range flag for bit remove and bit deprecate to affect a range of versions (#8844)
  • Support a new flag bit switch ... --head to checkout to the head of a main or lane head once switched (#8851)
  • Support doing a lane merge in a new lane with bit merge move sub command (#8834)

Bug Fixes

  • Support aliases on exported nodes in schema extractor (#8838)
  • Fix an issue where it was not possible to import org.scope/** while in a lane (#8836)
  • Ensure aspects replaces properly in workspace.jsonc during bit scope rename (#8842)
  • Block from creating a component with the same name as the template name (#8831)
  • Block removal of new aspects that are used by other components (#8830)
  • Fix an issue where bit remove didn't remove envs from workspace.jsonc (#8829)
  • Fix an issue where bit checkout didn't reset component.json if exists locally (#8826)
  • API Reference overview section design fixes (#8832)

Internal

  • Remove dependencies (#8852, #8850, #8845)
  • Skip tests at tagging in the peer dependencies e2e test (#8855)
  • Refactor, remove tsconfig-writer (#8846)
  • Introduce a new flag bit sign --save-locally to make debugging easier (#8828)
  • Shorter capsule dir name (#8827)
bit - v1.6.145

Published by GiladShoham 6 months ago

New Features

  • Introduce a new command bit lane eject to remove the component from lane and install the component as a dependency (#8819, #8820)

Changes

  • Add scope name validations when creating a new lane (#8811)

Bug Fixes

  • Fix preview fixes introduced by moving to @pnpm/node-fetch (#8808, #8822)
  • Fix an issue where there is more than one terminal spinner with the same name (#8824)
  • Fix an issue where lane merge added a package with the same name to workspace.jsonc (#8817)
  • Fix an issue when an env was renamed, the generator entry for it in workspace.jsonc remained (#8813)
  • Avoid replacing end-of-line character on Windows, keep them as got them from Prettier. (#8810)
  • Fix an issue where component compare didn't show previous version (#8809)
bit - v1.6.140

Published by GiladShoham 6 months ago

New Features

  • New --import for bit watch to update the workspace when git pull changed the .bitmap file (#8795, #8803, #8798)
  • New flags for bit build --rewrite and --reinstall to use in conjunction with --reuse-capsules for better debugging for build pipelines (#8779)
  • Support a root-level .bitignore file (#8781)

Changes

  • React, Node and Symphony templates default to ESM
  • Improve logging of stack trace of errors thrown by build tasks (#8783)
  • Improve various CLI end terminal outputs (#8784)
  • Rename --merge to --auto-merge-resolve to be aligned with other commands (#8782)

Performance

  • Ensure deleted components do not get rebuilt (#8797, #8799, #8796)

Bug Fixes

  • Fix an issue where bit config set network.ca didn't work for communication with scope APIs (#8801, #8790)
  • Fix an issue where bit init didn't add a workspace.jsonc (#8800)
  • Fix an issue where remote registry throws an error but the version was actually published (#8789)
  • Fix an issue where component checked out to main version when importing with wildcards on lane (#8788)
  • Fix an issue where component preview loaded indefinitely instead of presenting an error (#8778)
  • Fix an issue where external envs didn't load correctly from global scope (#8786)
  • Ensure the correct version of the env is set for generated components (#8787)

Internal

  • Change loadLane to return undefined instead of null if not exists (#8805)
  • Fix flaky test "optional dependencies - affect capsule" (#8794)
bit - v1.6.126

Published by GiladShoham 6 months ago

New Features

  • Set BIT_DISABLE_CONSOLE=true BIT_DISABLE_SPINNER=true to get more focused CI logs (#8765)
  • bit login --refresh-token to generate a new token, instead of bit logout && bit login, also added prompt when running bit login when token is already set (#8760, #8758)

Changes

  • Improve CLI and terminal outputs (#8764, #8740, #8739, #8718, #8720, #8751)
  • Enforce cases where component should import it's own files, not it's module (for example, for component @teambit/design.button use import { Button } from "./button" instead of import { Button } from "@teambit/design.button") (#8757)
  • Component dependencies in workspace.jsonc entries to update during bit import (#8761)

Performance

  • 50% faster compile step during bit build when using @teambit/typescript.typescript-compiler@^2.0.27 (#8755, #8773, #8774)
  • bit compile and bit link are about 60% faster, each (#8734)
  • Tarball from bit doctor --archive is much smaller (#8767)
  • Improve "component loading" slightly (#8752)
  • Cache modules manifest (#8736)

Bug Fixes

  • Fixed an issue where Webpack on windows failed during preview because not finding all assets for bundle size calculation (#8785)
  • Fixed a bug where existing the compile step during bit build (Ctrl+C) didn't work (#8775)
  • Ensure network settings passed correctly to pnpm (#8772)
  • Fix an issue where bit login happens before loading of any aspects or components, so user doesn't hit 404 error (#8750)
  • Fix an issue where using package name for commands where component was private failed (#8748)
  • Various fixes for ensuring dependency management is more deterministic (#8754, #8768, #8741, #8746, #8737 )
  • Fixed an issue where bit status warned about circular dependencies even after issue resolved (#8735)

Internal

  • Update compilation for core Bit aspects (#8769, #8776, #8745, #8730, #8697, #8756)
  • Update many e2e tests (#8749, #8732)
  • Remove some legacy code (#8742, #8747)
  • Eject core code to external components (#8762)
  • Fix setup scripts on Windows (#8727)
  • Improve how Bit finds the instance of "component-issue" (#8777)
  • Report config.user_name during package installation (#8759)
  • Refactor some code paths (#8600, #8731)
bit - v1.6.106

Published by GiladShoham 7 months ago

New Features

  • Introduce bit version-history command to get complete component history in Directed Acyclic Graph (#8712, #8714, #8717)

Changes

  • bit create supports --force param for forcefully generate a component when directory already there (#8708)
  • bit scope rename command renames full directory path unless --preserve flag used (#8704)
  • Improve error messages and terminal outputs (#8705, #8698, #8726, #8706, #8699, #8701, #8703)
  • bit npmrc generate to fetch username from cloud instead of global config, if possible (#8725)
  • Allow skipping updating or generating npmrc on bit login (#8724)
  • Testers now support testing with source files, as an alternative to compiled (#8723)

Performance

  • Improve bit compile performance by calculating distDirs once per component (#8728)

Bug Fixes

  • Fixed an issue where bit lint would run on un-modified components (#8709)
  • Ensure @teambit/legacy will not be installed as a dependency (#8694)
  • Fixed an issue where bit env set would try and set a component as env (#8696)
  • Fixed an issue where scope fork was disabled when file system paths in workspace were conflicting (#8700)

Internal

  • Update dependencies (#8722, #8721)
  • Refactor handling of linter and prettier aspects (#8719, #8711, #8707)
  • Fix tests for optional dependencies (#8713)
  • New onCommandStartSlot (#8695)
bit - v1.6.95

Published by GiladShoham 7 months ago

Changes

  • Update dependency versions in workspace.jsonc according to semver ranges during bit import (#8686)

Bug Fixes

  • Fix a case where a component was not marked set an optional peer dependency (#8688)
  • Improve outputs and terminal messages (#8673, #8678, #8684)
  • Fix an issue where some build tasks silently didn't run (#8679)

Internal

  • Temporarily rollback auto installation of peer dependencies, to overcome mixup of Typescript versions (#8693)
  • Move some functions to new components (#8689)
  • Remove unwanted deps (#8687)
  • Add missing dependencies to package.json (#8680, #8682)
  • Add a new API to getCurrentSnap() for the Component object (#8677)
bit - v1.6.90

Published by GiladShoham 7 months ago

Changes

  • bit doctor supports --include-node-modules and --exclude-local-scope (#8670)
  • bit start has a new set of outputs, removing the ink library (#8641, #8630)

Performance

  • Improve managing of component version history (#8612)

Bug Fixes

  • Fix and improve many CLI outputs and messages (#8618, #8674, #8672, #8633, #8631, #8636, #8642, #8622)
  • Fix an issue where import dependents didn't get all dependency paths (#8669)
  • Fix an issue where changing peerDependencies rules caused a change to lockfile (#8668)
  • Fix the width of component size tooltip (#8659)
  • Fix an issue where dependency on a semver pre-release was not saved with exact version (#8662)
  • Fix an issue where during tag or snap didn't import VersionHistory if ParentNotFound error occurred (#8664, #8663)
  • Fix an issue where merging lanes caused explicitly added dependencies were removed from the merged outcome (#8665)
  • Do not allow running bit init --refer-scope within a sub-directory of a workspace (#8634)

Internal

  • Auto install peerDependencies in capsules (#8621, #8658)
  • Upgrade typescript from 4.7.4 to 5.3.3 (#8643)
  • Update nodejs to v20.11.1 (#8616)
  • Update dependencies (#8652, #8657, #8666, #8650)
  • Migrate legacy code to Bit components
  • Refactor and move legacy code to components (#8649, #8648, #8647, #8637, #8639, #8638, #8632, #8635, #8626, #8646, #8625, #8661, #8617)
  • Add support for mts/cts/mtsx/ctsx files for TS compiler (#8619)
  • Better cache handling for various watchers like bit server (#8620)
bit - v1.6.73

Published by GiladShoham 8 months ago

New Features

  • Navigate from components to their dependencies from the code viewer (#8556)
  • Mark a component to be a peerDependency when installed to a workspace with bit set-peer <comp> [range] (#8591, #8561)
  • Introduce "--skip-tasks" flag to filter out specific tasks from a build pipeline (#8611)

Changes

  • Update base component templates (#8574, #8573, #8588, #8614)
  • Generate package.json with type:module on bit init (#8572)
  • Improve various CLI outputs and errors (#8605, #8603, #8602, #8592, #8585, #8532, #8578, #8593, #8595)

Performance

  • Avoid calculating whether a component ID belong to a lane if all objects exist (#8607)

Bug Fixes

  • Fix various bugs in @exports for automated API schema; remove duplicate values and allow more types of nodes to export (#8552, #8553)
  • Remove redundant dependencies from basic starter workspace policy (#8555)
  • Fix output when importing artifacts from a lane (#8545)
  • Fix and issue where after creating a component an error message for tsconfig not found appeared (#8562)
  • Fix an issue where comparing for modifications was against the head of the lane, not what is current in workspace (#8554)
  • Fix an issue where components marked as peerDependencies are missing many "component dependencies" features, like being presented on the dependency graph, and not triggering auto-tag (#6375)
  • During update-dependents ensure dependency versions are set according to the lane (#8566)
  • Fix an issue where peerDependencies changes weren't listed on bit diff (#8586)
  • Fix an issue where EOF char showed as change in bit diff (#8610)
  • Fix an issue where prints to terminal on windows lost pretty colors (#8601)
  • Enable running bit move after manually moving a component on the file system (#8599)
  • Sort list of dependencies by name (#8594)
  • Fix an issue where snap-hash wasn't converted to semver before checking for workspace.jsonc conflicts (#8590)
  • Convert mainFile to linux format before saving into component objects (#8608)

Internal

  • Ability for envs to manipulate generated API schema (#8559)
  • Improve ESM support (#8548)
  • Various cleanup and code refactors (#8547, #8613, #8606, #8568, #8579, #8569, #8598, #8596, #8604)
bit - v1.6.62

Published by GiladShoham 8 months ago

New Features

  • Generate ~/.npmrc file for logged in user (#8525, #8523, #8514, #8521)
    • New command bit npmrc generate to populate the .npmrc file according to remotes (with ability to --dry-run)
    • Generate .npmrc during bit login
  • Add decorator support for automated API reference (#8517)
  • Ability to deprecate past versions (including ranges) of components (#8522)
  • bit import --dependents to import a selected "path" of dependents from a source component to all its dependents in your workspace (#8505)

Changes

  • Configuration to disable generating component's API schema (#8506)
  • Bit update should default to update dependencies to latest, unless --semver option used (#8453)
  • bit rename to mark old name as deleted instead of deprecated (#8518)

Performance

  • Use cache to calculate dependency graph in a Scope (#8529)

Bug Fixes

  • bit lane merge to handle a case when a component was locally deleted (#8524)
  • Fix a bug where app artifacts weren't saved correctly on Windows (#8504)
  • Improve CLI error messages (#8519, #8530)
  • Fix an issue when navigating between composition of a specific version and it's code-behind (#8510)
  • Fix component rename on fork by forward AST options flag when refactoring variables and classes (#8509)
  • Fix an issue where bit deps get --tree didn't work when cyclic deps found (#8528)
  • Fix an issue where bit deps get didn't include deleted components (#8526)

Internal

  • Remove dead code (#8513)
  • Make ignore-issues param for tag or snap mandatory, if any particular issue found (#8512)
  • Improve aspect-loading when testing the Bit core codebase (#8516, #8515)
  • Prepare for automated peerDependency installation in capsules (#8527, #8450, #8537)
bit - v1.6.52

Published by itaymendel 9 months ago

Bug Fixes

  • Fix issue where bit start failed to handle null for the new Developer Dropdown (#8499)
  • Fix an issue where variables and class names weren't renamed correctly on bit new (#8501)
bit - v1.6.50

Published by itaymendel 9 months ago

New Features

  • Introduce new Lane History to log changes of multiple components (#8381, #8370, #8383)
    • bit lane history command to inspect and control history of changes
    • bit lane checkout to "jump" back in time to a state of a lane
    • bit lane revert to revert implementation of all components in the last to a previous state (they will be modified)
  • Introduce ability to mark dependencies as optional (#8169, #8290)
  • Introduce new Developer Dropdown for bit start; allow log-in through the UI, include more links to docs, resources and more (#8376, #8158, #8457)

Changes

  • Support managing multiple lanes with the same name (and different scopes) in the same workspace (#8419, #8389)
  • Merging from main includes components that are not in the lane, but in the workspace (#8279)
  • Shorthand version for bit install --add-missing-deps with bit install -a (#8379)
  • Additional merge strategies for components and lanes (#8397, #8418, #8414, #8393, #8425)
  • Improve basic generators section in workspace.jsonc to simplify comment-in/out of basic generators (#8284)
  • scope rename command to support renaming exported components (#8456)
  • Add a warning during bit status where a component refers to its own package name (#8442)
  • Commands now support specifying package names instead of component-ids (#8427)
  • New option for rename command - --delete to mark the old name to be deleted (#8446)
  • Support component patterns for format, lint and diff commands (#8447, #8445, #8359)
  • Support --skipDependencyInstallation for bit eject (#8390)

Performance

  • Optimize "component loading" process (#8346, #8031, #8311, #8328)
  • Improve bit start load times by pre-bundling the app (#8343, #8336, #8395, #8325)
  • Improve calculation of dependency graphs (#8301, #8329, #8371, #8335)
  • Lazy loading for monaco editor (#8458)

Bug Fixes

  • Fix CLI outputs to improve DX and readability of messages (#8416, #8413, #8340, #8294, #7936, #8032, #8288, #8334, #8333, #8280, #8437)
  • Fix a bug where modified dependencies weren't showed in the UI (#8384)
  • Fix an issue where navigating between previews of the same component failed (#8367)
  • When forking components, their dependencies should have a semver pre-fix in workspae.jsonc (#8430)
  • Various fixes for Lane and merge conflict management (#8337, #8317, #8316, #8292, #8368, #8380)
  • Better handle network glitches by better configuring retries (#8305)
  • Fix an issue where Bit tried to delete files from non-existing components (#8421)
  • Fix routing issues for components with the same name and different scopes in the same bit start app (#8404)
  • Fix an issue where artifacts weren't available as part of the context for application deployment (#8400)
  • Ensure workspace-aspect-config values remain when running bit init --default-scope MY-SCOPE (#8299)
  • Fix an issue where component IDs left in workspace.jsonc after bit remove of that component (#8356)
  • Fixed a bug where link to highlighted line in a non-main version wasn't routing correctly (#8282)
  • Fix an issue where bit deps set is not the top priority for dependency version management (#8287)
  • Do not throw an error when there are no components to diff (#8332)
  • Fix an issue whereLanes Overview and didn't have live rendering (#8354)
  • install should prefer root policy versions for root node_modules installation (#8449)
  • Fix an issue where jest-tester did not return the test results on Windows (#8441)
  • Fix an issue where bit start threw a "duplicate render keys" error (#8460)
  • Fix reset to remove component from lane if the reset was to main and not exist on remote-lane (#8454)

Internal

  • Improve creation of new components in Workspace Staters (#8309, #8310, #8308)
  • Move implementations from legacy-bit to correct Aspects (#8402, #8396, #8366, #8365, #8363, #8377, #8321, #8461, #8462)
  • Remove dead code (#8403, #8399, #8386, #8388, #8382, #8355, #8352, #8351, #8350, #8278, #8296, #8298, #8349, #8348, #8303, #8291, #8289, #8293, #8391, #8464)
  • Create a dedicated Env for core-Aspects (#8322, #8320, #8306, #8302, #8319, #8372, #8373, #8172, #8406)
  • Introduce a new plumbing command bit snap-distance (#8315)
  • Prepare for theming for bit start (#8417)
  • Update dependencies (#8392, #8424, #8398, #8438)
  • Improve support for ESM (#8326, #8318, #8286, #8496)
  • Print proper error with HTTP options in the log instead of [object Object] (#8312)
  • Backup mechanism for workspace.jsonc (#8304)
  • Enable self references in capsules (#8375)
  • Simplify debugging bit import --dependents with --dependents-dry-run (#8422)
  • Improve cache management (#8415, #8323)
  • New API slot for OnWorkspaceConfigChange (#8360)
  • Unmerged data APIs to work with ID, not only name (#8331)
  • New stop() optional API for Apps (#8429)
bit - v1.5.29

Published by GiladShoham 10 months ago

Bug Fixes

  • Fix deployContext types issue (#8266)
  • Update terminal output when suggesting to run install and compile to be only install (#8264)
  • Handle forking local components without specifying targetId (#8275)
  • Sync default component dir creation with import (#8273)

Internal

  • Ensure components from the same env are symlinked between their capsules on build pipeline (#8269)
  • Update node-env for base templates
  • Additional API to calculate artifacts rootDir (#8267)
  • Fix usage of installMissingDependencies from a template
  • Avoid fetching all history when squashing history for bit merge (#8272)
  • Align order workspace history (#8271)
  • Do not fetch missing version history when not specifically mentioned (#8270)
bit - v1.5.22

Published by GiladShoham 10 months ago

New Features

  • Link to specific lines in component code view (#8246)

Changes

  • Improve CLI outputs in various commands (#8258 #8256)
  • Update default .gitignore in all basic workspace starters (#8245)
  • Support state-patterns in tag command (#8252)

Performance

  • Listing components from a Scope is now faster (#8225)

Bug Fixes

  • Fix an issue where checkout reset wasn't bringing back locally deleted components (#8253 #8255)
  • Ensure components that have pending builds gets imported (#8257)
  • Ensure template comes from --env flag of bit create, if explicitly provided (#8249)

Internal

  • Update dependencies (#8240)
  • Refactoring and removing irrelevant code paths (#8243 #8217)
  • Log commands/api-calls coming from the IDE to command-history-ide file (#8242)
  • Ensure core aspects are linked once to the root capsules directory (#8259)
  • Enable passing title as base64 (#8250)
  • Write local refs of remote lanes during import even when no component was imported (#8251)
  • Restore LoadDeps hook after loading bit from the global scope (#8248)