All Versions
29
Latest Version
Avg Release Cycle
17 days
Latest Release
1088 days ago

Changelog History
Page 1

  • v0.10.0 Changes

    December 07, 2020

    ➕ Adds support for modularized Schmackbone while also modularizing itself. Everything now exported from the top-level index.js file, including all helper modules. ie:

    // beforeimport ModelCache from 'resourcerer/model-cache';import \* as request from 'resourcerer/request';import {hasLoaded} from 'resourcerer/utils';// afterimport {hasLoaded, ModelCache, request} from 'resourcerer';
    
  • v0.9.0 Changes

    October 31, 2020

    🚀 This release makes a couple changes to withResources:

    ⚡️ it now utilizes componentDidUpdate to handle its resource fetching instead of UNSAFE_componentWillReceiveProps, to bring it in line with the direction React is heading in

    🚚 the deprecated resource config option fields has been removed.

  • v0.8.6

    October 30, 2020
  • v0.8.5

    October 23, 2020
  • v0.8.4 Changes

    October 21, 2020
    • Empty models are no longer generic Schmackbone Models/Collections but instead instances of the model being requested. As a result, custom instance methods defined on models will always be present, regardless of model loading state.
  • v0.8.3

    October 14, 2020
  • v0.8.2

    August 14, 2020
  • v0.8.1 Changes

    August 03, 2020
    • ➕ Adds support for measuring API fetch times more predictably via a static class property on the model or collection
  • v0.8.0 Changes

    August 01, 2020

    ⚡️ Key withResources updates (brought up to par with useResources):

    • 🚚 All resources are listened on; the {listen: true} option has been removed entirely
    • Models aren't simply read from the cache—they're now kept in state, which means we don't need withLoadingOverlay trickery

    For both withResources and useResources

    • 🚚 Implements automatic recaching for models that start client-side as new (without an id) and are then saved, gaining a server-provided id. resourcerer now removes the initial model from its cache key and places it in its new cache key based on id.
  • v0.7.2

    May 29, 2020