Releases: microlinkhq/sdk
Releases · microlinkhq/sdk
v5.5.12
v5.5.11
v5.5.10
v5.5.9
v5.5.8
v5.5.7
v5.5.6
v5.5.5
v5.0.0
This new version of Microlink SDK doesn't contain breaking changes.
However, we decided shipped a new major version since it has a lot of core changes under the hood.
All these changes are oriented to make Microlink SDK smaller and faster.
Breaking Changes
- No breaking changes!
Features
- Add
styled-components@5
support. - Add error UI state and improved error reporting.
Improvements
- Core refactor using a global state.
- Prevent pass unnecessary HTML attributes.
Bugfix
- Fix flicking effect for loading media images.
v4.0.0
Highlights
- New documentation portal: https://microlink.io/docs
- Smaller bundle size 7.31 KB → 7.01 KB.
- Unify API.
Breaking Changes
API Parameters
- Rename
reverse
parameter intodirection
where values can bertl
andltr
(default). - Rename
image
parameter intomedia
. - Remove
noFetch
parameter. Now, it will be deducted if you usesetData
passing an object. - Remove
video
parameter. Usemedia='video'
instead.
Methods
- Remove
.fetchFromApi
, use.createApiUrl
+.fetchFromApiUrl
instead. .fetchFromApiUrl
now receivesapiUrl
as first parameter.
Enhancements
- Use Rollup for creating production bundles (ESM and UMD).
- Rewritten
@microlink/react
classes to React Hooks. - Migrate storybook to v5.0.0.