@withgraphite/graphite-cli 1.2.7 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Graphite CLI Changelog
2
2
 
3
+ # 1.3.0 2024-03-20
4
+
5
+ - This version of the Graphite CLI includes a significant update to `gt sync` and `gt get` that will be rolled out over the coming weeks via a server-side feature flag.
6
+
7
+ - The primary goal of these changes is to improve the experience of syncing remote changes to your local branches, ensuring that flows like collaborating on a stack or applying suggested edits to a PR are seamless and reliable.
8
+ - Notably, `gt sync` now syncs all branches, where previously it just synced trunk. This brings it closer to the behavior of `gt get`.
9
+ - Conversely, `gt get` with no argument passed is essentially "`gt sync` for the currently checked out stack."
10
+ - The full behavior is:
11
+ 1. Update the trunk branch to match remote
12
+ 2. Clean up branches associated with merged or closed PRs
13
+ 3. Sync any remote changes to local branches
14
+ 4. Restack branches as needed
15
+ - If you'd like to be included in the initial rollout of these changes, please let us know in the #cli-beta channel on our Community Slack. Since we are using a server-side feature flag, updating to 1.3.0 alone will not enable the new behavior.
16
+ - The changes are largely based on your feedback, and we're excited to see how they improve your experience with Graphite. THANK YOU!
17
+
18
+ - `gt create` now applies the branch prefix to branch names passed in directly (e.g. `gt create branch-name` with a prefix of `prefix/` will yield a branch called `prefix/branch-name`). This behavior can be disabled in `gt config`. If the branch name already begins with the prefix, it will not be added again.
19
+ - Graphite now sets the environment variable `GT` to `1`, which can be checked by subprocesses like an editor or Git hook to determine if they are being run from Graphite.
20
+
21
+ - Fixed a bug where `gt absorb` would fail if the git config to detect copies in diffs was enabled.
22
+ - Fixed a bug where `gt split --by-hunk` would leave the user in a detached state if interrupted.
23
+ - If no changes are staged in a step of `gt split --by-hunk`, it will now prompt to stage changes again instead of exiting with an error.
24
+
25
+ - Slightly updated help text and error messages for `gt fold`.
26
+
27
+ # 1.2.8 2024-03-12
28
+
29
+ - Fixed a segfault issue caused by a dependency.
30
+
3
31
  # 1.2.7 2024-03-07
4
32
 
5
33
  - Added support for `gt demo` to use a temporary repository if run from outside of a repository.