Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: libgit2/libgit2

libgit2 v1.9.1

06 Jun 19:20
0060d9c
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

What's Changed

Bug fixes

Build and CI improvements

Documentation improvements

New Contributors

Full Changelog:v1.9.0...v1.9.1

Contributors

  • @kivikakk
  • @nelhage
  • @vapier
  • @lrm29
  • @csware
  • @kanavin
  • @georgthegreat
  • @ethomson
  • @Faless
  • @florianpircher
  • @emilazy
  • @carlo-bramini
  • @DominiqueFuchs
  • @JohannesWilde
  • @peter15914
  • @ytnuf
  • @wklatka
kivikakk, nelhage, and 15 other contributors
Assets2
Loading
alerque, vik-borisov, tiawl, Bandeapart1964, and themilkman reacted with thumbs up emoji
5 people reacted

libgit2 v1.9.0

28 Dec 15:14
338e6fb
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

This is release v1.9.0, "Schwibbogen". As usual, it contains numerous bug fixes, compatibility improvements, and new features.

This is expected to be the final release in the libgit2 v1.x lineage. libgit2 v2.0 is expected to be the next version, with support for SHA256 moving to "supported" status (out of "experimental" status). This means that v2.0 will have API and ABI changes to support SHA256, as well as otherbreaking changes.

Major changes

  • Documentation improvements
    We've launched a new website for our API reference docs athttps://libgit2.org/docs/reference/main. To support this, we've updated the documentation to ensure that all APIs are well-documented, and added docurium-style specifiers to indicate more depth about the API surface.

    We now also publish a JSON blob with the API structure and the documentation that may be helpful for binding authors.

  • TLS cipher updates
    libgit2 has updated our TLS cipher selection to match the "compatibility" cipher suite settings asdocumented by Mozilla.

  • Blame improvements
    The blame API now contains committer information and commit summaries for blame hunks, and the ability to get information about the line of text that was modified. In addition, a CLI blame command has been added so that the blame functionality can be benchmarked by our benchmark suite.

  • More CLI commands
    libgit2 has addedblame andinit commands, which have allowed forfurther benchmarking and several API improvements and git compatibility updates.

  • Warning when configuring without SHA1DC
    Users are encouraged to use SHA1DC, which isgit's hash;users should not use SHA1 in the general case. Users will now be warned if they try to configure cmake with a SHA1 backend (-DUSE_SHA1=...).

Breaking changes

There are several ABI-breaking changes that integrators, particularly maintainers of bindings or FFI users, may want to be aware of.

  • Blame hunk structure updates (ABI breaking change)
    There are numerous additions to thegit_blame_hunk structure to accommodate more information about the blame process.

  • Checkout strategy updates (ABI breaking change)
    The values forGIT_CHECKOUT_SAFE andGIT_CHECKOUT_NONE have been updated.GIT_CHECKOUT_SAFE is now0; this was implicitly the default value (with the options constructors setting that as the checkout strategy). It is now the default if the checkout strategy is set to0. This allows for an overall code simplification in the library.

  • Configuration entry member removal (ABI breaking change)
    Thegit_config_entry structure no longer contains afree member; this was an oversight as end-users should not try to free that structure.

  • Configuration backend function changes (ABI breaking change)
    git_config_backends should now returngit_config_backend_entry objects instead ofgit_config_entry objects. This allows backends to provide a mechanism to nicely free the configuration entries that they provide.

  • update_refs callback for remotes (ABI breaking change)
    Theupdate_refs callback was added to thegit_remote_callbacks structure to provide additional information about updated refs; in particular, thegit_refspec is included for more information about the remote ref. Theupdate_refs callback will be preferred over the now deprecatedupdate_tips callback.

What's Changed

New features

  • Thegit_signature_default_from_env API will now produce a pair ofgit_signatures representing the author, and the committer, taking theGIT_AUTHOR_NAME andGIT_COMMITTER_NAME environment variables into account. Added by@u-quark in#6706

  • packbuilder can now be interrupted from a callback. Added@roberth in#6874

  • libgit2 now claims to honor thepreciousObject repository extension. This extension indicates that the client will never delete objects (in other words, will not garbage collect). libgit2 has no functionality to remove objects, so it implicitly obeys this in all cases. Added by@ethomson in#6886

  • Push status will be reported even when a push fails. This is useful to give information from the server about possible updates, even when the overall status failed. Added by@yerseg in#6876

  • You can now generate a thin pack from a mempack instance usinggit_mempack_write_thin_pack. Added by@roberth in#6875

  • The newLIBGIT2_VERSION_CHECK macro will indicate whether the version of libgit2 being compiled against is at least the version specified. For example:#if LIBGIT2_VERSION_CHECK(1, 6, 3) is true for libgit2 version 1.6.3 or newer. In addition, the newLIBGIT2_VERSION_NUMBER macro will return an integer version representing the libgit2 version number. For example, for version 1.6.3,LIBGIT2_VERSION_NUMBER will evaluate to010603. Added by@HamedMasafi in#6882

  • Custom X509 certificates can be added to OpenSSL's certificate store using theGIT_OPT_ADD_SSL_X509_CERT option. Added by@yerseg in#6877

  • The libgit2 compatibility CLI now has agit blame command. Added by@ethomson in#6907

  • Remote callbacks now provide anupdate_refs callback so that users can now get therefspec of the updated reference during push. This gives more complete information about the remote reference that was updated. Added by@ethomson in#6559

  • An optional FIPS-compliant mode for hashing is now available; you can set-DUSE_SHA256=OpenSSL-FIPS to enable it. Added by @marcind-dot in#6906

  • The git-compatible CLI now supports thegit init command, which has been useful in identifying API improvements and incompatibilities with git. Added by@ethomson in#6984

  • Consumers can now query more information about how libgit2 was compiled, and query the "backends" that libgit2 uses. Added by@ethomson in#6971

Bug fixes

Security fixes

  • ssh: Include rsa-sha2-256 and rsa-sha2-512 in the list of hostkey types by@lrm29 in#6938
  • TLS: v1.2 and updated cipher list by@ethomson in#6960

Code cleanups

Read more

Contributors

  • @anatol
  • @ehuss
  • @BenJam
  • @carlosmn
  • @lrm29
  • @csware
  • @roberth
  • @u-quark
  • @ethomson
  • @civodul
  • @kempniu
  • @ajacoutot
  • @John-Colvin
  • @gensmusic
  • @rindeal
  • @vcfxb
  • @Caleb-T-Owens
  • @HamedMasafi
  • @jayong93
  • @bmarques1995
  • @ryan-ph
  • @kcsaul
  • @yerseg
  • @Kyle-Ye
  • @lstoppa
  • @thymusvulgaris
anatol, ehuss, and 24 other contributors
Loading
u-235, extrawurst, jkhosla, tiawl, Bandeapart1964, and J-HaleOf76 reacted with thumbs up emojiflorianpircher, jkhosla, dalyIsaac, jdavid, themilkman, and lstoppa reacted with heart emojijkhosla and FintanH reacted with rocket emoji
12 people reacted

libgit2 v1.8.4

30 Oct 22:29
3f4182d
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

v1.8.4

We erroneously shipped v1.8.3 without actually including the change in v1.8.2. This release re-re-introduces the pre-v1.8.0commit constness behavior.

What's Changed

Bug fixes

Full Changelog:v1.8.3...v1.8.4

Contributors

  • @ethomson
ethomson
Loading
u-235, tiawl, TheLavaBlock, Bandeapart1964, and Juoelenis reacted with thumbs up emoji
5 people reacted

libgit2 v1.8.3

26 Oct 19:17
3353f78
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

This release fixes a bug introduced in v1.8.1 for users of the legacyNode.js http-parser dependency.

What's Changed

Bug fixes

  • http: Backport on_status initialize fix for http-parser by@ethomson in#6931

Full Changelog:v1.8.2...v1.8.3

Contributors

  • @ethomson
ethomson
Loading
sans-c, u-235, tiawl, themilkman, and Bandeapart1964 reacted with thumbs up emoji
5 people reacted

libgit2 v1.8.2

19 Oct 16:25
4ce872a
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

v1.8.2

This release reverts a const-correctness change introduced in
v1.8.0 for thegit_commit_create functions. We now retain the
const-behavior for thecommits arguments from prior to v1.8.0.

This change was meant to resolve compatibility issues with bindings
and downstream users.

What's Changed

New features

  • Introduce a stricter debugging allocator for testing by@ethomson in#6811

Bug fixes

Build and CI improvements

Full Changelog:v1.8.1...v1.8.2

Contributors

  • @ethomson
ethomson
Loading
VladimirCreator, u-235, tiawl, jeroen, warappa, stewid, podsvirov, dvklopfenstein, and themilkman reacted with thumbs up emoji
9 people reacted

libgit2 v1.8.2 RC 1

14 Jun 08:45
4ce872a
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
Pre-release

v1.8.2

This release reverts a const-correctness change introduced in
v1.8.0 for thegit_commit_create functions. We now retain the
const-behavior for thecommits arguments from prior to v1.8.0.

This change was meant to resolve compatibility issues with bindings
and downstream users.

What's Changed

New features

  • Introduce a stricter debugging allocator for testing by@ethomson in#6811

Bug fixes

Build and CI improvements

Full Changelog:v1.8.1...v1.8.2

Contributors

  • @ethomson
ethomson
Loading
tiawl, u-235, TheLavaBlock, and lundmar reacted with thumbs up emoji
4 people reacted

libgit2 v1.8.1

16 May 10:19
36f7e21
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

This release primarily includes straightforward bugfixes, as well as new functionality to have more control over the HTTP User-Agent header. However, there is an API change from v1.8 that was required for cross-platform compatibility.

In v1.8, libgit2 introduced thereport_unchanged member in thegit_fetch_options structure. We mistakenly introduced this as a bitfield, which is not suitable for our public API. To correct this mistake, we haveremoved thereport_unchanged member. To support the report unchanged tips option, users can set theupdate_fetchhead member to include theGIT_REMOTE_UPDATE_REPORT_UNCHANGED value.

The libgit2 projects regrets the API change, but this was required to support cross-platform compatibility.

What's Changed

New features

Bug fixes

Build and CI improvements

Documentation improvements

Dependency updates

New Contributors

Full Changelog:v1.8.0...v1.8.1

Contributors

  • @ConradIrwin
  • @csware
  • @sgallagher
  • @ethomson
  • @florianpircher
  • @hackhaslam
  • @qaqland
  • @barracuda156
ConradIrwin, csware, and 6 other contributors
Loading
u-235, warappa, tiawl, icanhasmath, elguzz91, and xlindo reacted with thumbs up emoji
6 people reacted

libgit2 v1.8.0

20 Mar 20:54
d74d491
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

v1.8

This is release v1.8.0, "Das Fliegende Klassenzimmer". This release includes optional, experimental support for invoking OpenSSH to fetch and push, an easier mechanism to perform the default behavior ofgit commit, and has many improvements for worktrees. This release also includes many other new features and bugfixes.

Major changes

  • Executable SSH (OpenSSH) support
    libgit2 can now invoke the command-line OpenSSH to fetch from and push to remotes over SSH. This support takes the place of libssh2 support. To use it, configure libgit2 withcmake -DUSE_SSH=exec, and please report any problems that you discover. By@ethomson in#6617

  • Simplified commit creation
    Thegit_commit_create_from_stage API was introduced to allow users to better emulate the behavior ofgit commit without needing to provide unnecessary information. The current state of the index is committed to the current branch. By@ethomson in#6716

  • Worktree improvements
    A number of worktree improvements have been made for better compatibility with core git. First, libgit2 now understands per-worktree references, thanks to@csware in#6387. Worktree-specific configuration is now supported, thanks to@vermiculus in#6202. And improved compatibility withgit worktree add is now supported, thanks to@herrerog in#5319.

Breaking changes

  • AddingWORKTREE configuration level (ABI breaking change)
    To support worktree configurations at the appropriate level (higher priority than local configuration, but lower priority than app-specific configuration), theGIT_CONFIG_LEVEL_WORKTREE level was introduced at priority 6.GIT_CONFIG_LEVEL_APP now begins at priority 7.

  • Changes togit_config_entry (ABI breaking change) Thegit_config_entry structure now contains information about thebackend_type andorigin_path. The unusedpayload value has been removed.

  • git_push_options includes remote push options (ABI breaking change)
    Thegit_push_options structure now contains a value for remote push options.

Other changes

New features

Bug fixes

Build and CI improvements

Read more

Contributors

  • @russell
  • @samueltardieu
  • @yori
  • @albfan
  • @vafada
  • @wetneb
  • @carlosmn
  • @lrm29
  • @csware
  • @dvzrv
  • @roehling
  • @parnic
  • @lazka
  • @adamharrison
  • @georgthegreat
  • @ethomson
  • @kempniu
  • @vermiculus
  • @herrerog
  • @pluehne
  • @thosey
  • @christopherfujino
  • @semarie
  • @xphoniex
  • @kcsaul
  • @7Ji
  • @DavHau
  • @mascguy
  • @boretrk
  • @steven9724
russell, samueltardieu, and 28 other contributors
Loading
podsvirov, laurentkempe, u-235, hkinke, qaqland, naty55, hoangpq, and Aein29 reacted with thumbs up emojipodsvirov and Aein29 reacted with laugh emojianulman, kjarex, and Aein29 reacted with rocket emoji
10 people reacted

libgit2 v1.7.2

06 Feb 20:20
Compare
Choose a tag to compare
Loading

🔒 This is a security release with multiple changes.

  • A bug ingit_revparse_single is fixed that could have caused the function to enter an infinite loop given well-crafted inputs, potentially causing a Denial of Service attack in the calling application. This fixesCVE-2024-24575, which was discovered by researchers at Amazon AWS.

  • A bug ingit_index_add is fixed that could have caused the function to corrupt its heap and possibly lead to arbitrary code execution. This fixesCVE-2024-24577, which was discovered by researchers at Amazon AWS.

  • A bug in the smart transport negotiation could have caused an out-of-bounds read when a remote server did not advertise capabilities.

The libgit2 project thanks the researchers and outreach team at AWS Security for finding thegit_index_add andgit_revparse_single bugs, and providing details and reproduction steps during their responsible disclosure.

All users of the v1.7 release line are recommended to upgrade.

Loading
u-235, podsvirov, mechanicker, callmerockett, and easbarba reacted with thumbs up emojiomasanori, Elsie19, alerque, and naty55 reacted with hooray emojiAleksandrIgnatiev, slang25, and robsonfaxas reacted with heart emoji
12 people reacted

libgit2 v1.6.5

06 Feb 20:20
Compare
Choose a tag to compare
Loading

🔒 This is a security release with multiple changes.

  • A bug ingit_revparse_single is fixed that could have caused the function to enter an infinite loop given well-crafted inputs, potentially causing a Denial of Service attack in the calling application. This fixesCVE-2024-24575, which was discovered by researchers at Amazon AWS.

  • A bug ingit_index_add is fixed that could have caused the function to corrupt its heap and possibly lead to arbitrary code execution. This fixesCVE-2024-24577, which was discovered by researchers at Amazon AWS.

  • A bug in the smart transport negotiation could have caused an out-of-bounds read when a remote server did not advertise capabilities.

The libgit2 project thanks the researchers and outreach team at AWS Security for finding thegit_index_add andgit_revparse_single bugs, and providing details and reproduction steps during their responsible disclosure.

All users of the v1.6 release line are recommended to upgrade.

Loading
u-235 reacted with thumbs up emoji
1 person reacted
Previous13451011
Previous

[8]ページ先頭

©2009-2025 Movatter.jp