Skip to content

Releases: gronxb/hot-updater

v0.12.4

03 Mar 18:46
Compare
Choose a tag to compare

What's Changed

  • feat(firebase): integration (1/4) firebaseStorage by @jingjing2222 in #149
  • feat(firebase): integration (2/4) firebaseDatabase by @jingjing2222 in #156
  • refactor(firebase): remove props from database by @jingjing2222 in #158
  • chore(cli): Skip sourcemap files when creating bundle zip by @rjwu95 in #161
  • fix(aws): fetch the correct S3 bucket regardless of region by @gronxb in #162

Full Changelog: v0.12.3...v0.12.4

v0.12.3

24 Feb 03:35
Compare
Choose a tag to compare

What's Changed

You can inject the platform into hot-updater.config.ts to optionally use the flag.

import { metro } from "@hot-updater/metro";
import { defineConfig } from "hot-updater";
// ... more import

export default defineConfig(({ platform }) => { // You can adjust it based on the platform you are using.
  return {
    build: metro({
      enableHermes: platform === "ios",
    }),
    ...
  };
});

Full Changelog: v0.12.2...v0.12.3

v0.12.2

23 Feb 14:39
Compare
Choose a tag to compare

0.12.2 (2025-02-24)

What's Changed

🚀 AWS + Lambda@Edge Support Added

Hot Updater now supports AWS + Lambda@Edge for update distribution! 🎉
Check out the guide for more details:
🔗 AWS + Lambda@Edge Provider Guide

init-aws.mov
  • feat(console): Improve UX by preventing screen flickering by @jingjing2222 in #133
  • refactor(console): improve network and UX by query cache by @jingjing2222 in #136
  • feat(console): improve missing sidebar with animation by @jingjing2222 in #137
  • feat(console): Modify to support HMR by migrating from Rsbuild to Vite by @Coreight98 in #138
  • feat(aws): introduce AWS S3 + Lambda@Edge infra by @gronxb in #85
  • feat(mock): add delay to api calls by @jingjing2222 in #139
  • fix(aws): Lambda@Edge ARN version append by @gronxb in #140

Full Changelog: v0.12.0...v0.12.2

v0.12.0

21 Feb 05:43
Compare
Choose a tag to compare

0.12.0 (2025-02-21)

Platform App Store Review Required
Android ✅ Required
iOS ✅ Required

What's Changed

  • feat(native): manage up to two bundles for immediate rollback by @gronxb in #130

Full Changelog: v0.11.0...v0.12.0

v0.11.0

20 Feb 16:59
Compare
Choose a tag to compare

0.11.0 (2025-02-21)

Platform App Store Review Required
Android ✅ Required
iOS ✅ Required

What's Changed

  • fix(ios): warn requiresMainQueueSetup by @gronxb in #127
  • refactor(native): fixed path bundle update store by @gronxb in #128
  • fix(react-native): wrap reload in requestAnimationFrame by @gronxb in #129

Full Changelog: v0.10.2...v0.11.0

v0.10.2

20 Feb 12:19
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.1...v0.10.2

v0.10.1

19 Feb 18:26
Compare
Choose a tag to compare

0.10.1 (2025-02-20)

Platform App Store Review Required
Android ✅ Required
iOS ✅ Required

Support Hermes

Enabling Hermes compiles JavaScript to bytecode, improving performance and memory efficiency. If you’re using Hermes, it is recommended to enable this flag.

You must explicitly set this to true or false. From React Native 0.70 onwards, the default is true, so it's recommended. For earlier versions, set it to false. Check your project settings accordingly.

https://reactnative.dev/docs/hermes

import { metro } from "@hot-updater/metro";
import { defineConfig } from "hot-updater";
import "dotenv/config";

export default defineConfig({
  build: metro({
    enableHermes: true,
  }),
  ...
});

Java Configuration for Kotlin

Since Kotlin-specific syntax is used in the Kotlin code, existing Java projects also need to be configured for Kotlin.

Update <project>/android/app/build.gradle

buildscript {
      ext {
          buildToolsVersion = "33.0.0"
          minSdkVersion = 21
          compileSdkVersion = 33
          targetSdkVersion = 33

          // We use NDK 23, which supports M1 and is the side-by-side NDK version from AGP.
          ndkVersion = "23.1.7779620"
+          kotlinVersion = "1.9.24" 
      }
      repositories {
          google()
          mavenCentral()
      }
      dependencies {
          classpath("com.android.tools.build:gradle:7.3.1")
          classpath("com.facebook.react:react-native-gradle-plugin")
+          classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}") 
      }
  }

What's Changed

  • feat(console): after clicking save, show loading icon by @jingjing2222 in #117
  • fix(ios): Update bundleUrl Before Reload for Custom RCTBridges by @wes4m in #119
  • feat(metro): enableHermes options by @gronxb in #120
  • fix(android): UI Blocking code in Android when fetching JS Bundle && Add kotlin config in to 0.71 sample by @l2hyunwoo in #122
  • chore: update metro() plugin for hermes by @gronxb in #125
  • feat(standalone): api-based standaloneRepository database plugin by @regalstreak in #83

New Contributors

Full Changelog: v0.9.0...v0.10.1

v0.9.0

17 Feb 05:26
Compare
Choose a tag to compare

0.9.0 (2025-02-17)

Platform App Store Review Required
Android ❌ Not Required
iOS ✅ Required

What's Changed

  • fix(ios): ensure UI thread is not blocked by sending events by @ewindso in #111
  • fix(ios): Improve KVO observer management for download tasks by @gronxb in #112

Full Changelog: v0.8.0...v0.9.0

v0.8.0

16 Feb 06:41
Compare
Choose a tag to compare

0.8.0 (2025-02-16)

Platform App Store Review Required
Android ✅ Required
iOS ✅ Required

What's Changed

  • fix(android): prevent ProGuard from blocking access to mBundleLoader by @mstfmedeni in #107
  • fix(ios): ensure that the UI thread is not blocked when updating by @ewindso in #106
  • fix(android): new arch ProGuard by @gronxb in #108
  • fix(ios): Add progress tracking for download tasks in HotUpdater by @gronxb in #109

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

14 Feb 13:59
Compare
Choose a tag to compare

What's Changed

Platform App Store Review Required
Android ✅ Required
iOS ❌ Not Required
  • fix(android): Prevent bundle loading when URL is null by @gronxb in #103

Full Changelog: v0.6.7...v0.7.0