Skip to content

v2.0.0-alpha.22

Compare
Choose a tag to compare
@blakebyrnes blakebyrnes released this 12 Jun 20:54
· 1655 commits to main since this release

BREAKING CHANGES

HeroCore is now an instance. If you are calling HeroCore.start(), it returns an instance you can add connections to and start/stop.


  const heroCore = new HeroCore();
  heroCore.addConnection(bridge.transportToClient);
  await heroCore.start();

  // hero will connect directly
  const hero = new Hero({ connectionToCore });
  await hero.goto('https://ulixee.org');

Bug Fixes

  • client: disconnect connections on shutdown (648f8db)
  • client: lint issues (cc90f4f)
  • core: bypass restore-hero-dom.org in headed (c0753e8)
  • core: handle db closing timing (0ad0175)
  • core: only add wal mode if not readonly db (f74ecc4)
  • core: oopifs not injecting hero (cc1e12b)
  • timetravel: rollback update to defaultDbDir (8daedec)

Features

  • core: allow configuring session directory (9fda9b9)
  • core: session registry (fd10317)
  • expose triggerFlowHandler internal data (#229) (5ceb89c)