Skip to content

feat(serializer): Add support for ragg and svglite#964

Merged
schloerke merged 6 commits into
rstudio:mainfrom
thomasp85:ragg-svglite-support
Nov 14, 2024
Merged

feat(serializer): Add support for ragg and svglite#964
schloerke merged 6 commits into
rstudio:mainfrom
thomasp85:ragg-svglite-support

Conversation

@thomasp85
Copy link
Copy Markdown
Collaborator

I have not added a bullet to NEWS since it does not have an entry for the dev version yet and I did not want to create it in this PR (happy to do so if requested)

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Nov 12, 2024

CLA assistant check
All committers have signed the CLA.

@schloerke
Copy link
Copy Markdown
Collaborator

@thomasp85 Can you please set up the dev version / news entry area? (Along with a news entry for your PR). Thank you!

@schloerke
Copy link
Copy Markdown
Collaborator

@thomasp85 #965 added a news entry / dev version and fixed the pkgdown error. Please add a news item and I'll merge. Thank you!

@schloerke schloerke changed the title add support for ragg and svglite feat(serializer): Add support for ragg and svglite Nov 12, 2024
@schloerke
Copy link
Copy Markdown
Collaborator

Forgot during initial review. Please add an entry in

Annotation | Content Type | Description/References
---------- | ------------ | ---------------------
`@serializer contentType` | (user supplied) | Send response with a particular `Content-Type` header
`@serializer html` | `text/html; charset=UTF-8` | Passes response through without any additional serialization
`@serializer json` | `application/json` | Object processed with `jsonlite::toJSON()`
`@serializer unboxedJSON` | `application/json` | Object processed with `jsonlite::toJSON(auto_unbox=TRUE)`
`@serializer rds` | `application/rds` | Object processed with `base::serialize()`
`@serializer csv` | `text/csv` | Object processed with `readr::format_csv()`
`@serializer tsv` | `text/tab-separated-values` | Object processed with `readr::format_tsv()`
`@serializer feather` | `application/vnd.apache.arrow.file` | Object processed with `arrow::write_feather()`
`@serializer parquet` | `application/parquet` | Object processed with `arrow::write_parquet()`
`@serializer yaml` | `text/x-yaml` | Object processed with `yaml::as_yaml()`
`@serializer htmlwidget` | `text/html; charset=utf-8` | `htmlwidgets::saveWidget()`
`@serializer text` | `text/plain` | Text output processed by `as.character()`
`@serializer format` | `text/plain` | Text output processed by `format()`
`@serializer print` | `text/plain` | Text output captured from `print()`
`@serializer cat` | `text/plain` | Text output captured from `cat()`
`@serializer jpeg` | `image/jpeg` | Images created with `jpeg()`
`@serializer png` | `image/png` | Images created with `png()`
`@serializer svg` | `image/svg` | Images created with `svg()`
`@serializer bmp` | `image/bmp` | Images created with `bmp()`
`@serializer tiff` | `image/tiff` | Images created with `tiff()`
`@serializer pdf` | `application/pdf` | PDF File created with `pdf()`

Thank you!


  • News Entry
  • Vignette: Serializer table entry

@thomasp85
Copy link
Copy Markdown
Collaborator Author

Thanks for the review - should all be fixed now

@schloerke schloerke merged commit c9d18e3 into rstudio:main Nov 14, 2024
@thomasp85 thomasp85 deleted the ragg-svglite-support branch January 23, 2025 07:53
schloerke added a commit that referenced this pull request Feb 5, 2025
* main: (28 commits)
  feat: add `excel` serializer/parser (#975)
  ci: Error on spelling (#981)
  docs: Improve forward docs a bit (#978)
  Fix file path tests on windows (#979)
  bug: Update default debug behaviour to `FALSE` (#976)
  perf: Avoid disk I/O during parsing (#972)
  docs: Add note on annotating required parameters (#971)
  Allows port to be specified as an environment variable (#963)
  tests: Replace `with_mock()` with `with_mocked_bindings()` (#970)
  feat(serializer): Add support for ragg and svglite (#964)
  chore: Fix pkgdown warnings. Use lifecycle inline R badges (#965)
  v1.2.2 release candidate (#948)
  bug: Use `{rlang}` instead of `{ellipsis}` (#958)
  docs: Update URLs (#954)
  docs: fix table spacing (#951)
  docs: change link to httr2 in routing and input vignette (#944)
  Specify interactive mode in doc (#932)
  Fall back to sys env var if R option doesn't exist (#934)
  Add support for quoted boundary for multipart request parsing. (#924)
  chore: Remove parse comment to match implementation (#931)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants