Skip to content

Commit c3115c2

Browse files
committed
docs: add notable changes from rc.4
1 parent f7b748a commit c3115c2

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

docs/Upgrading to v2.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ This is easily **solved by removing and re-adding the users from the dropdown li
9595
- Previously, requests from the UI were bypassing the JWT check if the user was logged in, and failing otherwise when `apiAuthentication` was set
9696
- Added the ability to create new users via the GitProxy CLI in [#981](https://github.com/finos/git-proxy/pull/981)
9797
- Added `/healthcheck` endpoint for AWS Load Balancer support [#1197](https://github.com/finos/git-proxy/pull/1197)
98+
- Improved login page flexibility, error handling and visibility of available auth methods in [#1227](https://github.com/finos/git-proxy/pull/1227)
99+
- Added config schema for `commitConfig`, `attestationConfig` and `domains` in [#1243](https://github.com/finos/git-proxy/pull/1243)
100+
- See the [schema reference](https://git-proxy.finos.org/docs/configuration/reference) for a detailed description of each
101+
- Also removes the defunct `api.github` config element
102+
- Added confirmation dialog to `RepoDetails` page to prevent accidental repository deletions in [#1267](https://github.com/finos/git-proxy/pull/1267)
103+
- Added support for using AWS Credential Provider to authenticate MongoDB connections in [#1319](https://github.com/finos/git-proxy/pull/1319)
98104

99105
### Bugfixes
100106

@@ -119,11 +125,28 @@ This is easily **solved by removing and re-adding the users from the dropdown li
119125
- Fixed logout failure in production caused by UI defaulting to `http://localhost:3000` when `VITE_API_URI` is unset in [#1201](https://github.com/finos/git-proxy/pull/1201)
120126
- Refactors API URL usages to rely on a single source of truth, sets default values
121127
- Fixed a potential denial-of-service vulnerability when pushing to an unknown repository in [#1095](https://github.com/finos/git-proxy/pull/1095)
122-
- Caused by a bug in the MongoDB implementation `isUserPushAllowed` which assumed that the repository exists. If the repository wasn't found, the backend crash when attempting to access its properties
128+
- Caused by a bug in the MongoDB implementation `isUserPushAllowed` which assumed that the repository exists. If the repository wasn't found, the backend crashed when attempting to access its properties
123129
- Fixed `MongoServerError` when updating user due to attempting to override the pre-existent `_id` in [#1230](https://github.com/finos/git-proxy/pull/1230)
130+
- Fixed error with `commitConfig.diff.block.literals` entry being matched as regular expressions instead in [#1251](https://github.com/finos/git-proxy/pull/1251)
131+
- Fixed infinite loop in `UserList` component causing excessive API requests and preventing proper rendering in [#1255](https://github.com/finos/git-proxy/pull/1255)
132+
- Fixed broken user links in `PushDetails` and `RepoDetails` components in [#1268](https://github.com/finos/git-proxy/pull/1268)
133+
- Created `UserLink` component to centralise user navigation
134+
- Fixed pagination component to show correct page count when no data is available in [#1274](https://github.com/finos/git-proxy/pull/1274)
135+
- Fixed proxy startup failure due to default repo mismatch in [#1284](https://github.com/finos/git-proxy/pull/1284)
136+
- Caused by matching repos by name instead of URL on calling `proxyPreparations`
137+
- Fixed error when making subsequent pushes to a new branch in [#1291](https://github.com/finos/git-proxy/pull/1291)
138+
- `Error: fatal: Invalid revision range` was being thrown on valid pushes to new branches
139+
- Caused by setting `singleBranch: true` when pulling the remote repo for optimization purposes
140+
- Removal of this option does not affect pull/push times considerably. Rudimentary benchmarks show that despite removing the option, push speeds [are still considerably faster](https://github.com/finos/git-proxy/pull/1305#issuecomment-3611774012) than without the `depth: 1` optimization
141+
- Fixed misleading backend status codes and improved UI error handling in [#1293](https://github.com/finos/git-proxy/pull/1293)
142+
- Also removed redundant `/api/auth/me` endpoint
143+
- Fixed race condition preventing MongoDB connection when loading configuration in [#1316](https://github.com/finos/git-proxy/pull/1316)
144+
- Deferred retrieval of database config allowing the user configuration to be loaded before attempting to use it
145+
- Replaced `jwk-to-pem` dependency with native `crypto` to remove vulnerable dependency (`elliptic`) in [#1283](https://github.com/finos/git-proxy/pull/1283)
124146

125147
### Other improvements
126148

127149
- Optimized push speed by performing shallow clones by default in [#1189](https://github.com/finos/git-proxy/pull/1189)
128150
- Increased push speeds for larger repos [by around 30~50%](https://github.com/finos/git-proxy/issues/985)
151+
- Note: one of these options was later [removed due to a bug](https://github.com/finos/git-proxy/pull/1305), however [push speeds were largely unaffected](https://github.com/finos/git-proxy/pull/1305#issuecomment-3611774012)
129152
- Improved configuration validation and typing in [#1140](https://github.com/finos/git-proxy/pull/1140)

0 commit comments

Comments
 (0)