v0.20.0
-
Add support for gigapixel images.
- Now decoded image length can exceed i32::MAX.
- Now is only limited by the codecs (~4 gigapixels for JPEG).
-
Improve view-process image downscaling implementation.
- Higher quality and faster using specialized resizer.
- Implemented downscaling for already decoded image buffers.
- Renderer now also generates a lazy loaded mipmap when rendering downscaled images.
-
Breaking Refactor
ImageSource.Datanow holdsIpcBytesdirectly.- Removed
Staticbecause it is always converted toIpcBytesanyway.
-
Breaking Refactor view-process API image display item.
- Removed
AlphaTypeand relates items. Images are always premultiplied BGRA8 or A8 masks.
- Removed
-
Breaking Refactor
zng::task::httpinto a backend agnostic API.- Removed unmaintained
isahcdependency. - Most of the surface API remains the same, the
Requesttype is its own builder now.
- Removed unmaintained
-
Breaking Refactor
zng::task::io::ReadLimited.- No longer generic over the error function.
- Now also implements
BufRead,ReadandAsyncBufRead. - Add constructor with default error.
-
Breaking Refactor
zng::task::io::Measure.- Now uses
Var<Metrics>to track and notify progress. - Now also implements
BufRead,Read,WriteandAsyncBufRead.
- Now uses
-
Refactor
WhiteSpacemerging to better integrate with basic paragraph spacing.Mergenow also merges multiple line breaks into a single one.- Breaking Added
MergeParagraph. Merges spaces and trim lines. Removes single line breaks. Merge multiple line breaks.
-
Breaking Remove
img_scale_factorandimg_scale_densityproperties.- Added
img_auto_scaleproperty and relatedImageAutoScaleenum.
- Added
-
Breaking Remove
Animation::sleep_restart. Add restart flag toAnimation::sleep. -
Unify channel types.
- Breaking Removed
AppChannelError,EventReceiver. - Breaking Removed
bytes_channeland related types. Use an IPC channel withIpcBytesmessages. - Breaking Removed
AppEventSenderextension channels. Simply create a wrapper that sends the message and awakes the app.
- Breaking Removed
-
Refactor IPC and worker process API.
- Breaking Remove
zng::task::ipc. - Add
zng::task::channel::ipc_channeland related types. - Add
zng::task::process::workerwith the same worker process types. - IPC types are now also available in builds without
"ipc"feature, internally patched to use normal channels. - Breaking Remove
zng::task::channel::{UnboundSender, UnboundReceiver}. - Breaking Unified channel error types.
- Breaking Remove conversions from underlying channel types.
- Breaking Remove public
ductcrate types.
- Breaking Remove
-
Add blocking API for
zng::task::channelsender and receiver. -
Fix
Window!config properties trying to useCONFIGin builds without"config"feature.
Crates will be available on crates.io once Publish completes.