##// END OF EJS Templates
docs: added reference to new API functions
marcink -
r4356:edb9d447 default
parent child Browse files
Show More
@@ -1,155 +1,156 b''
1 |RCE| 4.19.0 |RNS|
1 |RCE| 4.19.0 |RNS|
2 ------------------
2 ------------------
3
3
4 Release Date
4 Release Date
5 ^^^^^^^^^^^^
5 ^^^^^^^^^^^^
6
6
7 - 2020-05-22
7 - 2020-05-22
8
8
9
9
10 New Features
10 New Features
11 ^^^^^^^^^^^^
11 ^^^^^^^^^^^^
12
12
13 - Pull requests: add information about changes in source repositories in pull-request show page.
13 - Pull requests: add information about changes in source repositories in pull-request show page.
14 Fixes #5611, Fixes #5561
14 Fixes #5611, Fixes #5561
15 Added new preview for size (commits/files) of PRs before opening, this is now based
15 Added new preview for size (commits/files) of PRs before opening, this is now based
16 on the special logic that calculates common ancestor and has access to preview diff
16 on the special logic that calculates common ancestor and has access to preview diff
17 Store common ancestor in DB so updates of pull-requests are consistent
17 Store common ancestor in DB so updates of pull-requests are consistent
18 - Pull requests: fixed case for GIT repositories when a merge check failed due to
18 - Pull requests: fixed case for GIT repositories when a merge check failed due to
19 merge conflicts the pull request wrongly reported missing commits.
19 merge conflicts the pull request wrongly reported missing commits.
20 we're now searching for dangling commits in a repo that has them and cannot see them
20 we're now searching for dangling commits in a repo that has them and cannot see them
21 because of failed merge checks.
21 because of failed merge checks.
22 - Pull requests: allow filter displayed results by author
22 - Pull requests: allow filter displayed results by author
23 - Pull requests: added filters to my account pull requests page.
23 - Pull requests: added filters to my account pull requests page.
24 - Quick search: added ability to search for pull-requests using `pr:` prefix.
24 - Quick search: added ability to search for pull-requests using `pr:` prefix.
25 Permissions are checked against the access to target repositories, and users
25 Permissions are checked against the access to target repositories, and users
26 can now search for pull request number, description or title.
26 can now search for pull request number, description or title.
27 - UI: replaced js prompts with sweet-alert prompts.
27 - UI: replaced js prompts with sweet-alert prompts.
28 - SVN: bumped shipped SVN to 1.13.0 release.
28 - SVN: bumped shipped SVN to 1.13.0 release.
29 - Integration Hooks: added new hooks for comments on pull requests and commits.
29 - Integration Hooks: added new hooks for comments on pull requests and commits.
30 Allows writing custom actions on top of commenting.
30 Allows writing custom actions on top of commenting.
31 E.g `@CI-BOT re-test` could trigger CI job to re-test a pull requests or commit.
31 E.g `@CI-BOT re-test` could trigger CI job to re-test a pull requests or commit.
32 Added new rcextension hooks, Fixes #5583, and added examples on how to trigger CI build on certain comments.
32 Added new rcextension hooks, Fixes #5583, and added examples on how to trigger CI build on certain comments.
33 - Exception tracker: added possibility to send notification email when server encountered an unhandled exception.
33 - Exception tracker: added possibility to send notification email when server encountered an unhandled exception.
34 new .ini file flag: `exception_tracker.send_email = false` and `exception_tracker.send_email_recipients =`
34 new .ini file flag: `exception_tracker.send_email = false` and `exception_tracker.send_email_recipients =`
35 can be set to enable this function.
35 can be set to enable this function.
36 - Mercurial: enable enhanced diffs for Mercurial that show context of changed functions inside the diff.
36 - Mercurial: enable enhanced diffs for Mercurial that show context of changed functions inside the diff.
37 This makes diff actually more consistent with how GIT backend shows them. Fixes #5614
37 This makes diff actually more consistent with how GIT backend shows them. Fixes #5614
38
38
39
39
40 General
40 General
41 ^^^^^^^
41 ^^^^^^^
42
42
43 - Pull requests: fixed small UI glitches in pull request view.
43 - Pull requests: fixed small UI glitches in pull request view.
44 - System Info: Python packages now expose the package location info.
44 - System Info: Python packages now expose the package location info.
45 - API: added new flag to comment api to disable email sending when creating a comment.
45 - Exceptions: don't report lookup errors as exceptions stored in the exception store.
46 - Exceptions: don't report lookup errors as exceptions stored in the exception store.
46 Those are regular not found problems that don't indicate any exceptional case
47 Those are regular not found problems that don't indicate any exceptional case
47 also make the errors report nicer, not as KeyError, or generic Exception
48 also make the errors report nicer, not as KeyError, or generic Exception
48 - Exception tracker: store request info if available to track which URL caused an error.
49 - Exception tracker: store request info if available to track which URL caused an error.
49 - Integrations: handle new commenting events and optimize calls for Jira/Redmine
50 - Integrations: handle new commenting events and optimize calls for Jira/Redmine
50 Speed up issue fetching by optimizing how Jira/Redmine client behaves
51 Speed up issue fetching by optimizing how Jira/Redmine client behaves
51 For redmine we don't iterate issues anymore which is *much* faster, and makes pushes with tickets faster.
52 For redmine we don't iterate issues anymore which is *much* faster, and makes pushes with tickets faster.
52 - SVN: allow to specify any svn compatible version string not only hardcoded values.
53 - SVN: allow to specify any svn compatible version string not only hardcoded values.
53 The new SVN code allows to specify this by numeric values now. e.g 1.13 etc.
54 The new SVN code allows to specify this by numeric values now. e.g 1.13 etc.
54 Fixes #5605.
55 Fixes #5605.
55 - Emails: added `premailer` parsing for inline style formatting to make emails render
56 - Emails: added `premailer` parsing for inline style formatting to make emails render
56 nicer on all email clients.
57 nicer on all email clients.
57 - Repositories: switched repo type selector to radio buttons and preserve order of
58 - Repositories: switched repo type selector to radio buttons and preserve order of
58 enabled backends inside .ini files.
59 enabled backends inside .ini files.
59 - Repositories: show recommendation for updating hooks if they are outdated.
60 - Repositories: show recommendation for updating hooks if they are outdated.
60 - Files: add pre-commit checks on file edit/delete/add operations. This prevents
61 - Files: add pre-commit checks on file edit/delete/add operations. This prevents
61 loosing content while editing when repositories changes during those operations.
62 loosing content while editing when repositories changes during those operations.
62 Fixes #5607.
63 Fixes #5607.
63 - Files: changed the copy path label to indicate we're actually copying only the path.
64 - Files: changed the copy path label to indicate we're actually copying only the path.
64 Added copy permalink helper to copy the url quickly. Fixes #5602
65 Added copy permalink helper to copy the url quickly. Fixes #5602
65 - LDAP: updated ldap plugin to help with debug and support by extending logging and
66 - LDAP: updated ldap plugin to help with debug and support by extending logging and
66 improving error messages.
67 improving error messages.
67 - LDAP: fixed example LDAPs port.
68 - LDAP: fixed example LDAPs port.
68 - Dependencies: bump redmine client.
69 - Dependencies: bump redmine client.
69 - Dependencies: bumped bleach==3.1.3
70 - Dependencies: bumped bleach==3.1.3
70 - Dependencies: bumped webtest==2.0.34
71 - Dependencies: bumped webtest==2.0.34
71 - Dependencies: bumped packaging==20.3
72 - Dependencies: bumped packaging==20.3
72 - Dependencies: bumped pyparsing==2.4.7
73 - Dependencies: bumped pyparsing==2.4.7
73 - Dependencies: bumped sqlalchemy==1.3.15
74 - Dependencies: bumped sqlalchemy==1.3.15
74 - Dependencies: bumped hupper==1.10.2
75 - Dependencies: bumped hupper==1.10.2
75 - Dependencies: bumped alembic==1.4.2
76 - Dependencies: bumped alembic==1.4.2
76 - Dependencies: bumped wcwidth==0.1.9
77 - Dependencies: bumped wcwidth==0.1.9
77 - Dependencies: bumped python-ldap==3.2.0
78 - Dependencies: bumped python-ldap==3.2.0
78 - Dependencies: bumped importlib-metadata==1.5.0
79 - Dependencies: bumped importlib-metadata==1.5.0
79 - Dependencies: bumped redis==3.4.1
80 - Dependencies: bumped redis==3.4.1
80 - Dependencies: bumped importlib-metadata==1.6.0
81 - Dependencies: bumped importlib-metadata==1.6.0
81 - Dependencies: bumped pytz==2019.3
82 - Dependencies: bumped pytz==2019.3
82 - Dependencies: bumped paste==3.4.0
83 - Dependencies: bumped paste==3.4.0
83 - Dependencies: bumped weberror==0.13.1
84 - Dependencies: bumped weberror==0.13.1
84 - Dependencies: bumped pyparsing==2.4.6
85 - Dependencies: bumped pyparsing==2.4.6
85 - Dependencies: bumped ipdb==0.13.2
86 - Dependencies: bumped ipdb==0.13.2
86 - Dependencies: bumped pastedeploy==2.1.0
87 - Dependencies: bumped pastedeploy==2.1.0
87 - Dependencies: bumped docutils==0.16.0
88 - Dependencies: bumped docutils==0.16.0
88 - Dependencies: bumped pyramid-debugtoolbar==4.6.1
89 - Dependencies: bumped pyramid-debugtoolbar==4.6.1
89 - Dependencies: bumped gevent==1.5.0
90 - Dependencies: bumped gevent==1.5.0
90 - Dependencies: bumped psutil==5.7.0
91 - Dependencies: bumped psutil==5.7.0
91
92
92
93
93 Security
94 Security
94 ^^^^^^^^
95 ^^^^^^^^
95
96
96 - Logging: expose usernames in the logs for each request made to RhodeCode.
97 - Logging: expose usernames in the logs for each request made to RhodeCode.
97 This enables auditing capabilities for all actions against the web interface.
98 This enables auditing capabilities for all actions against the web interface.
98 - Users: increased security on the way we're displaying authentication tokens.
99 - Users: increased security on the way we're displaying authentication tokens.
99 We don't expose all on single page. Request needs a validation before viewing of each token.
100 We don't expose all on single page. Request needs a validation before viewing of each token.
100 - Logging: added some nicer logging for file path ACL checks.
101 - Logging: added some nicer logging for file path ACL checks.
101 - Audit Log: extend the commit api data with references to commit_id or pull_request_id.
102 - Audit Log: extend the commit api data with references to commit_id or pull_request_id.
102 This allows tracking those in the audit-logs.
103 This allows tracking those in the audit-logs.
103
104
104
105
105 Performance
106 Performance
106 ^^^^^^^^^^^
107 ^^^^^^^^^^^
107
108
108 - Exception Tracker: optimized the check for smtp_server before doing heavy lifting
109 - Exception Tracker: optimized the check for smtp_server before doing heavy lifting
109 of exception email sending.
110 of exception email sending.
110 - Auth: enabled cache flags for fetching ACL ids.
111 - Auth: enabled cache flags for fetching ACL ids.
111 Those are now safe to cache since we have a proper cache invalidation logic for
112 Those are now safe to cache since we have a proper cache invalidation logic for
112 permissions of users, for lots of repo this makes our goto switcher much much faster.
113 permissions of users, for lots of repo this makes our goto switcher much much faster.
113 - Application: use simpler way to extract default_user_id, this will be now registered
114 - Application: use simpler way to extract default_user_id, this will be now registered
114 at server boot, reducing number of times we fetch this from database.
115 at server boot, reducing number of times we fetch this from database.
115 - Pull requests: changed reviewers metadata function for optimizing the diff calculations.
116 - Pull requests: changed reviewers metadata function for optimizing the diff calculations.
116 We're now doing a single request to calculate reviewers and diff preview instead of twice like before.
117 We're now doing a single request to calculate reviewers and diff preview instead of twice like before.
117
118
118
119
119 Fixes
120 Fixes
120 ^^^^^
121 ^^^^^
121
122
122 - GIT: fixed readme searcher for Git repositories using libgit2 and non-ascii directories.
123 - GIT: fixed readme searcher for Git repositories using libgit2 and non-ascii directories.
123 - Full text search: fixed error while highlighting special search terms e.g 'enabled \= '
124 - Full text search: fixed error while highlighting special search terms e.g 'enabled \= '
124 - Full text search: fixed problems with non-ascii files indexing.
125 - Full text search: fixed problems with non-ascii files indexing.
125 - Diffs: improve text on unresolved comments attached to files that no longer exist in the review.
126 - Diffs: improve text on unresolved comments attached to files that no longer exist in the review.
126 Fixes #5615.
127 Fixes #5615.
127 - Auth: fixed generation of authomatic secrets for new plugins.
128 - Auth: fixed generation of authomatic secrets for new plugins.
128 - Auth: failsafe github auth if it doesn't provide full name for users.
129 - Auth: failsafe github auth if it doesn't provide full name for users.
129 - Permissions: fixed problem with permissions changes from permission page due to missing cache flush.
130 - Permissions: fixed problem with permissions changes from permission page due to missing cache flush.
130 This caused certain permission changed be visible after some time of the edit.
131 This caused certain permission changed be visible after some time of the edit.
131 We now ensure *all* caches used for permissions are properly flushed right after the change.
132 We now ensure *all* caches used for permissions are properly flushed right after the change.
132 - SVN: explicitly specify tunnel-user to properly map rhodecode username on svn commit
133 - SVN: explicitly specify tunnel-user to properly map rhodecode username on svn commit
133 via SSH backend. Fixes #5608.
134 via SSH backend. Fixes #5608.
134 - SVN: fixed case of wrong extracted repository name for SSH backend. In cases
135 - SVN: fixed case of wrong extracted repository name for SSH backend. In cases
135 where we commit to a nested subdirs SVN reported the access path with the subdir paths in it.
136 where we commit to a nested subdirs SVN reported the access path with the subdir paths in it.
136 We couldn't then match that extended name into proper rhodecode repository for ACL checks.
137 We couldn't then match that extended name into proper rhodecode repository for ACL checks.
137 Current implementation gives an slight overhead as we have to lookup all repositories.
138 Current implementation gives an slight overhead as we have to lookup all repositories.
138 Fixes #5606
139 Fixes #5606
139 - SVN: fixed problem with special characters inside subdirectories.
140 - SVN: fixed problem with special characters inside subdirectories.
140 - SVN: fixed SVN refs switcher on files that used old format of diff url. Fixes #5599, #5610
141 - SVN: fixed SVN refs switcher on files that used old format of diff url. Fixes #5599, #5610
141 - Search: remove excessive quoting on search pagination. Fixes #5604
142 - Search: remove excessive quoting on search pagination. Fixes #5604
142 - File browser: fixed the repo switcher `?at=` flag being lost when walking on the file tree.
143 - File browser: fixed the repo switcher `?at=` flag being lost when walking on the file tree.
143 - File browser: fixed unicode problems on image preview, and make images center, no-stretch.
144 - File browser: fixed unicode problems on image preview, and make images center, no-stretch.
144 - DB migrations: fixed db migrate for latest sqlite version.
145 - DB migrations: fixed db migrate for latest sqlite version.
145 - Feed generator: fixed missing utc definition that could cause server 500 error.
146 - Feed generator: fixed missing utc definition that could cause server 500 error.
146
147
147
148
148 Upgrade notes
149 Upgrade notes
149 ^^^^^^^^^^^^^
150 ^^^^^^^^^^^^^
150
151
151 - RhodeCode has been tested on CentOS/RHEL 8 and we added those as officially supported platforms.
152 - RhodeCode has been tested on CentOS/RHEL 8 and we added those as officially supported platforms.
152 - This release introduces lots of optimizations and changes how the pull requests reviewers,
153 - This release introduces lots of optimizations and changes how the pull requests reviewers,
153 and diff preview is made. We cut the pull request creation time by 50%.
154 and diff preview is made. We cut the pull request creation time by 50%.
154 Please look closer to this new logic na report any potential problems with this change.
155 Please look closer to this new logic na report any potential problems with this change.
155 - SVN was bumped to 1.13 version. No newline at end of file
156 - SVN was bumped to 1.13 version.
General Comments 0
You need to be logged in to leave comments. Login now