14 KiB
@changesets/git
2.0.0
Major Changes
-
#1029
598136a
Thanks @Andarist! -getCommitsThatAddFiles
accepts an options object argument now where you can usecwd
option.-getCommitsThatAddFiles(paths, cwd); +getCommitsThatAddFiles(paths, { cwd });
-
#1029
598136a
Thanks @Andarist! -getCurrentCommitId
andgetCommitsThatAddFiles
return full commit hashes now instead of short ones. You can get short ones by using theshort: true
option. -
#1029
598136a
Thanks @Andarist! - Previously deprecatedgetCommitThatAddsFile
has been removed whilegetCommitsThatAddFiles
is still available.
Minor Changes
- #1033
521205d
Thanks @Andarist! -getChangedPackagesSinceRef
accepts now a newchangedFilePatterns
option. It can be used to determine which packages should be classified as changed. You can pass an array of glob patterns to it.
Patch Changes
- Updated dependencies [
521205d
]:- @changesets/types@5.2.1
1.5.0
Minor Changes
- #662
8c08469
Thanks @JakeGinnivan! - AddtagExists
&remoteTagExists
git helpers
Patch Changes
- Updated dependencies [
8c08469
]:- @changesets/types@5.2.0
1.4.1
Patch Changes
- #889
f64bc1b
Thanks @jakubmazanec! - FixedgetCurrentCommitId
so that the returned value doesn't contain quotation marks on some Windows machines.
1.4.0
Minor Changes
- #858
dd9b76f
Thanks @dotansimha! - Added a new helper function:getCurrentCommitId
Patch Changes
- Updated dependencies [
dd9b76f
]:- @changesets/types@5.1.0
1.3.2
Patch Changes
-
#770
eb86652
Thanks @alizeait! -getChangedFilesSince
andgetChangedPackagesSinceRef
will now return the correct absolute paths of the changed files when the passedcwd
is different from the repository's root. -
Updated dependencies [
c87eba6
]:- @changesets/types@5.0.0
1.3.1
Patch Changes
- Updated dependencies [
27a5a82
]:- @changesets/types@4.1.0
1.3.0
Minor Changes
- #725
77c1cef
Thanks @RoystonS, @Andarist! - New public utilities have been added:deepenCloneBy
andisRepoShallow
.
1.2.1
Patch Changes
-
#667
fe8db75
Thanks @fz6m! - Upgraded@manypkg/get-packages
dependency to fix getting correct packages in pnpm workspaces with exclude rules. -
Updated dependencies [
9a993ba
]:- @changesets/types@4.0.2
1.2.0
Minor Changes
- #634
2b49c39
Thanks @joeldenning! - A newgetAllTags
utility has been added.
1.1.2
Patch Changes
- Updated dependencies [
e89e28a
]:- @changesets/types@4.0.1
1.1.1
Patch Changes
- Updated dependencies [
de2b4a5
]:- @changesets/types@4.0.0
1.1.0
Minor Changes
-
24d7bc9
#495 Thanks @RoystonS! - Automatically deepen shallow clones in order to determine the correct commit at which changesets were added. -
24d7bc9
#495 Thanks @RoystonS! - Deprecate thegetCommitThatAddsFile
function. It's replaced with a bulkgetCommitsThatAddFiles
operation which will safely deepen a shallow repo whilst processing multiple filenames simultaneously.
1.0.6
Patch Changes
-
1dd3117
#418 Thanks @jonathanmorley! - Don't return paths for unchanged packages -
Updated dependencies [
a57d163
]:- @changesets/types@3.1.1
1.0.5
Patch Changes
-
89f0c49
#352 Thanks @MichaelKapustey! - Previously packages nested inside of other packages would show both the nested package and the outer package as changed. Now, only the nested package will show as changed. -
09f62f9
#355 Thanks @acheronfail! - Fix an issue where refs that didn't exist were silently ignored -
Updated dependencies [
2b49d66
]:- @changesets/types@3.0.0
1.0.4
Patch Changes
aa840db
#336 Thanks @MichaelKapustey! - Changed packages detection fixed on Windows.
1.0.3
Patch Changes
-
1706fb7
#321 Thanks @mitchellhamilton! - Fix TypeScript declarations -
Updated dependencies [
1706fb7
]:- @changesets/errors@0.1.4
- @changesets/types@2.0.1
1.0.2
Patch Changes
- Updated dependencies [
011d57f
]:- @changesets/types@2.0.0
1.0.1
Patch Changes
-
04ddfd7
#305 Thanks @Noviny! - Add link to changelog in readme -
b49e1cf
#306 Thanks @Andarist! - Ignorenode_modules
when glob searching for packages. This fixes an issue with package cycles. -
Updated dependencies [
04ddfd7
,e56928b
]:- @changesets/errors@0.1.3
- @changesets/types@1.0.1
1.0.0
Major Changes
cc8c921
#290 Thanks @mitchellhamilton! - Use@manypkg/get-packages
instead ofget-workspaces
ingetChangedPackagesSinceRef
. This meansgetChangedPackagesSinceRef
now returnsPromise<Package[]>
(wherePackage
is from@manypkg/get-packages
) rather thanPromise<Workspace[]>
(whereWorkspace
is fromget-workspaces
). The notable change is thatconfig
was renamed topackageJson
and the package objects don't have aname
field(usepackageJson.name
instead).
Patch Changes
0.4.0
Minor Changes
Patch Changes
0.3.0
Minor Changes
bca8865
#221 Thanks @mitchellhamilton! - RemovedgetChangedPackagesSinceMaster
andgetChangedChangesetFilesSinceMaster
and replace them withgetChangedPackagesSinceRef
andgetChangedChangesetFilesSinceRef
. The new methods along withgetChangedFilesSince
also now require arguments as an object withcwd
andref
properties to avoid accidentally passingcwd
asref
and vice versa
0.2.5
Patch Changes
b17ed74
#216 Thanks @mitchellhamilton! - Get commit from the creation of a changeset rather than the last modification
0.2.4
Patch Changes
- Updated dependencies [
8f0a1ef
,8f0a1ef
,8f0a1ef
]:- @changesets/types@0.4.0
- @changesets/errors@0.1.2
- get-workspaces@0.5.2
0.2.3
Patch Changes
- Updated dependencies [
94de7c1
]:- @changesets/errors@0.1.0
0.2.2
Patch Changes
- 89c0894 #167 Thanks @Noviny! - Fix broken
sinceMaster
arg - which was not working with v2 changesets
0.2.1
Patch Changes
-
0320391 #163 Thanks @Noviny! - Reordered dependencies in the package json (this should have no impact)
-
Updated dependencies [8c43fa0, 1ff73b7]:
- @changesets/types@0.3.0
0.2.0
Minor Changes
- 296a6731 - Safety bump: Towards the end of preparing changesets v2, there was a lot of chaos - this bump is to ensure every package on npm matches what is found in the repository.
Patch Changes
- Updated dependencies [296a6731]:
- get-workspaces@0.5.0
- @changesets/types@0.2.0
0.1.2
Patch Changes
- a15abbf9 - Previous release shipped unbuilt code - fixing that
0.1.0
Minor Changes
- 6d119893 - Initial Release
Patch Changes
- c46e9ee7 - Use 'spawndamnit' package for all new process spawning