Skip to content

Releases: seek-oss/playroom

v0.27.9

16 Dec 22:16
a7e478d
Compare
Choose a tag to compare

0.27.9 (2021-12-16)

Bug Fixes

  • start: Add Access-Control-Allow-Origin header to dev server (#252) (a7e478d)

v0.27.8

01 Dec 21:24
64afabe
Compare
Choose a tag to compare

0.27.8 (2021-12-01)

Bug Fixes

  • Prevent exception on start when no TS config is found (#248) (64afabe)

v0.27.7

24 Sep 11:49
27d7158
Compare
Choose a tag to compare

0.27.7 (2021-09-24)

Bug Fixes

  • Parse tsconfig for static type generation (#242) (27d7158)

v0.27.6

24 Sep 11:43
143d4ef
Compare
Choose a tag to compare

0.27.6 (2021-09-24)

Bug Fixes

v0.27.5

24 Sep 11:17
05729cf
Compare
Choose a tag to compare

0.27.5 (2021-09-24)

Bug Fixes

  • Update webpack error reporting plugin (#239) (05729cf)

v0.27.4

14 Sep 00:08
1cffaf7
Compare
Choose a tag to compare

0.27.4 (2021-09-14)

Bug Fixes

v0.27.3

13 Sep 22:48
e7eac68
Compare
Choose a tag to compare

0.27.3 (2021-09-13)

Bug Fixes

v0.27.2

02 Sep 05:00
c6e178f
Compare
Choose a tag to compare

0.27.2 (2021-09-02)

Bug Fixes

  • Set preview mode public path correctly (#235) (c6e178f)

v0.27.1

02 Sep 02:01
9ad4af4
Compare
Choose a tag to compare

0.27.1 (2021-09-02)

Bug Fixes

  • Ensure preview mode loads static assets correctly (#234) (9ad4af4)

v0.27.0

13 Aug 00:31
76e585b
Compare
Choose a tag to compare

0.27.0 (2021-08-13)

Features

  • Update TS & react-docgen-typescript and support parser config (#232) (76e585b)

Release notes

Update react-docgen-typescript and add support for customising the parser config by specifying reactDocgenTypescriptConfig in your playroom.config.js.

module.exports = {
  ...,
  reactDocgenTypescriptConfig: {
    propFilter: (prop, component) => {
      ...
    }
  }
};

Full change list:

  • Update react-docgen-typescript to ^2.1.0
  • Update typescript to ^4.3.2
  • Support customising the docgen parser config
  • Default parser config now supports TS enums and literal unions
  • Default prop filtering no longer omits className, only children. Although you can now customise the the propFilter as per example above
  • Enable noErrorTruncation on top of users tsconfig to ensure prop values are not truncated
  • Removed internal examples folder due to rot and maintenance overhead