Releases: snapcrunch/electron-preferences
Releases · snapcrunch/electron-preferences
2.8.2
2.8.1
2.8.0
Added
hideFunction
on sections, groups or fields which you can conditionally hide (via other preferences) (#160)- Ability to pass JS functions in the preference object to the renderer (#160)
- Ability to pass
sectionId
to theshow()
function (#153) secret
field which encrypts the input via electron'ssafeStorage
(#176)encrypt
anddecrypt
IPC calls which use electron'ssafeStorage
(#176)- expose
decrypt
function on preferences object (#176)
Changed
- Bump dependencies to their latest version
2.7.0
Fixed
- Freezing UI when clicking a button type in the preferences window (#161)
- Defaults could be changed by passing around the defaults object (#150)
Added
- Added
allowOnlyModifier
property to the accelerator input to allow shortcuts likeAlt
orShift
- type 'number' instead of having to declare type 'text' with 'inputType = number' (#168)
- Maximum and minimum list size via
min
andmax
list properties (#164) resetToDefaults
endpoint to the preferences object which removes any non-default properties and set all default properties to their default values (#97)
Changed
- bump dependencies to their latest version
2.6.0
2.5.0
Fixed
- Accessibility issues: contrast, navigation with keyboard, labels (#76)
- Always enable electron contextIsolation (#122)
Added
- Preferences option
debug: true
which opens the devTools by default (#124) - Expose
browserWindowOverrides
on the preference object (#112)
Changed
- Checkbox type supports a single boolean value
v2.4.1
v2.4.0
Added
- File select component
- Support multiple selection of files and folders via the 'multiSelections' option
Changed
- Read/write settings file atomically
- Debounced saving settings file to 200ms (prevent overwriting disk)
- Add custom css stylesheet using the
css
options