53 KiB
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.15.10 (2021-09-07)
Bug Fixes
- deduping issue with hydrate output (e5d38e1)
5.15.9 (2021-09-05)
Bug Fixes
- attribute shorthand method source locations (20e3cf4)
5.15.8 (2021-09-05)
Bug Fixes
- consistent file.opts during parse & other stages (ff07ead)
- incorrect source position for attribute arguments (0c0ff04)
5.15.7 (2021-09-03)
Bug Fixes
5.15.6 (2021-09-03)
Bug Fixes
- supports babel 7.15.4 (a301a87)
5.15.5 (2021-08-26)
Note: Version bump only for package marko-project
5.15.4 (2021-08-07)
Bug Fixes
- improve compiler register hook types (ecdafa0)
5.15.3 (2021-08-06)
Bug Fixes
- babel-utils: ensure relative paths when using import utils (9d5ef81)
5.15.2 (2021-08-06)
Bug Fixes
- issue with hoisted tag var scopes (86162a1)
5.15.1 (2021-07-30)
Bug Fixes
- marko: issue with HMR enabled using split components (ab8706c)
5.15.0 (2021-07-28)
Features
- expose @marko/compiler/register api (5726899)
5.14.2 (2021-07-28)
Bug Fixes
- support method shorthand from updated parser (accb1bf)
5.14.1 (2021-07-26)
Bug Fixes
- compiler: issue with getters on taglibs not properly merging (c728439)
- translator-default: issue when MarkoClass added via compiler hook (c5ba393)
5.14.0 (2021-07-24)
Bug Fixes
- issue with root translator running in hydrate mode (56495ae)
Features
- lazy load load compiler hook paths, expose error loc object (f49fc19)
5.13.0 (2021-07-23)
Features
- add support for new binding shorthand syntax (1c20064)
5.12.1 (2021-07-21)
Bug Fixes
- issue with tag var scope hoisting (ed8de11)
5.12.0 (2021-07-12)
Features
- translator-default: support new tag runtime props via compile hook (f345b0c)
5.11.3 (2021-07-08)
Bug Fixes
- allow key attribute to pass through for attribute tags (ab52ae4)
5.11.2 (2021-07-07)
Bug Fixes
- incorrect search file types for taglib lookup (4e6bd9a)
5.11.1 (2021-07-07)
Bug Fixes
- add missing compiler hook aliases during taglib loading (0e008e3)
5.11.0 (2021-07-07)
Features
- add hoisting support for tag var bindings (956a80c)
- support taglib translate hook, support arrays in taglib hooks (e2b0e66)
5.10.7 (2021-06-23)
Bug Fixes
- compiler: improve sourceMap config option type definition (5a5092e)
- translator-default: delay no tag var assertion if translator exists (3f7b570)
5.10.6 (2021-06-10)
Bug Fixes
- translator-default: issue with user defined component var (a36cfd1)
5.10.5 (2021-06-08)
Bug Fixes
- marko: issue with dynamic tag name string and no renderbody (69e8514)
5.10.4 (2021-05-19)
Bug Fixes
- marko: issue when last mode stream ends too early (318044f)
5.10.3 (2021-05-14)
Bug Fixes
5.10.2 (2021-05-04)
Bug Fixes
- compiler: var name typo (8aaf910)
5.10.1 (2021-05-04)
Bug Fixes
- compiler: issue with undefined added to watchFiles (4704b62)
5.10.0 (2021-04-30)
Features
5.9.0 (2021-04-21)
Bug Fixes
- babel-utils: invalid type for importNamed api (3da1044)
Features
5.8.4 (2021-04-19)
Bug Fixes
- translator-default: ignore browser.json with resolveVirtualDependency api (b101623)
5.8.3 (2021-04-18)
Bug Fixes
- translator-default: resolve correct production paths with hydrate output (33302ef)
5.8.2 (2021-04-18)
Bug Fixes
- translator-default: hydrate mode watchFiles missing stateless component, css source map content (c0da831)
5.8.1 (2021-04-16)
Bug Fixes
- compiler: add missing config type definition (7437e88)
5.8.0 (2021-04-16)
Bug Fixes
- remove unecessary windows path normalization (6d1a4f5)
Features
5.7.0 (2021-04-07)
Bug Fixes
- typescript types (#1684) (5f950c8)
- translator-default: issue with inline sourcmeaps and virtual files (94ce0e1)
Features
5.6.2 (2021-03-30)
Bug Fixes
- translator-default: some bundlers not supporting hoisted imports (0233d04)
5.6.1 (2021-03-27)
Bug Fixes
- babel-utils: issue with child template analysis in node_modules (f2133bc)
5.6.0 (2021-03-27)
Bug Fixes
- withLoc type def (bd77eb8)
Features
5.5.4 (2021-03-22)
Bug Fixes
- resolveVirtualDependency typo (be762ee)
5.5.3 (2021-03-22)
Bug Fixes
- translator-default: hydration mismatch with conditional dynamic tag (91d3ee6)
5.5.2 (2021-03-19)
Bug Fixes
5.5.1 (2021-03-18)
Bug Fixes
- compiler: type definitions had incorrect path (f7d4eb9)
5.5.0 (2021-03-18)
Bug Fixes
- compiler: use provided FS for taglib building (#1674) (edb570e)
- marko: issue with async hydrate after final flush (#1677) (f2fbaa6)
- babel-types type definiton build script (76f1cd9)
- correct Marko debug mode for ci tests (031ca0d)
Features
5.4.2 (2021-03-10)
Bug Fixes
- babel-utils: loadFileForImport not fully resolving file (f0cd452)
5.4.1 (2021-03-10)
Bug Fixes
- babel-utils: add missing export (5e8fa9f)
5.4.0 (2021-03-10)
Features
- babel-utils: add api for analyzing template by import path (7efc2ab)
5.3.0 (2021-03-08)
Features
- marko: support lazy loading hydrated components (7e14181)
5.2.4 (2021-03-08)
Bug Fixes
- marko: issue with delegating events from text nodes (787578e)
5.2.3 (2021-03-05)
Bug Fixes
- marko: issue with MARKO_DEBUG and a const (c17f9fc)
5.2.2 (2021-03-01)
Bug Fixes
- add some additional missing deps from marko to @marko/compiler (65ac580)
5.2.1 (2021-03-01)
Bug Fixes
- compiler: add missing dependency after moving taglib code (ae843f1)
5.2.0 (2021-03-01)
Features
- move taglib apis into compiler source code (f7cbb1b)
5.1.21 (2021-03-01)
Bug Fixes
- babel-utils: update type definitions (b3446b7)
5.1.20 (2021-02-26)
Bug Fixes
- marko: circular dep issue with browser-refresh (a704210)
5.1.19 (2021-02-26)
Bug Fixes
- marko: bring back hot-reload when node-require hook used (8d856a0)
- move @marko/babel-types into compiler (5369a63)
- compiler: issue with path.state missing (22ab5b2)
5.1.18 (2021-02-21)
Bug Fixes
- marko: add back missing preserve-name & remove-dashes config (4283178)
5.1.17 (2021-02-18)
Bug Fixes
- improve windows support for taglib finder (58f6568)
5.1.16 (2021-02-17)
Bug Fixes
5.1.15 (2021-02-13)
Note: Version bump only for package marko-project
5.1.14 (2021-02-12)
Bug Fixes
- translator-default: issue with style tag source positions (415161b)
5.1.13 (2021-02-12)
Note: Version bump only for package marko-project
5.1.12 (2021-02-12)
Bug Fixes
- marko: avoid prematurely resolving taglib paths (29f3cbe)
5.1.11 (2021-02-11)
Bug Fixes
- prevent potential race condition while tag scanning (cafa138)
5.1.10 (2021-02-05)
Bug Fixes
5.1.9 (2021-02-03)
Bug Fixes
- marko: default export in esm mode for marko/component (9b144e1)
- marko: drop ie10 only runtime code (2125bf6)
- marko: include default export in esm marko/components (ed5fbc2)
5.1.8 (2021-02-02)
Note: Version bump only for package marko-project
5.1.7 (2021-02-01)
Bug Fixes
- allow passing 'dom' output instead of 'vdom' (9c11a9b)
5.1.6 (2021-01-29)
Bug Fixes
- compiler: improve type definitions (291690e)
5.1.5 (2021-01-28)
Bug Fixes
- issue with bundled compiler not respecting NODE_ENV (c7be2a7)
5.1.4 (2021-01-27)
Bug Fixes
- docs link (69abe9a)
5.1.3 (2021-01-27)
Bug Fixes
- enable inline sourcemaps by default with dev mode require hook (6571a11)
5.1.2 (2021-01-26)
Note: Version bump only for package marko-project
5.1.1 (2021-01-26)
Note: Version bump only for package marko-project
5.1.0 (2021-01-26)
Bug Fixes
- babel-utils: improve website compatability (c122c08)
- importing some Marko files properly includes meta (d67bac5)
Features
- no longer publish as 'next' dist-tag (8113e25)
5.0.0-next.82 (2021-01-21)
Bug Fixes
- issue with path.hub being missing when traversing (7aef97c)
5.0.0-next.81 (2021-01-20)
Bug Fixes
- translator-default: browser.json auto discovery path (965c407)
5.0.0-next.80 (2021-01-19)
Bug Fixes
- src to dist translations in some cases (60772b7)
5.0.0-next.79 (2021-01-19)
Bug Fixes
- resolve dist runtime when optimized (261de89)
- targetProperty for dynamic attribute tags when multiple (2d1238f)
5.0.0-next.78 (2021-01-19)
Bug Fixes
5.0.0-next.77 (2021-01-19)
Bug Fixes
- force commonjs modules for load api (bd84dad)
5.0.0-next.76 (2021-01-15)
Features
5.0.0-next.75 (2021-01-14)
Bug Fixes
- issue with using flags before defined (8628d01)
5.0.0-next.74 (2021-01-14)
Bug Fixes
- runtime mismatch check (892f9d0)
5.0.0-next.73 (2021-01-14)
Bug Fixes
5.0.0-next.72 (2021-01-13)
Bug Fixes
- issue with only renderBody being serialized (8c0e045)
- babel-utils: resolve node_module templates to relative paths (#1645) (db4232e)
Features
- compiler: support string as translator option (0c6e968)
5.0.0-next.71 (2021-01-12)
Bug Fixes
- babel-types: allow toString on placeholder nodes (0162f17)
Features
5.0.0-next.70 (2020-12-16)
Features
- add cached analyze stage (bb6a050)
5.0.0-next.69 (2020-12-14)
Features
- compiler: provide state object during compiler hooks (24cefa4)
5.0.0-next.68 (2020-12-11)
Features
5.0.0-next.67 (2020-12-09)
Bug Fixes
- babel-types: scope traverse patch (a82af6e)
5.0.0-next.66 (2020-12-08)
Bug Fixes
- renderbody with dynamic attrs (6c33c0f)
5.0.0-next.65 (2020-12-02)
Note: Version bump only for package marko-project
5.0.0-next.64 (2020-12-02)
Bug Fixes
- babel-types: support scope analysis for tag variables (c527474)
5.0.0-next.63 (2020-12-01)
Note: Version bump only for package marko-project
5.0.0-next.62 (2020-12-01)
Bug Fixes
- babel-types: remove invalid visitors (5d4a964)
5.0.0-next.61 (2020-12-01)
Bug Fixes
- babel-utils: typo in types (3d40fc2)
5.0.0-next.60 (2020-11-22)
Bug Fixes
- typing for attr nodes (b885ee2)
5.0.0-next.59 (2020-11-21)
Bug Fixes
- babel-utils: missing type (2b7f619)
5.0.0-next.58 (2020-11-20)
Bug Fixes
- translator-default: avoid vdom hoisting for directive attrs (abf5b8c)
5.0.0-next.57 (2020-11-20)
Bug Fixes
- translator-default: ensure accruate component id metadata (c4b0360)
Features
- add default attribute support (#1631) (46ceab3)
- add parser support for tag variables (#1630) (43c4433)
5.0.0-next.56 (2020-11-20)
Bug Fixes
- compiler: no longer error when compiling from root dir (fe84fb3)
5.0.0-next.55 (2020-11-19)
Bug Fixes
- babel-utils doesnt depend on compiler (c429ffb)
5.0.0-next.54 (2020-11-17)
Note: Version bump only for package marko-project
5.0.0-next.53 (2020-11-17)
Features
- babel-utils: expose taglib types (1d6ccb9)
5.0.0-next.52 (2020-11-12)
Note: Version bump only for package marko-project
5.0.0-next.51 (2020-11-11)
Bug Fixes
- refactor and optimize optimizers (7e1d058)
- regression with no-update-body with no renderBody (1e89057)
Features
- babel-utils: add basic types (61900a0)
- add typescript types for babel-types (#1623) (51bd454)
- cached compilations, nested tag analysis (74d5f10)
5.0.0-next.50 (2020-10-12)
Bug Fixes
- dynamic tag html attr normalize (bae4a3d)
- no longer use fragments for preserved native els (22e9322)
- regression serializing empty component data with custom runtimeid (7ee0cd1)
- translator-default: body only if being preserved incorrectly (aa1ef05)
- translator-default: owner component missing for text nodes (50b4e97)
5.0.0-next.49 (2020-09-28)
Bug Fixes
- marko: output esm for module-code (db4793d)
Performance Improvements
5.0.0-next.48 (2020-09-18)
Bug Fixes
- compiler: improve hash template id performance and consistency (d111748)
5.0.0-next.47 (2020-09-18)
Bug Fixes
- compiler: normalize windows paths when creating relative requires (daf2b1a)
5.0.0-next.46 (2020-09-17)
Bug Fixes
- only include template path with meta option enabled (e1b39e1)
Performance Improvements
- prevent bundlers from pulling in setImmediate shim (585d6be)
- remove unecessary function for template load api (33ae635)
5.0.0-next.45 (2020-08-26)
Bug Fixes
- regression with manual component init with custom runtimeid (ec6e670)
5.0.0-next.44 (2020-08-26)
Bug Fixes
- typo with aria-describedby autocomplete (f499634)
5.0.0-next.43 (2020-08-20)
Bug Fixes
- issue with hydrating body-only content (c975b87)
5.0.0-next.42 (2020-08-18)
Bug Fixes
5.0.0-next.41 (2020-08-18)
Note: Version bump only for package marko-project
5.0.0-next.40 (2020-08-12)
Bug Fixes
- component type use relative path in dev mode (7b7a4f9)
- translator-default: component meta not set on tag params (da2eb18)
5.0.0-next.39 (2020-08-10)
Bug Fixes
- invalid missing closing svg tags (47a9834)
5.0.0-next.38 (2020-08-10)
Bug Fixes
- add support for nested tag long hand properties (#1592) (36c501c)
- set default value for textarea when created (#1593) (00a0a55)
5.0.0-next.37 (2020-08-05)
Features
- only enable optimization stage for production mode (ee16e96)
5.0.0-next.36 (2020-08-05)
Features
5.0.0-next.35 (2020-08-04)
Bug Fixes
Features
5.0.0-next.34 (2020-08-04)
Bug Fixes
- allow in sync mode (#1589) (f91bd37)
- diffing dynamic attributes with mismatched keys (#1587) (4b8cce4)
- issue with hydrating no-update-if content (#1581) (457f3d4)
5.0.0-next.33 (2020-08-03)
Note: Version bump only for package marko-project
5.0.0-next.32 (2020-07-31)
Bug Fixes
- compiler: regression with sourcemaps (bb818c8)
5.0.0-next.31 (2020-07-31)
Features
- improve index position to line, column perf (680dad6)
5.0.0-next.30 (2020-07-29)
Note: Version bump only for package marko-project
5.0.0-next.29 (2020-07-29)
Note: Version bump only for package marko-project
5.0.0-next.28 (2020-07-27)
Bug Fixes
- compiler: false positive for concise mode dynamic tag error (94c41ca)
- translator-default: improve source maps for non concise root tags (571b4fa)
- better errors, track deps and cleanup for import shorthand (00464f2)
Features
- add new syntax for dynamic component import (e9b4cd6)
5.0.0-next.27 (2020-07-24)
Bug Fixes
- compiler: make taglib entry more bundler friendly (1e89380)
5.0.0-next.26 (2020-07-24)
Bug Fixes
5.0.0-next.25 (2020-07-23)
Bug Fixes
- remove unecessary allExtensions api (9a2c439)
5.0.0-next.24 (2020-07-22)
Features
5.0.0-next.23 (2020-07-14)
Features
- expose inline style block position for better sourcemaps (83e6dca)
5.0.0-next.22 (2020-07-10)
Bug Fixes
- translator-default: mixing repeated and non-repeated attributes (f93534f)
5.0.0-next.21 (2020-07-07)
Features
- switch to storing marko meta on babels metadata (ee6ad38)
5.0.0-next.20 (2020-07-07)
Note: Version bump only for package marko-project
5.0.0-next.19 (2020-07-06)
Bug Fixes
- support manually registered taglibs (9dc4d07)
5.0.0-next.18 (2020-05-27)
Bug Fixes
- compiler: modules override warning when compiled with webpack (af28bac)
5.0.0-next.17 (2020-05-27)
Bug Fixes
- additional taglib cleanup for website support (f462d8a)
5.0.0-next.16 (2020-05-27)
Features
- website compatibility fixes (4390fd1)
5.0.0-next.15 (2020-05-26)
Features
- compiler: require passing custom translator directly (b9d4c46)
5.0.0-next.14 (2020-05-26)
Bug Fixes
5.0.0-next.13 (2020-05-20)
Bug Fixes
- nextTick timing regression (#1573) (7f35078)
- compiler: ensure marko babel plugin not overwritten (ac9a4c5)
- compiler: regression causing marko plugin to not load (a08b55a)
- marko: prevent loading main entry by default (61c954e)
- translator-default: optional params on for tag (b550417)
5.0.0-next.12 (2020-05-19)
Bug Fixes
- components not always initializing inside client-reorder await (#1566) (da31ead)
- data-marko attributes under 'no-update' with (#1564) (0a227d0)
5.0.0-next.11 (2020-04-27)
Bug Fixes
- regression with unquoted attribute with trailing slash (#1561) (128b68a)
- split components under preserved root resetting ___isPreserved (#1559) (dd9f7ac)
5.0.0-next.10 (2020-04-23)
Bug Fixes
Performance Improvements
5.0.0-next.9 (2020-04-16)
Bug Fixes
- add devmode warning for removing fragment markers (#1541) (de27b4a)
- implement missing methods for void-writer (#1540) (b50f93c)
- improve micro task helper (2129451)
- issue with keys under ssr no-update root (#1527) (480bc77)
- regression with nullish values in partial string attribute values (#1537) (144c352)
- spread attrs for native tag preserves case (#1530) (6b3156f)
Features
Performance Improvements
- misc improvements (#1535) (1fed43e)
- optimize dynamic tag when types are statically known (#1550) (4719405)
- optimize merge html attrs (#1538) (792aa6a)
- optimize serializing renderBody & legacy widgets (#1539) (eb9e156)
- skip serializing instance props & state for non split components (#1546) (75fd1b0)
5.0.0-next.8 (2020-03-17)
Bug Fixes
- translator-default: include full filename in meta.component (bc0bc69)
5.0.0-next.7 (2020-03-17)
Bug Fixes
- translator-default: set meta component for inline component (bd21c79)
5.0.0-next.6 (2020-03-16)
Bug Fixes
- don't serialize component boundary keys if the owner isn't hydrated (#1525) (ab3d2a7)
- make Marko a peerDependency (2eac257)
Features
5.0.0-next.5 (2020-02-26)
Bug Fixes
- always include nested contexts when serializing (#1515) (84aa30e)
- set preserve false under new rerender roots (#1513) (c00a02c)
5.0.0-next.4 (2020-02-25)
Bug Fixes
5.0.0-next.3 (2020-02-25)
Bug Fixes
5.0.0-next.2 (2020-02-25)
Bug Fixes
- publish hooks (again) (5b394be)
5.0.0-next.1 (2020-02-25)
Bug Fixes
- publish hooks (maybe) (2dc0901)
chore
- delete deprecated apis/tests (c163054)
Features
BREAKING CHANGES
- api for compile-time tags has changed. This affects tranformer/node-factory/code-generator tags.
Co-authored-by: Michael Rawlings mirawlings@ebay.com Co-authored-by: Dylan Piercey dpiercey@ebay.com Co-authored-by: Andrew Gliga agliga@ebay.com
- The following deprecated apis have been removed:
- Deprecated top-level entrypoints of the
markopackage - The marko@3/marko-widgets@6 legacy compatibility layer
- Auto-migratable syntax and api changes to the core tags
Co-authored-by: Michael Rawlings mirawlings@ebay.com Co-authored-by: Dylan Piercey dpiercey@ebay.com