chore(packaging): bump version to 0.3.2 and record fixes in NEWS

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Sonnet 5.5 committed 2026-10-15 15:27:55 -04:00
1 parent 0561df4221
commit dfcad3d0b8
2 files changed
+25 -1

No files matched your search

+24
View File
@@ -1,11 +1,35 @@
# civilytics 0.3.2
## New features
- `civilytics_logo()` and `add_logo()` gain `logo_height` (inches, default `0.5`),
the height of a band reserved for the logo.
- `patchwork` is now a suggested package, used when a patchwork composition is
passed to `civilytics_logo()`.
- Added comprehensive test coverage for the `prop_conf` module, including
correctness checks against `binom.test()` for Clopper-Pearson intervals and
formula-based verification for Wald and Agresti-Coull intervals.
## Bug fixes
- `civilytics_logo()` / `add_logo()` now render every panel and the
`plot_annotation()` of a patchwork composition. They previously drew only the
last panel (#20).
- The logo now sits in its own reserved band instead of pulling the plot down with
negative margins, so captions are no longer clipped at the bottom edge and the
layout no longer depends on whether showtext is active (#20).
- The logo keeps its own aspect ratio on any canvas. `make_logo_grob()` used to
stretch it to a fixed fraction of the plot width, so its shape changed with
the canvas and it was already about 1.5 times too wide at 11 by 7 inches (#20).
- `font_scale` now defaults to `1` in `civilytics_logo()`, `add_logo()` and
`add_logo_ga()`. The old default of `1.1` enlarged the base text by 10% whenever
a logo was added. Pass `font_scale = 1.1` to keep the old sizes (#20).
- `style_flextable_civilytics()` defaults now come from `civilytics_colors`
instead of Bootstrap hex values: header `navy_700`, zebra `paper_2`, outer
border `rule_strong`, inner border `rule`, footer text `ink_3`. Tables built
with the defaults change appearance (#21).
- `civilytics-reveal`: PDF output keeps slide margins, ordered-list numbers no
longer clip at the left edge, and Quarto column widths (`.column width="60%"`)
are honored. Columns without a width stay equal, and the default gap is now
`1.5em` (#25, #26, #27).
- Removed vendored headshot images (`Knowles_Headshot_2019_good.jpg`,
`Knowles_Headshot_2019_prisma.jpg`) from `inst/img/` to prevent personal
photos from being distributed with the package. The `plot_jpeg()` example