Commit Graph

52 Commits

Author SHA1 Message Date
Edward Thomson
1c6d51142d docs: add update_refs as ABI breaking change
In v1.9, we failed to document that `update_refs` was a breaking change.
Add information about this change to the ABI breaking changes section.
2025-01-07 20:29:44 +00:00
Edward Thomson
1329f1a1db v1.9: final changelog updates 2024-12-28 10:02:09 +00:00
Edward Thomson
a8fbbf77b8 Merge pull request #6986 from libgit2/ethomson/warn_sha1
cmake: warn for not using sha1dc
2024-12-28 09:58:25 +00:00
Edward Thomson
550cf62021 cmake: warn for not using sha1dc
git's hash algorithm is sha1dc, it is not sha1. Per Linus:

> Honestly, git has effectively already moved from SHA1 to SHA1DC.
>
> So the actual known attack and weakness of SHA1 should simply not be
> part of the discussion for the next hash. You can basically say "we're
> _already_ on the second hash, we just picked one that was so
> compatible with SHA1 that nobody even really noticed.

Warn users who try to compile with SHA1 instead of SHA1DC.
2024-12-28 09:52:42 +00:00
Edward Thomson
3aeb5bd0f6 meta: revert soname version update
Changing our SONAME / ABI version update policy without an announcement
is a breaking change. Provide time to announce a policy update.
2024-12-28 08:30:39 +00:00
Edward Thomson
e96e250446 v1.9: update changelog 2024-12-28 01:00:19 +00:00
Edward Thomson
ab0e1606b4 docs: include v1.8.4 changelog 2024-12-16 10:56:31 +00:00
Edward Thomson
48b63274ea v1.8.2: update changelog 2024-06-13 19:42:55 +02:00
Edward Thomson
ae65dac85e v1.8.1: update changelog 2024-05-16 00:49:46 +01:00
Edward Thomson
69f2577110 v1.8: update changelog 2024-03-20 08:21:43 +00:00
Edward Thomson
c375d0b7c8 v1.7: update changelog 2023-07-17 10:33:28 +01:00
Edward Thomson
a1826a8b1b v1.6.3: update changelog 2023-03-21 10:15:25 +00:00
Edward Thomson
25ec37379e v1.6.2: update changelog 2023-02-28 10:22:07 +00:00
Edward Thomson
8a871d13b7 v1.6.1: correct missing version number updates 2023-02-25 13:53:43 +00:00
Edward Thomson
c5b306020d v1.6: update the changelog 2023-02-24 22:21:41 +00:00
Edward Thomson
2030358070 v1.5: update the changelog 2022-07-13 12:50:01 -04:00
Edward Thomson
bafd044fd9 v1.4: update the changelog 2022-02-13 10:07:49 -05:00
Colin Stolley
ad7a51d834 refs: Speed up packed lookups.
Currently ref lookups require loading the entire packed-refs file into
a hashmap in memory. For repos with large numbers of refs this can be
painfully slow.

This patch replaces the existing lookup code and instead mmap()'s the
packed-refs file and performs a binary search to locate the ref entry.
Git uses a similiar approach.

The old hash table codepath is still used for unsorted packed-refs files.

This patch also fixes a minor bug where the "peeled" trait is never
parsed correctly from the packed-refs header.
2021-12-14 10:07:03 -06:00
Edward Thomson
b7bad55e4b v1.3: very very last-minute changelog updates 2021-09-27 16:09:50 -04:00
Edward Thomson
13f1270a7a v1.3: changelog updates for last-minute changes 2021-09-27 08:58:50 -04:00
Edward Thomson
136901086e changelog: separate releases with a horizontal rule 2021-09-22 15:31:21 -04:00
Edward Thomson
61bbb2d11a changelog: fix typo 2021-09-22 15:28:23 -04:00
Edward Thomson
e0531f2c14 v1.3: changelog 2021-09-22 08:49:22 -04:00
Edward Thomson
0e585d368e v1.2: changelog 2021-08-31 00:19:01 -04:00
Edward Thomson
9937967efd Merge branch 'main' into http-use-eauth 2021-08-29 21:29:14 -04:00
Edward Thomson
8aed4629b1 cmake: rename MSVC_CRTDBG to WIN32_LEAKCHECK 2020-11-21 21:54:13 +00:00
Edward Thomson
8b0c7d7cdf changelog: include new reference validity functions 2020-10-25 16:38:45 +00:00
Edward Thomson
699fd71ab1 changelog: document changes since v1.1 2020-10-12 12:03:07 +01:00
Patrick Steinhardt
f79027bdc5 docs: update changelog for v1.0 2020-03-28 18:00:00 +01:00
Edward Thomson
a552c103f2 docs: update changelog for v0.99
Give the release a name, "Torschlusspanik" (the fear that time is
running out to act).  Indeed, the time is running out for changes to be
included in v1.0.
2020-02-19 11:02:45 +01:00
Josh Bleecher Snyder
216165ecfa transports: use GIT_EAUTH for authentication failures
When the failure is clearly an auth failure
(as opposed to possibly an auth failure),
use the error code GIT_EAUTH instead of GIT_ERROR.

While we're here, fix a typo and improve an error message.

Fixes #5389.
2020-02-07 10:06:28 -08:00
Josh Bleecher Snyder
d4d26e8d67 changelog: note new error class GIT_ERROR_HTTP
Updates #5389
2020-02-07 09:57:52 -08:00
Patrick Steinhardt
3e6a904521 Merge pull request #5320 from josharian/minor-docs
Minor doc improvements
2019-12-13 08:53:51 +01:00
Patrick Steinhardt
b8b8eee359 changelog: document security fixes 2019-12-10 13:49:57 +01:00
Josh Bleecher Snyder
611e5d2837 changelog: add more newly-accepted urls
I encountered some problematic URLs,
and was delighted to see that they were already fixed.
I figured I may as well add them to the changelog.

For the record, URLs with no path used to be rejected.
That is arguably correct, but command line git accepts them.

URLs with a path of / and a non-standard port
used to have their port completely ignored!
2019-12-04 14:36:41 -08:00
Etienne Samson
8bf0f7eb26 cred: separate public interface from low-level details 2019-09-13 16:54:40 +02:00
Edward Thomson
df3f18acf0 changelog: include security updates 2019-08-13 17:56:06 +01:00
Etienne Samson
94fc83b6d7 cmake: Modulize our TLS & hash detection
The interactions between `USE_HTTPS` and `SHA1_BACKEND` have been
streamlined. Previously we would have accepted not quite working
configurations (like, `-DUSE_HTTPS=OFF -DSHA1_BACKEND=OpenSSL`) and, as
the OpenSSL detection only ran with `USE_HTTPS`, the link would fail.

The detection was moved to a new `USE_SHA1`, modeled after `USE_HTTPS`,
which takes the values "CollisionDetection/Backend/Generic", to better
match how the "hashing backend" is selected, the default (ON) being
"CollisionDetection".

Note that, as `SHA1_BACKEND` is still used internally, you might need to
check what customization you're using it for.
2019-06-14 12:07:00 +02:00
Edward Thomson
fb529a01bf http-parser: use our bundled http-parser by default
Our bundled http-parser includes bugfixes, therefore we should prefer
our http-parser until such time as we can identify that the system
http-parser has these bugfixes (using a version check).

Since these bugs are - at present - minor, retain the ability for users
to force that they want to use the system http-parser anyway.  This does
change the cmake specification so that people _must_ opt-in to the new
behavior knowingly.
2019-06-13 21:24:11 +01:00
Edward Thomson
63f96cd063 changelog: this is 0.28 2019-01-31 19:09:42 +00:00
Edward Thomson
826d9a4de8 Merge pull request #4858 from tiennou/fix/index-ext-read
index: preserve extension parsing errors
2019-01-25 09:43:20 +00:00
Edward Thomson
769e92749b deprecation: update changelog to reflect new policies 2019-01-25 09:06:50 +00:00
Etienne Samson
0bf7e0433d index: preserve extension parsing errors
Previously, we would clobber any extension-specific error message with
an "extension is truncated" message. This makes `read_extension`
correctly preserve those errors, takes responsibility for truncation
errors, and adds a new message with the actual extension signature for
unsupported mandatory extensions.
2019-01-24 12:12:04 +01:00
Edward Thomson
38e61797b5 changelog: document that we always build cdecl 2019-01-17 21:18:14 +00:00
Edward Thomson
6a0e94572b changelog: document git_merge_analysis_for_ref 2019-01-17 20:14:46 +00:00
Edward Thomson
35be7f1f28 changelog: document openssl fixes 2019-01-17 20:14:46 +00:00
Edward Thomson
85feb28a1b changelog: document core.logallrefupdates=always 2019-01-17 20:14:46 +00:00
Edward Thomson
a6e5d46bb1 fixup! changelog: document changes since 0.27 2019-01-17 20:14:46 +00:00
Edward Thomson
1bb03f7ac1 changelog: document changes since 0.27 2019-01-17 20:14:46 +00:00
Edward Thomson
243d40df23 docs: add unsaved index safety to changelog 2018-06-29 14:54:29 +01:00