Commit Graph

483 Commits

Author SHA1 Message Date
github-actions[bot] 42a2f56e61 Version Packages (next) 2026-05-12 18:28:01 +00:00
github-actions[bot] b0bc1e5cc9 Version Packages (next) 2026-05-05 14:57:07 +00:00
Andre Wanlin 5e53254fe0 Merge pull request #33370 from rtar/master
fix(plugin-techdocs-node): Move docs directory validation to after copying README.md
2026-05-05 06:02:44 -05:00
Ruslans Tarasovs a27a24fd5a Implemented a fix preventing to write outside of current directory
Signed-off-by: Ruslans Tarasovs <ruslan@tarasovs.com>
2026-04-30 13:09:39 +03:00
Ruslans Tarasovs 47c1ca0613 Add a test checking that it is not possible to write outside of a current directory
Signed-off-by: Ruslans Tarasovs <ruslan@tarasovs.com>
2026-04-30 13:09:39 +03:00
Ruslans Tarasovs 0db7b1b163 Removed accidential console.log
Signed-off-by: Ruslans Tarasovs <ruslan@tarasovs.com>
2026-04-30 13:09:39 +03:00
Ruslans Tarasovs a30dbc500b Made the test more generic
Signed-off-by: Ruslans Tarasovs <ruslan@tarasovs.com>
2026-04-30 13:09:39 +03:00
Ruslans Tarasovs 5d36b961e3 Validate that symlink to README.md does not escape the directory
Signed-off-by: Ruslans Tarasovs <ruslan@tarasovs.com>
2026-04-30 13:09:39 +03:00
Ruslans Tarasovs 6ce84626ab Move docs directory validation to after copying README.md
Signed-off-by: Ruslans Tarasovs <ruslan@tarasovs.com>
2026-04-30 13:09:38 +03:00
Andre Wanlin 84913005fd Merge pull request #31838 from karthikjeeyar/mkdocs-patch
feat(techdocs): add app-config option to disable external font download
2026-04-29 12:47:12 -05:00
Karthik 610b42f72f update documentation and improve types
Signed-off-by: Karthik <karthik.jk11@gmail.com>
2026-04-29 00:19:03 +05:30
github-actions[bot] 1cc86bee1c Version Packages (next) 2026-04-21 15:07:43 +00:00
github-actions[bot] 93e643d142 Version Packages 2026-04-14 14:57:31 +00:00
github-actions[bot] 6c10d88c13 Version Packages (next) 2026-04-07 15:30:58 +00:00
Patrik Oldsberg 482ceed6d2 Address review feedback: simplify toError and add changeset
- Remove JSON.stringify fallback from toError, use the same unknown
  error messaging as stringifyError for all non-string/non-error values
- Add try/catch to protect against values that throw on string
  conversion (e.g. null-prototype objects, symbols)
- Fix no-op `void toError(err)` in DeleteEntityConfirmationDialog
- Fix `${err}` producing [object Object] in UrlReaderProcessor
- Fix double toError call in openStackSwift
- Update JSDoc to accurately describe the behavior
- Add tests for throwing toString and circular objects
- Add changeset for all refactored packages

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-03 11:25:58 +02:00
Patrik Oldsberg b2319ffe45 errors: add toError utility and migrate assertError usages
Add a `toError` utility function to `@backstage/errors` that converts
unknown values to `ErrorLike` objects. If the value is already error-like
it is returned as-is. Strings are used directly as the error message, and
other values are stringified with a fallback to JSON.stringify to avoid
unhelpful `[object Object]` messages.

Non-error causes passed to `CustomErrorBase` are now converted and stored
using `toError` rather than discarded. Existing `assertError` call sites
across the codebase are migrated to `toError`.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-03 10:16:23 +02:00
Karthik 329f5920b6 feat(techdocs): add techdocs-cli option to disable external font download
Signed-off-by: Karthik <karthik.jk11@gmail.com>
2026-03-31 21:39:52 +05:30
Karthik 5ef8d166cb feat(techdocs): add app-config option to disable external font download
Signed-off-by: Karthik <karthik.jk11@gmail.com>
2026-03-31 21:30:45 +05:30
github-actions[bot] a2cb332e25 Version Packages (next) 2026-03-31 15:30:51 +00:00
github-actions[bot] c1b510cabb Version Packages (next) 2026-03-24 14:54:00 +00:00
github-actions[bot] 5725b5fcfa Version Packages 2026-03-17 21:39:07 +00:00
github-actions[bot] ed7c4e3bef Version Packages (next) 2026-03-10 17:34:12 +00:00
Ben Lambert e96f6d9ce9 Merge commit from fork
Signed-off-by: Bond Yan <bondy@spotify.com>
Co-authored-by: Bond Yan <bondy@spotify.com>
2026-03-04 07:33:06 +01:00
github-actions[bot] db0d171511 Version Packages (next) 2026-03-03 14:16:49 +00:00
bond yan 790de54a85 Merge pull request #33043 from backstage/optionally-allow-mkdocs-keys
Add `dangerouslyAllowAdditionalKeys` option for TechDocs MkDocs configuration
2026-02-27 14:58:09 -05:00
Bond Yan cb7c6b1bc0 allowed keys implementation
Signed-off-by: Bond Yan <bondy@spotify.com>
2026-02-26 17:27:23 -05:00
github-actions[bot] 4bd6a3a1af Version Packages (next) 2026-02-24 19:24:06 +00:00
github-actions[bot] e6df5d52ce Version Packages 2026-02-17 16:06:18 +00:00
github-actions[bot] 1ea737c1e2 Version Packages (next) 2026-02-03 14:24:29 +00:00
benjdlambert 3c455d4151 chore: small tweaks
Signed-off-by: benjdlambert <ben@blam.sh>
2026-01-30 20:43:52 +01:00
github-actions[bot] d4b85dddee Version Packages (next) 2026-01-27 15:51:11 +00:00
Fredrik Adelöw 7455dae884 require the use of node prefix on native imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-01-26 13:22:53 +01:00
github-actions[bot] 2e902e7b43 Version Packages 2026-01-20 16:40:05 +00:00
Andre Wanlin 4d5061e137 Updated API Report
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-01-19 16:33:40 -06:00
Andre Wanlin f0951aaff0 TechDocs - Updated the defaultDockerImage version
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-01-19 15:09:49 -06:00
Fredrik Adelöw b3a36948b0 Merge pull request #32010 from backstage/techdocs-integrations-support 2026-01-16 20:29:26 +01:00
Backstage Service Account 9f1ee3e667 Version Packages (next) (#32222)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-30 16:06:20 +01:00
github-actions[bot] c24788d5bb Version Packages 2025-12-16 14:08:20 +00:00
Vincenzo Scamporlino bd096c93b1 techdocs: use ScmIntegrations instead of using raw config
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2025-12-09 16:27:29 +01:00
github-actions[bot] e08f48a9b5 Version Packages (next) 2025-12-09 15:00:09 +00:00
Vincenzo Scamporlino 5a3965849b techdocs: fix logger param
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2025-12-04 10:19:56 +01:00
Vincenzo Scamporlino 09af448338 techdocs: moar config tests
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2025-12-04 10:19:34 +01:00
Vincenzo Scamporlino 4fb08a1b31 techdocs: add support for integrations.awsS3
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2025-12-03 23:17:31 +01:00
Fredrik Adelöw b051bcd411 Merge pull request #31352 from vidhanshah/feat/uploadingtoS3
Modifying large size files upload to S3
2025-12-03 10:38:59 +01:00
dependabot[bot] de96a60f7a chore(deps): bump express from 4.21.2 to 4.22.0
Bumps [express](https://github.com/expressjs/express) from 4.21.2 to 4.22.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.22.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.2...4.22.0)

---
updated-dependencies:
- dependency-name: express
  dependency-version: 4.22.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-02 20:33:46 +01:00
github-actions[bot] 756986e5e7 Version Packages (next) 2025-11-25 16:21:32 +00:00
Vidhan Shah 848335461e PR comments
Signed-off-by: Vidhan Shah <vidhans958@gmail.com>
2025-11-24 16:42:38 +05:30
Vidhan Shah e115272955 PR comments
Signed-off-by: Vidhan Shah <vidhans958@gmail.com>
2025-11-21 21:36:41 +05:30
Vidhan Shah 0f258e24fa PR comments
Signed-off-by: Vidhan Shah <vidhans958@gmail.com>
2025-11-21 21:17:50 +05:30
Vidhan Shah 73dd79a16b Merge branch 'feat/uploadingtoS3' of https://github.com/vidhanshah/keyboard-nav-techdocs into feat/uploadingtoS3 2025-11-21 20:57:06 +05:30