v4.0.0
TypeScript *.d.ts
type definition files are now bundled with both Derby and Racer!
derby@4 uses racer@2. If you have a separate dependency on Racer, be sure to update it.
Breaking changes
- Declaring a singleton component via
ComponentClass.prototype.singleton = true;
is no longer supported.- Instead, use a static property
class ComponentClass { static singleton = true; }
- Or without class syntax,
ComponentClass.singleton = true;
- Instead, use a static property
- Internal class hierarchies have been changed, with new client-specific and server-specific classes inheriting from base classes.
- This generally won't affect you, unless you had custom type definitions written for Derby's classes.
- In most cases, the base class type is appropriate unless you are using specific client or server side methods
Derby
base,DerbyForClient
andDerbyForServer
subclassesPage
base,PageForClient
andPageForServer
subclassesApp
base,AppForClient
andAppForServer
subclasses
If you are upgrading straight from the pure-JS derby@2, also see the release notes for derby@3 here:
https://github.com/derbyjs/derby/releases/tag/v3.0.0
What's Changed
- Racer 2 by @craigbeck in #629
Full Changelog: v3.0.3...v4.0.0