Skip to content

Latest commit

 

History

History
876 lines (514 loc) · 64.9 KB

CHANGELOG.md

File metadata and controls

876 lines (514 loc) · 64.9 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

10.6.0 (2020-05-20)

Note: Version bump only for package @diez/mono

10.6.0-beta.1 (2020-05-20)

Note: Version bump only for package @diez/mono

10.6.0-beta.0 (2020-05-20)

Features

  • add a fallback image instead of throwing on missing image files (#124) (36f5b51)
  • cli: add a flag to provide custom path to start/demo + useful errors (#128) (374c218)
  • prefabs: google webfonts support (#127) (bb3bafa)

10.5.2 (2020-04-22)

Note: Version bump only for package @diez/mono

10.5.1 (2020-04-22)

Bug Fixes

  • extractors: set correct name for deprecated image folder in Figma (#121) (3d05b09)

Reverts

  • release commits for "v10.5.1" since npm publish failed (303ca5c)
  • release commits for "v10.5.1" since sentry upload failed (8208ff3)

10.5.0 (2020-04-03)

Note: Version bump only for package @diez/mono

10.5.0-beta.6 (2020-04-03)

Bug Fixes

  • docsgen: properly fix problems with paths in windows (f153388)

10.5.0-beta.5 (2020-04-03)

Note: Version bump only for package @diez/mono

10.5.0-beta.4 (2020-04-03)

Bug Fixes

  • docsgen: path issues on windows for components ids (c3d2d15)

10.5.0-beta.3 (2020-04-02)

Bug Fixes

10.5.0-beta.2 (2020-03-31)

Bug Fixes

  • update build commands for docs-template-app (3293f5d)

10.5.0-beta.1 (2020-03-31)

Bug Fixes

  • package.json metadata of docs-template-{app|design-language} (f67dfde)
  • update dependency name in docs-template-app (ecb42be)

10.5.0-beta.0 (2020-03-31)

Bug Fixes

  • extractors: extract images to an 'image' folder and rename exports (#104) (7c224a3)

Features

10.4.0 (2020-03-18)

Note: Version bump only for package @diez/mono

10.4.0-beta.1 (2020-03-18)

Bug Fixes

  • update dependencies and prevent npm errors (#107) (78720b0)

10.4.0-beta.0 (2020-03-17)

Bug Fixes

  • extractor: only warn once per missing font (#93) (ce07af9)
  • extractors: prevent figma rate limit errors and improve speed (#96) (4493a19)
  • extractors: sanitize file names on dump and update buffer limit (#97) (cfaf6fd)

Features

  • cli: add diez update command (#98) (cbf03ff)
  • extractors: add InVision Design System Manager extractor (#105) (138ddbd)
  • targets: add 'colorToLowFidelityCss' to JS SDK (#99) (d8fbb4d)

Reverts

  • feat: add mechanisms to activate diez-enterprise licenses (#106) (b51657f)

10.3.1 (2020-03-03)

Bug Fixes

  • force paths for images & files extracted on Windows to use forward-slashes (#84) (6e5a16d)
  • parser: refresh source on hot mode and fix module resolution (#91) (11d89af)

10.3.0 (2020-02-20)

Note: Version bump only for package @diez/mono

10.3.0-beta.0 (2020-02-20)

Bug Fixes

  • compiler: use web as default target and print a warning if no target is provided (#74) (32f4b7c)
  • create: escape backlashes in windows paths before compiling templates (#77) (1bf2e5e)
  • create: use path to build files in webpack conf instead of symlink (#76) (3e56c39)
  • extractors: quote invalid properties before generating diez code (#78) (ef6bbf8)
  • extractors: show a warning message before cleaning invalid Figma tokens (#70) (f50d52c)

Features

  • compiler: add property values to comments in generated SDKs (#80) (9ca515a)
  • extractors: add missing typograph properties in Figma extractor (#73) (9dafce7)

10.2.3 (2020-02-07)

Bug Fixes

  • log messages when installing dependencies during start/demo (#67) (f12bca6)

10.2.2 (2020-02-07)

Bug Fixes

  • start: run diez using package manager wrappers (edcf09b)

10.2.1 (2020-02-06)

Bug Fixes

  • update webpack config of lorem-ipsum to fix hot reload in Ubuntu (#66) (428244c)

Features

10.2.0 (2020-01-17)

Bug Fixes

  • compiler: avoid crashing if a component instance is explicitly excluded from host (#62) (830a84b)

Features

  • compiler: add stack traces and hints for runtime errors (#64) (65b798f)
  • extractors: add missing typograph properties in Sketch extractor (#61) (aea53cf)
  • extractors: add support for AdobeXD (#63) (8c678a5)

10.2.0-beta.2 (2020-01-13)

Note: Version bump only for package @diez/mono

10.2.0-beta.1 (2020-01-13)

Bug Fixes

  • cli-core: use correct path when running npm checks (#60) (df25370)

10.2.0-beta.0 (2020-01-11)

Bug Fixes

  • createproject: modify template to start at version 0.1.0 (#56) (b594646)
  • extractors: support alpha values for solid colors in Figma (#55) (2153276)
  • stdlib: safeguard JavaScript SDK for server side rendering (#58) (93be6b5)
  • targets: use design language version for SDK version output (#57) (e93a9ed)

Features

  • cli: add full compatibility to use npm with diez (#49) (e3d04d9), closes #33

10.1.0 (2019-12-11)

Bug Fixes

  • use internalIp.v4 instead of guessing the localhost name on ios (#13) (e3a2d87)
  • extractors: check if a response exists before trying to read fields (#19) (09708a0)
  • extractors: explicitly import URLSearchParams to improve compat (#46) (9f46592)
  • start: remove unused parameter from start script causing userland errors (#17) (1da7ea3)

Features

  • cli: add a prompt to remove existing watchers (#20) (2a4d5d5)
  • extractors: add a notice at the top of autogenerated files (#43) (b300eaa)
  • extractors-core: add a system to ignore non-design files (#18) (ca33041)
  • add mechanisms to activate diez-enterprise licenses (#48) (2b56e1a)

10.0.2 (2019-11-21)

Note: Version bump only for package @diez/mono

10.0.1 (2019-11-21)

Bug Fixes

  • use removeListener instead of off to improve node compat (#10) (9a938e9)

10.0.0 (2019-11-14)

Bug Fixes

  • add a test description (2d44ea5)
  • add corrected references for handler component bootstrap entry points (8962763)
  • add coverage reports for site (07c5870)
  • add Info.plist key for allowing local networking (69b8246)
  • add spacing between content cards in PoodleSurf iOS (b2be39b)
  • add temporary assets and improved styling to PoodleSurf iOS (2a5c752)
  • asset scaling issues for non-3x devices in PoodleSurf iOS (65a5fc0)
  • better naming and structure for defining folders (a8b4849)
  • check for EADDRINUSE when we encounter an occupied port (e7f5e32)
  • close server after finding open port (ac2fe61)
  • colon spacing on generated iOS SDK class definition (32b5774)
  • commit missing lib/index.js (4d63af1)
  • correct source maps in Sentry minification (0f4c788)
  • do not re-register already registered fonts. (7f03b01)
  • documentation and comments throughout PoodleSurf iOS (eec9d8e)
  • don't provide general file export logic (7f5e3f1)
  • ensure diez hot crashes bubble on compiler event handlers (#172) (09cdba9)
  • ensure diez-cli can bootstrap without additional dependencies (#63) (60fd600)
  • ensure prefab file srcs are also URL encoded (e206de5)
  • ensure symlinks work for linking the example project (2286897)
  • ensure that 'canParse' methods also check if the file exists (44d7399)
  • ensure we do not double-process userland component types. (d569399)
  • exclude the website from docs generation (89895b0)
  • extraneous CoreGraphics debug logs (c39a2c6)
  • fix VSCode debugging configuration cwd paths (#276) (13f2295)
  • get a working Color class that wraps UIColor as a gettable property (df27e9f)
  • Gradient from SimpleGradient in PoodleSurf iOS (a474982)
  • import figma files in batches instead of imposing an arbitratry limit (fb0ef03)
  • install node-fetch as a non-dev dependency of @diez/storage (7987964)
  • iOS PoodleSurf layout failure when image size cannot be resolved as defined (#28) (b2834ca)
  • iOS setup instructions (0836885)
  • loading lottie animation replaying on each presentation in PoodleSurf iOS (9b608ac)
  • locate sketch by bundle ID instead of assuming /Applications/Sketch.app (a393607)
  • more accurate test for figma urls (c50437a)
  • move custom error types to a better place and refactor (6daed20)
  • move diez mock observation to ReportViewModelBinder (280990c)
  • move UIEdgeInsets+Diez.swift into repo (f984fbd)
  • no UPPER_CASE constants. (7b2ccbf)
  • quotemarks (267b66f)
  • remove web-sdk-common from docs (#207) (880d99f)
  • remove accidentally commited site/yarn.lock (fbf20fc)
  • remove obsolete test (6be5280)
  • ReportViewStateBinder reference (488602e)
  • resolve division by 0 on rgb->hsl conversion (9fbe5c8)
  • resolve native errors in the edge case of an empty component (#48) (3c76b7a)
  • restore accidentally changed gradient startColor (c2969f5)
  • run CLI update check in the main thread (#141) (2f8c29a)
  • run lint in packages/targets/ (17e909b)
  • shim in @types/babel__core dependency to fix spurious compiler crashes (ef5418c)
  • support HTML entities in path components (e3fec81)
  • SVGView / HaikuView property declaration order (ae753cb)
  • throw instead of logging if there's an error downloading a file from figma (3dd827d)
  • analytics: ensure Sentry events are actually sent. (5e135a0)
  • android: ensure hot mode webview does not cover content (#170) (33b7992)
  • android: fix crash when connection fails in hot mode (#270) (0ea2c93)
  • android: remove inadvertent dependency on image resources in dev mode (#65) (eca9479)
  • cli: use standard Node module resolution to load diez configurations (#43) (7b45778)
  • compiler: add support for declaring empty array properties (#312) (965d666)
  • createproject: ensure node_modules is ignored in .gitignore for new projects (b07a615)
  • createproject: include empty designs directory in the starter project (#281) (d46aa97)
  • createproject: retain permissions when templatizing the example project (#287) (bc02017)
  • createproject: simplify lorem-ipsum web example (#120) (b91fff8)
  • docs: allow docs to be generated when the repo is in a path with ‘src’ in it (#106) (5282f90)
  • docs: typos + styling (#75) (7ea07c9)
  • examples: display a user friendly error when using an invalid CocoaPods version (#247) (5edbbce)
  • examples: fix LoadingView initialization in PoodleSurf (#110) (ecf5469)
  • examples: fix retina layout of lorem-ipsum web (#143) (80f2fa2)
  • generation: increased compatibility and robustness for font location (#144) (cae86f3)
  • generation: use path.join to improve cross-platform compatibility (#313) (268b485)
  • ios: add support for registering fonts not referenced in exported Diez project (#316) (66d977e)
  • ios: fix incorrect output framework filename in carthage build phase (#103) (e18d590)
  • ios: make component properties public internal(set) (#83) (8cbf3e7)
  • ios: save component state after an update (#139) (6e2b6af)
  • linear-gradient: sanitize linear gradients so two stops are always present (#230) (0d7bbb2)
  • site: add GA tracking (#155) (cdb6a77)
  • sources: support new Figma syntax for tracing component IDs to their intrinsic dimensions (#252) (cf45e02)
  • typo (6476629)
  • site: fix typos on Sketch guide (#239) (8a1676c)
  • site: scope layout styles so docs do not receive extra styles (#157) (a1e4ef6)
  • site: use correct path to link Color prefabs in guides (#283) (5796249)
  • site: use nuxt built-in loading bar to load docs (#89) (bcc4ff8)
  • sources: fixes application detection when more than one installation is present (#180) (50ff58b)
  • targets: allow web to be compiled for prod (#61) (c5d0dae)
  • targets: prevent exceptions on JS SDK (#285) (eb2b4c1)
  • update README (47eae00)
  • upgrade linter (95d47de)
  • use granular imports when we can (ba64d48)
  • use host package name as a prefix for generated web sdk (#56) (6eb06a6)
  • use normal slashes when resolving node_modules sources (#77) (36fdd40)
  • use trusty build environment for Travis to enable support for oraclejdk8 (#221) (d8788bf)

chore

  • ios: rename UIImage getter on Image to uiImage (#137) (b524ae5)
  • targets: clean up JS SDK helpers (#227) (03cac1c)

Code Refactoring

  • android: improve android SDK semantics (#160) (67c6861)

Features

  • add "press r to reload" functionality for diez extract --hot (#165) (403646d)
  • add (CocoaPods) bundle resource support (#34) (e29e261)
  • add a yarn clean command to clean up workspaces (3c3f0c0)
  • add a command for automated releases (#62) (600cc44)
  • add a new package featuring a webpack plugin to integrate Diez with web (#193) (68a47b9)
  • services: move Figma OAuth handshake broker into the monorepo and migrate to the serverless stack (#94) (c397a49)
  • add a package to manage exporting assets from design files (b0e1600)
  • add a progress reporter callback (bd936f5)
  • add a standalone CLI package (#60) (ae5dcc6)
  • add a way to report error on designfile exporters (587a84a)
  • add additional cards to PoodleSurf iOS demo (e4a3fbe)
  • add Android Kotlin usage examples (#299) (12a757a)
  • add animations when applying style changes in PoodleSurf iOS (ec1f0d7)
  • add app icon assets to PoodleSurf iOS (94a9662)
  • add barebones for a website (f392d6e)
  • add compass image assets for PoodleSurf iOS (ba7d8b9)
  • add dynamic gradient to card in PoodleSurf iOS (390b2e9)
  • add dynamic navigation title styling in PoodleSurf iOS (afde483)
  • add gradient to cards in PoodleSurf iOS (dd8eeab)
  • add gradient to location image in PoodleSurf iOS (fc366be)
  • add hero & prototype sizing, spacing variables (9fe0ca0)
  • add icon and image assets from spec in PoodleSurf iOS (e9a3d6b)
  • add loading animation to dyanimic Diez content in PoodleSurf iOS (488c0a9)
  • add monorepo-aware docs generation (55c3086)
  • add navbar & start theming (96158b4)
  • add navigation bar with title to PoodleSurf iOS (1683c57)
  • add Panel (#234) (2d6e800)
  • add PoodleSurf ObjC example project (#18) (d9ad2fe)
  • add script that generates example templates for createproject (#115) (c3cf1b2)
  • add support for .diezrc (1c8e374)
  • add support for adjusting day part vertical spacing in PoodleSurf iOS (b8bffbe)
  • add support for design system extraction for Figma files (#140) (748a7e1)
  • compiler: implement canUseNpm (#85) (34b32ec)
  • add support for generating comments. (#321) (9a86f1e)
  • add support for line-height on Typograph (#303) (f8f36f0)
  • add support for multiple image scales (#21) (b61b1b1)
  • add support for numeric types and lists. (a443405)
  • add SVGView and HaikuView for iOS sdk (d8c21df)
  • added dynamic styling to the temperature card in PoodleSurf iOS (17471f1)
  • added new loading animation for PoodleSurf iOS (ec5866b)
  • Android Lottie support (cffadfe)
  • Android SVG support (d618fe6)
  • bundle static assets as raw resources in diez Android SDK (#46) (eb41741)
  • examples: added PoodleSurf example for web (#54) (45768b6)
  • create @diez/framework-core (#304) (e8d2c4c)
  • analytics: add Sentry crash reporting for private beta (#152) (b93ad09)
  • android: add dpToPx and spToPx to core generated library (#240) (bdfc3fb)
  • android: add usage examples for Android Java (#300) (9c09a4a)
  • android: use handlebar templates to bind real properties/functions instead of using extensions (#173) (78f93db)
  • cli: add opt-out analytics to diez (#92) (86c7cd1)
  • cli: allow default command options to be specified in .diezrc (#84) (1191918)
  • cli: allow users to specify an alternative project root via .diezrc (#243) (b3ceac3)
  • compiler: add support for object literal types in the Diez compiler (#310) (63df4b2)
  • compiler: add support for plain TypeScript classes without decorators (#215) (ccad2eb)
  • compiler: add the ability to set generated SDK versions with a command line flag (#158) (9f49d94)
  • compiler: define interfaces to declare code examples (#291) (5a3d465)
  • compiler: enable fully ejectable Diez SDKs for Android and web (#97) (cea0b41)
  • compiler: track local source files for component definitions and references for component properties (#305) (c9f4dca)
  • createproject: yarn create/npm init starter kits for Diez (#130) (dd50107)
  • createproject: add a loader spinner when installing dependencies (#179) (5a66290)
  • createproject: add comments in example projects that lead a viewer back to the TypeScript definitions (#176) (730b1cb)
  • createproject: add simple start-* scripts for diez create example projects (#147) (3ebab2a)
  • createproject: initialize a git repository when creating a new project (#169) (12781c4)
  • createproject: make example project easier to follow (#178) (6dc73f2)
  • createproject: shore up the behavior of diez create (#126) (71d5cc6)
  • docs: add getting started docs for iOS (#132) (315dfa3)
  • docs: add getting started guides for web (#138) (578ea72)
  • docs: parse JS docs from design system sources (#245) (b23e4fc)
  • examples: add android example to lorem-ipsum (#113) (b0e267f)
  • examples: add basic barebones of an Android app with Java (#64) (1e26139)
  • examples: add Lorem Ipsum example project (#59) (9ef7d3a)
  • examples: add web example to lorem-ipsum (#114) (297436a)
  • examples: use custom .ttf fonts in poodle-surf (#96) (af7c39c)
  • examples: use hot updates in lorem-ipsum android example (#136) (e9018ea)
  • examples: use palette to map raw colors names that describe their usage (#202) (bc75e8e)
  • generation: add basic code generation abilities for design sources (#74) (4b8748a)
  • ios: add Swift only UIKit class initializers for Diez types (#159) (2018b86)
  • ios: generate asset catalog for images (#87) (1f1e556)
  • ios: generate SDK as a collection of files instead of a single SDK.swift (#163) (833a0bb)
  • ios: remove Updatable (#134) (6f44061)
  • ios: throw and error when NSAllowsLocalNetworking is not set to true (#90) (79ac4f8)
  • ios: use Result type for attachment subscriptions on iOS (#79) (673e57f)
  • lorem-ipsum: add a diez start command for example projects (#259) (048656f)
  • prefabs: add angle static constructor to LinearGradient (#200) (0e7084d)
  • prefabs: add DropShadow (#225) (fdb4699)
  • prefabs: add linear gradient prefab (#191) (dd3d35c)
  • prefabs: add Size2D prefab (#211) (2ae0d3b)
  • site: add a 'the basics' guide (#142) (bdcf34c)
  • site: add analytics explainer page (#93) (5638cbc)
  • site: add Figma guide (#153) (18cb596)
  • site: add global component to define tabbed code examples (#156) (6e13858)
  • site: add glossary and FAQ (#68) (c30c472)
  • site: add notes about platform compatibility support (#256) (2e0395a)
  • site: create and integrate a Diez project for website styles (#182) (a55e8ef)
  • site: improve to select all tabs of the same language (#217) (9bcded5)
  • site: integrate docs with website (#69) (c367c5a)
  • stdlib: extricate the Diez standard library as a separate package (#286) (1cac311)
  • stdlib: implement assemblers for target compilers and SDK source file headings (#292) (7dca177)
  • targets: add ability to compile CSS and SCSS (#174) (3c39754)
  • targets: add Carthage support to iOS (#67) (384e24e)
  • targets: add missing unit types on Size2D and Point2D for generated web resources (#238) (acc3947)
  • targets: add NSAttributedString helpers for Typograph on iOS. (#201) (aebc460)
  • targets: Lottie & Animator config options (#66) (e7d2581)
  • targets: require --js param for web target (#167) (05405cc)
  • targets: revamp Web JavaScript binding helpers (#162) (ced1a90)
  • targets: support partial patches in iOS (#70) (093e463)
  • targets: update lottie-android to 3.0.1 (#206) (c13c737)
  • targets: update lottie-ios to 3.1.1 (#203) (3fe6ed7)
  • provide complete iOS target compiler for development mode. (d21fe07)
  • typograph: add support for controlling text scaling on mobile targets (#242) (dba0f6a)
  • finalize early access guides (#149) (6a1abbd)
  • finish style specific dynamic content updates in PoodleSurf iOS (aa81e5b)
  • hide the navigation bar in PoodleSurf iOS (6867a31)
  • iOS Lottie support (d671cc1)
  • iOS SVG support (2a0ca78)
  • make data model dynamic in PoodleSurf iOS (0217bd4)
  • page for post figma auth (#32) (f899de2)
  • re-enable navigation bar (447e817)
  • rename app to “PITTED” and add new logo asset (a124e2a)
  • render highlighted code at build time (#55) (64a7321)
  • reprompt for Figma auth if the token is invalid/expired (bdd4718)
  • roll out the CLI package with plugin autodiscovery (de50316)
  • show lottie-driven animation on loading view in PoodleSurf iOS (0cb818e)
  • static color constructor from hex code (e785818)
  • typograph: add support for letter-spacing (#306) (c14d5bc)
  • typograph: add text decoration (underline/strikethrough) support to Typograph (#315) (582e07f)
  • use custom title view with image in navigation bar in PoodleSurf iOS (8588ab1)
  • use the .local macOS hostname if available (95126c8)
  • typograph: add textAlignment to Typograph (#308) (7da88d1)

Performance Improvements

  • 5-10x performance improvement on hot reloading (#58) (01b7948)
  • cli: reduce the dependency weight of the diez CLI (#86) (18e1647)
  • examples/site performance enchancements (#91) (b0ad898)
  • site: actually show the fallback font if the loading fails (#95) (a22e3ea)

tweak

  • typograph: make default value for shouldScale false (#298) (4668df3)

BREAKING CHANGES

  • typograph: change Typograph's default value for shouldScale to false
  • targets: the JavaScript SDK no longer provides the urlCss method for File and Image prefabs.
  • android: Extensions on Android classes that were values with a setter and a null returning getter are now functions.
  • ios: The image property getter that returns a UIImage on the Image extension has been renamed uiImage.
  • compiler: the diez compile command no longer uses an --outputPath/-o flag for directing SDK output to a specified directory nor a --devMode/-d flag for running "hot", and instead builds SDKs into build/ in unique directories per project/target like build/diez-poodle-surf-ios.

10.0.0-beta.6 (2019-11-09)

Bug Fixes

  • correct source maps in Sentry minification (a7ffe65)
  • shim in @types/babel__core dependency to fix spurious compiler crashes (956178f)
  • compiler: add support for declaring empty array properties (#312) (7224d34)
  • generation: use path.join to improve cross-platform compatibility (#313) (f446b13)
  • ios: add support for registering fonts not referenced in exported Diez project (#316) (ad4bf25)

Features

  • add Android Kotlin usage examples (#299) (0dbefb4)
  • android: add usage examples for Android Java (#300) (b9a72c1)
  • add support for line-height on Typograph (#303) (f016447)
  • create @diez/framework-core (#304) (7a9369d)
  • compiler: add support for object literal types in the Diez compiler (#310) (671b0de)
  • compiler: track local source files for component definitions and references for component properties (#305) (bffafbc)
  • typograph: add support for letter-spacing (#306) (057546d)
  • typograph: add text decoration (underline/strikethrough) support to Typograph (#315) (f84ca67)
  • typograph: add textAlignment to Typograph (#308) (8af6913)

10.0.0-beta.5 (2019-09-24)

Bug Fixes

  • android: fix crash when connection fails in hot mode (#270) (ab9cd5b)
  • fix VSCode debugging configuration cwd paths (#276) (9d4708a)
  • createproject: include empty designs directory in the starter project (#281) (8026313)
  • createproject: retain permissions when templatizing the example project (#287) (e193177)
  • examples: display a user friendly error when using an invalid CocoaPods version (#247) (d17e885)
  • site: use correct path to link Color prefabs in guides (#283) (f708f5f)
  • sources: support new Figma syntax for tracing component IDs to their intrinsic dimensions (#252) (112986e)
  • targets: prevent exceptions on JS SDK (#285) (630b202)

Features

  • add Panel (#234) (304a408)
  • compiler: define interfaces to declare code examples (#291) (de59593)
  • docs: parse JS docs from design language sources (#245) (deae7e0)
  • lorem-ipsum: add a diez start command for example projects (#259) (7c98f83)
  • site: add notes about platform compatibility support (#256) (8bf739f)
  • stdlib: extricate the Diez standard library as a separate package (#286) (356a23f)
  • stdlib: implement assemblers for target compilers and SDK source file headings (#292) (0a752ce)
  • typograph: add support for controlling text scaling on mobile targets (#242) (8360862)

tweak

  • typograph: make default value for shouldScale false (#298) (507754c)

BREAKING CHANGES

  • typograph: change Typograph's default value for shouldScale to false

10.0.0-beta.4 (2019-08-09)

Bug Fixes

  • linear-gradient: sanitize linear gradients so two stops are always present (#230) (65298f8)
  • site: fix typos on Sketch guide (#239) (72422ac)

chore

Features

  • android: add dpToPx and spToPx to core generated library (#240) (2a988d5)
  • cli: allow users to specify an alternative project root via .diezrc (#243) (d5dfcdc)
  • prefabs: add DropShadow (#225) (df7182d)
  • prefabs: add Size2D prefab (#211) (6d95d8a)
  • targets: add missing unit types on Size2D and Point2D for generated web resources (#238) (adc9480)

BREAKING CHANGES

  • targets: the JavaScript SDK no longer provides the urlCss method for File and Image prefabs.

10.0.0-beta.3 (2019-07-30)

Bug Fixes

  • remove web-sdk-common from docs (#207) (f7a196d)
  • use trusty build environment for Travis to enable support for oraclejdk8 (#221) (0b4a855)

Features

  • compiler: add support for plain TypeScript classes without decorators (#215) (59960c9)
  • site: improve to select all tabs of the same language (#217) (3b81af6)
  • targets: update lottie-android to 3.0.1 (#206) (c5a3b97)
  • targets: update lottie-ios to 3.1.1 (#203) (119b85e)

10.0.0-beta.2 (2019-07-16)

Features

  • add a new package featuring a webpack plugin to integrate Diez with web (#193) (6bd7932)
  • examples: use palette to map raw colors names that describe their usage (#202) (ed91430)
  • prefabs: add angle static constructor to LinearGradient (#200) (ad69f6e)
  • prefabs: add linear gradient prefab (#191) (d01700a)
  • site: create and integrate a Diez project for website styles (#182) (651fe90)
  • targets: add NSAttributedString helpers for Typograph on iOS. (#201) (af93c42)

10.0.0-beta.1 (2019-07-02)

Bug Fixes

  • android: ensure hot mode webview does not cover content (#170) (d0164c9)
  • site: add GA tracking (#155) (4de3f71)
  • site: scope layout styles so docs do not receive extra styles (#157) (5089c2d)
  • ensure diez hot crashes bubble on compiler event handlers (#172) (75e0508)
  • sources: fixes application detection when more than one installation is present (#180) (5c27f44)

Code Refactoring

  • android: improve android SDK semantics (#160) (1b1d1a6)

Features

  • android: use handlebar templates to bind real properties/functions instead of using extensions (#173) (7a53dfd)
  • compiler: add the ability to set generated SDK versions with a command line flag (#158) (bdb6c9e)
  • createproject: add a loader spinner when installing dependencies (#179) (306e081)
  • createproject: add comments in example projects that lead a viewer back to the TypeScript definitions (#176) (3ed19c1)
  • createproject: initialize a git repository when creating a new project (#169) (124f508)
  • createproject: make example project easier to follow (#178) (19fa10f)
  • ios: add Swift only UIKit class initializers for Diez types (#159) (913c54f)
  • ios: generate SDK as a collection of files instead of a single SDK.swift (#163) (c625e08)
  • add "press r to reload" functionality for diez extract --hot (#165) (174b72d)
  • site: add Figma guide (#153) (de1ebc8)
  • site: add global component to define tabbed code examples (#156) (d278c87)
  • targets: add ability to compile CSS and SCSS (#174) (26ec8fe)
  • targets: require --js param for web target (#167) (a4669ad)
  • targets: revamp Web JavaScript binding helpers (#162) (55dd138)

BREAKING CHANGES

  • android: Extensions on Android classes that were values with a setter and a null returning getter are now functions.

10.0.0-beta.0 (2019-06-14)

Bug Fixes

  • analytics: ensure Sentry events are actually sent. (76d2ab5)
  • createproject: ensure node_modules is ignored in .gitignore for new projects (35ea863)
  • createproject: simplify lorem-ipsum web example (#120) (085d1b0)
  • docs: allow docs to be generated when the repo is in a path with ‘src’ in it (#106) (0d2c3de)
  • docs: typos + styling (#75) (7714a61)
  • examples: fix LoadingView initialization in PoodleSurf (#110) (ddbcd04)
  • examples: fix retina layout of lorem-ipsum web (#143) (c000b67)
  • ensure symlinks work for linking the example project (a3b801c)
  • generation: increased compatibility and robustness for font location (#144) (2f5ee83)
  • ios: fix incorrect output framework filename in carthage build phase (#103) (292546f)
  • ios: make component properties public internal(set) (#83) (4119665)
  • install node-fetch as a non-dev dependency of @diez/storage (f64a365)
  • run CLI update check in the main thread (#141) (739d4f3)
  • use normal slashes when resolving node_modules sources (#77) (dbe02e1)
  • ios: save component state after an update (#139) (9f188fc)
  • site: use nuxt built-in loading bar to load docs (#89) (f45e549)
  • ios: rename UIImage getter on Image to uiImage (#137) (7bbd9f5)

Features

  • analytics: add Sentry crash reporting for private beta (#152) (a47a9de)
  • cli: add opt-out analytics to diez (#92) (08291ec)
  • cli: allow default command options to be specified in .diezrc (#84) (0e8a1bb)
  • compiler: enable fully ejectable Diez SDKs for Android and web (#97) (4b57a8e)
  • compiler: implement canUseNpm (#85) (e516caa)
  • createproject: yarn create/npm init starter kits for Diez (#130) (86caab2)
  • createproject: add simple start-* scripts for diez create example projects (#147) (5711743)
  • createproject: shore up the behavior of diez create (#126) (17d0202)
  • docs: add getting started docs for iOS (#132) (f67f039)
  • docs: add getting started guides for web (#138) (2972e8c)
  • examples: add android example to lorem-ipsum (#113) (12797c8)
  • examples: add web example to lorem-ipsum (#114) (eee18f8)
  • examples: use custom .ttf fonts in poodle-surf (#96) (e731c33)
  • examples: use hot updates in lorem-ipsum android example (#136) (8cabfc4)
  • ios: generate asset catalog for images (#87) (806a331)
  • ios: remove Updatable (#134) (cff9845)
  • ios: throw and error when NSAllowsLocalNetworking is not set to true (#90) (7692103)
  • ios: use Result type for attachment subscriptions on iOS (#79) (3e6ee84)
  • services: move Figma OAuth handshake broker into the monorepo and migrate to the serverless stack (#94) (6f050b7)
  • site: add a 'the basics' guide (#142) (4b1a590)
  • site: add analytics explainer page (#93) (7f587a4)
  • targets: add Carthage support to iOS (#67) (31ed20f)
  • targets: Lottie & Animator config options (#66) (c7328e3)
  • add script that generates example templates for createproject (#115) (943513c)
  • add support for design language extraction for Figma files (#140) (26b6d87)
  • finalize early access guides (#149) (f9dc8a6)

Performance Improvements

  • cli: reduce the dependency weight of the diez CLI (#86) (94dbee0)
  • examples/site performance enchancements (#91) (e6285db)
  • site: actually show the fallback font if the loading fails (#95) (2aa8084)

BREAKING CHANGES

  • ios: The image property getter that returns a UIImage on the Image extension has been renamed uiImage.
  • compiler: the diez compile command no longer uses an --outputPath/-o flag for directing SDK output to a specified directory nor a --devMode/-d flag for running "hot", and instead builds SDKs into build/ in unique directories per project/target like build/diez-poodle-surf-ios.