Skip to content

Releases: dominicstop/react-native-ios-context-menu

Release 1.7.1

01 Jan 22:40
Compare
Choose a tag to compare

Version: 1.7.1

  • Bugfix: Android error (importing/use of iOS-related native components on non-iOS platforms).
    • (Commit: e57aabe) Refactor ContextMenuView to use platform-specific extensions.
    • (Commit: 0acea05) Refactor ContextMenuButton to use platform-specific extensions.

Release 1.7.1-0

01 Jan 20:59
Compare
Choose a tag to compare
Release 1.7.1-0 Pre-release
Pre-release
  • 🐞 RNIContextMenuView: Platform Specific Export (2a250d2)
  • 📝 README WIP: Examples (67d52b0)
  • 💫 Example - Updated Example Components (6c11234)
  • 📝 README WIP: Updated "Basic Usage" Section (1933687)
  • 🆕 Examples - Added BasicUsageExample01 (e5f8a84)
  • 📝 README WIP: Examples (a33f630)
  • 💫 Example - Updated Example/Test Components (6344ffd)
  • 📝 README WIP: Examples (5b7898d)
  • 💫 Example - Replace String "ContextMenuViewSimpleExample" (6efb794)
  • 🖼 Copied Old Example Screenshots (54582f3)
  • 💫 Update package Scripts (f8d3afc)
  • 📝 Update TODO (6622f67)

Release 1.7.0

29 Nov 23:58
Compare
Choose a tag to compare
  • (Commit: 6b606da) Impl. ContextMenuView.isContextMenuEnabled prop.

Release 1.6.2

27 Nov 09:29
Compare
Choose a tag to compare
  • 🛠 (Commit: ce8dbac) Refactor: Add compiler directives to support building using Xcode 12.

Release 1.6.1

26 Nov 23:09
Compare
Choose a tag to compare
  • (Commit: ca30678) Clenaup: Remove RNIMenuIcon.ImageLoader
    • Fix build error due to RCTImageCache.

  • Fix example not building when using "Release" configuration.
    • (Commit: ca30678) Cleanup: Remove RNIMenuIcon.ImageLoader.
    • (Commit: 78a7e51) Refactor: Example - Rename index.js to index.ts
    • (Commit: 8258328) Implement: Create .nvmrc — Use specific node version.
    • (Commit: 9f6f895) Implement: Update build-ios.yml to use .nvmrc for node version.

Release 1.6.0

26 Nov 02:26
Compare
Choose a tag to compare
  • (Commit: 2c55fdb) Implement: Implement ContextMenuViewContext
  • (Commit: 05f6c73) Implement: Implement useMenuContext hook.
  • Refactor: Update example to use typescript.
    • Commits: 7ec95a5, 51a50f6, 2e3c05a, 104d36d, b84a0db, 73ff6f1, be6d40e, 3bc8e2a, 491874d, 9596954, 080d44f, 497f032, de1f93c, e745dda, 7b0c4f1, e714a1f, 6483c79, 447dd2b, ecd96fc, 78a9c10, 96877c2, bb3fff9, aea43db, 0c5436a, ee446c3, bdee609, e3846d7, 827f0bb.

  • (Commit: 7045e61) Bugfix: Fix types — Make menuConfig prop optional.
  • (Commit: 2310b7e) Bugfix: Fix types — Fix wrong type for MenuConfig.menuAttributes.
  • (Commit: 52c0459) Bugfix: Fix library exports — Export types from MenuEvents.
  • (Commit: 9f4e332) Refactor: Remove ContextMenuButton.wrapNativeComponent Prop.
  • (Commit: 9caf7d7) Implement: Implement ContextMenuButtonContext.
  • (Commit: 4d063f9) Implement: Implement useMenuButtonContext hook.

Release 1.5.0

20 Nov 23:00
Compare
Choose a tag to compare
  • Bugfix: Fix memory leak
    • (Commit: 6ddabae) Partially fix memory leak by performing cleanup during reload + when the view is unmounted.
    • (Commit: 19533b2) Use RNIWrapperView for the menu preview.
    • (Commit: c45c576) Fix menu preview memory leak,

  • (Commit: 4c75563) Bugfix: Fix menu action subtitles no longer working on iOS 15.

    • Example #13 — Setting discoverabilityTitle no longer does anything.
    • In iOS 13, this used to show a subtitle blurb below the menu item title. In iOS 15, it no longer displays the subtitle.
    • In iOS 15, there's a new property added called UIMenuElement.subtitle.

  • Refactor: Update to use RNIImageItem for the menu icons.
    • (Commit: 836f0a3) Copy over RNIImageItem impl. from react-native-ios-navigator.
    • (Commit: 97fa40c) Refactor to use RNIImageItem for menu item icon.
    • (Commit: e02d96e) Copy over ImageItemConfig types from react-native-ios-navigator.
    • (Commit: e176438) Update types for menu config to accept ImageItemConfig.

Release 1.4.0

14 Nov 23:16
Compare
Choose a tag to compare

  • (Commit: a0b008c) Migrate project to use the new template generated by create-react-native-library and react-native-builder-bob.
    • Example app no longer builds, but the library still works when installed on a newly created react-native app. The example project may be incompatible with Xcode 13.1.
    • After migrating the project to the new template, the example app now builds + run on iOS 15.

  • (Commit: d1c8277) Sync: Update UIColor+Helpers.swift to use the newer code in react-native-ios-context-menu.
  • (Commit: 59d4faf) Refactor: Migrate Extension+Init-related types to use failable initializers instead of static functions.
  • (Commit: 7bb8148) Cleanup: Update MARK comments in native code.
  • (Commit: 873b61a) Cleanup: Cleanup swift types (e.g. NSString -> String).
  • (Commit: ebfa1cc) Cleanup: Remove RCTSwiftLog + usage.
  • (Commit: 3702dfc) Refactor: Replace RCT prefix with RNI.
  • (Commit: 2102840) Refactor: Extract RNIContextMenuView native component to its own separate file.
  • (Commit: 3fb4faa) Refactor: Extract RNIContextMenuButton native component to its own separate file.
  • (Commit: 023f8e7) Implement: Types — Add type declaration for MenuConfig and related types.
  • (Commit: 6768b32) Implement: Types — Add type declaration for MenuPreviewConfig and related types.
  • (Commit: 01089f0) Implement: Types — Add type declaration for IconConfig and related types.
  • (Commit: 0d71080) Refactor: Extract constants (e.g. isContextMenuButtonSupported, isContextMenuViewSupported) to their own separate file.

  • Implement: Types — Add type declaration for ContextMenuView
    • (Commit: 8c72054) Implement: Types — Migrate ContextMenuView component to use typescript and partially added type declarations.
    • (Commit: 348d2f9) Implement: Types — Add type declaration for ContextMenuView events.

Release 1.3.0

11 Jan 10:08
Compare
Choose a tag to compare
  • ⚙️ Podfile: Set swift version to 5.3 (2a5e6ba)

Release 1.2.2

15 Dec 14:51
Compare
Choose a tag to compare
  • 🛠 Updated react-native.config.js (d66a650)