Skip to content

Fix a NEWS item misplaced on version 3.3.2 #4380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# ggplot2 (development version)

* `coord_sf()` now has an argument `default_crs` that specifies the coordinate
reference system (CRS) for non-sf layers and scale/coord limits. This argument
defaults to the World Geodetic System 1984 (WGS84), which means x and y positions
are interpreted as longitude and latitude. This is a potentially breaking change
for users who use projected coordinates in non-sf layers or in limits. Setting
`default_crs = NULL` recovers the old behavior. Further, authors of extension
packages implementing `stat_sf()`-like functionality are encouraged to look at the
source code of `stat_sf()`'s `compute_group()` function to see how to provide
scale-limit hints to `coord_sf()` (@clauswilke, #3659).

* `ggsave()` now sets the default background to match the fill value of the
`plot.background` theme element (@karawoo, #4057)

Expand Down Expand Up @@ -42,16 +52,6 @@ This is a small release focusing on fixing regressions introduced in 3.3.1.

* `annotation_raster()` adds support for native rasters. For large rasters,
native rasters render significantly faster than arrays (@kent37, #3388)

* `coord_sf()` now has an argument `default_crs` that specifies the coordinate
reference system (CRS) for non-sf layers and scale/coord limits. This argument
defaults to the World Geodetic System 1984 (WGS84), which means x and y positions
are interpreted as longitude and latitude. This is a potentially breaking change
for users who use projected coordinates in non-sf layers or in limits. Setting
`default_crs = NULL` recovers the old behavior. Further, authors of extension
packages implementing `stat_sf()`-like functionality are encouraged to look at the
source code of `stat_sf()`'s `compute_group()` function to see how to provide
scale-limit hints to `coord_sf()` (@clauswilke, #3659).

* Facet strips now have dedicated position-dependent theme elements
(`strip.text.x.top`, `strip.text.x.bottom`, `strip.text.y.left`,
Expand Down