Skip to content

Commit e151af2

Browse files
committed
Merge branch 'hotfix/25.17.6'
2 parents 76d55f4 + c65f3fc commit e151af2

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

CHANGELOG

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22

33
We follow the CalVer (https://calver.org/) versioning scheme: YY.MINOR.MICRO.
44

5+
25.17.6 (2025-10-11)
6+
====================
7+
8+
- Fix sitemap for preprint files download
9+
510
25.17.5 (2025-10-11)
611
====================
712

8-
- Misc. fixes for Angular migration
13+
- Fix sitemap for nodes and registrations overview
14+
- Make is_public and bookmarks field filterable for collections
915

1016
25.17.4 (2025-10-10)
1117
====================

osf_tests/test_generate_sitemap.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ def all_included_links(self, user_admin_project_public, user_admin_project_priva
141141
f'/preprints/{provider_osf._id}/{preprint_osf_version._id}',
142142
f'/preprints/{provider_other._id}/{preprint_other._id}',
143143
f'/preprints/{provider_osf._id}/{preprint_withdrawn._id}',
144-
f'/{preprint_osf._id}/download/?format=pdf',
145-
f'/{preprint_osf_version._id}/download/?format=pdf',
146-
f'/{preprint_other._id}/download/?format=pdf'
144+
f'/download/{preprint_osf._id}/?format=pdf',
145+
f'/download/{preprint_osf_version._id}/?format=pdf',
146+
f'/download/{preprint_other._id}/?format=pdf'
147147
])
148148
urls_to_include = [urljoin(settings.DOMAIN, item) for item in urls_to_include]
149149

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "OSF",
3-
"version": "25.17.5",
3+
"version": "25.17.6",
44
"description": "Facilitating Open Science",
55
"repository": "https://github.com/CenterForOpenScience/osf.io",
66
"author": "Center for Open Science",

scripts/generate_sitemap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ def generate(self):
229229
file_config['loc'] = urljoin(
230230
settings.DOMAIN,
231231
os.path.join(
232-
obj._id,
233232
'download',
233+
obj._id,
234234
'?format=pdf'
235235
)
236236
)

0 commit comments

Comments
 (0)