Set of helpers/mixins for LWC developement. SObject API available in javascript. Check out the documentation website on boltage.dev
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project (kinda 🤏) adheres to Semantic Versioning.
- Corrected imports and exports
- In
usePollerunderc/boltage, movedrefreshApexto the start of the interval loop
- new parameter
datatableOptionsinuseListViewunderc/boltage
- missing imports in
c/boltage/interpolatethat was resulting in a crash - in
useListViewcorrected a behaviour wheresearchTermwould be empty leading to a blank page of results
- new way of implementing mixins
old:
export default class myLWC extends mix(
[useRecordFields, fields],
BoltElement
)new:
export default class myLWC extends mix(
BoltElement
useRecordFields({ fields })
)- new mixin
useListViewunderc/boltage - new method
withDefaultValues()inuseFormunderc/boltage - new parameter
saveOnChangeinuseFormunderc/boltage - new parameter
objectApiNamein [useFormuseRecordFieldsuseSObject] underc/boltage - new parameter
customValidityReportinginuseFormunderc/boltage - new parameter
formRefinuseFormunderc/boltage - new parameter
asyncErrorsinuseFormunderc/boltage - new hook method
pollerEndedCallback()inusePollerunderc/boltto trigger side effect after each polling iterrations - new hook method
autoSavedCallbackon the base classBoltElementto trigger side effect after each auto save when the feature is enabled - new public method
query()on<c-bolt-form> - new public method
getInputRef()on<c-bolt-form> <c-bolt-inputnow renders field of typeLookupto a<lightning-record-picker>input- new public property
showsWhenon<c-bolt-input>to deal with dependant fields - new public property
controlson<c-bolt-input>to deal with dependant fields - new public property
_dataseton<c-bolt-input>to pass down data attributes programmatically when rendered through<c-bolt-form>
- renamed
useReactiveBindingtouseDataBinding - renamed
useExternalStylestouseStyles - renamed
Bolt.clstoBoltage.cls - parameter
fieldsof [useRecordFieldsuseSObjectuseForm] can now be a function returning an array of fields - changed the overall folder architecture of the
c/boltagepackage
- removed the method
soqlWithoutSharing()fromBolt.cls - removed the use of the token
WITHOUT_SHARINGfromdb