Releases: dominicstop/react-native-ios-context-menu
Releases · dominicstop/react-native-ios-context-menu
Release 1.7.1
Version: 1.7.1
- Bugfix: Android error (importing/use of iOS-related native components on non-iOS platforms).
- (Commit:
e57aabe
) RefactorContextMenuView
to use platform-specific extensions. - (Commit:
0acea05
) RefactorContextMenuButton
to use platform-specific extensions.
- (Commit:
Release 1.7.1-0
- 🐞
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
- (Commit:
6b606da
) Impl.ContextMenuView.isContextMenuEnabled
prop.
Release 1.6.2
- 🛠 (Commit:
ce8dbac
) Refactor: Add compiler directives to support building using Xcode 12.
Release 1.6.1
- (Commit:
ca30678
) Clenaup: RemoveRNIMenuIcon.ImageLoader
- Fix build error due to
RCTImageCache
.
- Fix build error due to
- Fix example not building when using "Release" configuration.
- (Commit:
ca30678
) Cleanup: RemoveRNIMenuIcon.ImageLoader
. - (Commit:
78a7e51
) Refactor: Example - Renameindex.js
toindex.ts
- (Commit:
8258328
) Implement: Create.nvmrc
— Use specific node version. - (Commit:
9f6f895
) Implement: Updatebuild-ios.yml
to use.nvmrc
for node version.
- (Commit:
Release 1.6.0
- (Commit:
2c55fdb
) Implement: ImplementContextMenuViewContext
- (Commit:
05f6c73
) Implement: ImplementuseMenuContext
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
.
- Commits:
- (Commit:
7045e61
) Bugfix: Fix types — MakemenuConfig
prop optional. - (Commit:
2310b7e
) Bugfix: Fix types — Fix wrong type forMenuConfig.menuAttributes
. - (Commit:
52c0459
) Bugfix: Fix library exports — Export types fromMenuEvents
. - (Commit:
9f4e332
) Refactor: RemoveContextMenuButton.wrapNativeComponent
Prop. - (Commit:
9caf7d7
) Implement: ImplementContextMenuButtonContext
. - (Commit:
4d063f9
) Implement: ImplementuseMenuButtonContext
hook.
Release 1.5.0
- Bugfix: Fix memory leak
- (Commit:
6ddabae
) Partially fix memory leak by performing cleanup during reload + when the view is unmounted. - (Commit:
19533b2
) UseRNIWrapperView
for the menu preview. - (Commit:
c45c576
) Fix menu preview memory leak,
- (Commit:
-
(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
.
- Example #13 — Setting
- Refactor: Update to use
RNIImageItem
for the menu icons.- (Commit:
836f0a3
) Copy overRNIImageItem
impl. fromreact-native-ios-navigator
. - (Commit:
97fa40c
) Refactor to useRNIImageItem
for menu item icon. - (Commit:
e02d96e
) Copy overImageItemConfig
types fromreact-native-ios-navigator
. - (Commit:
e176438
) Update types for menu config to acceptImageItemConfig
.
- (Commit:
Release 1.4.0
- (Commit:
a0b008c
) Migrate project to use the new template generated bycreate-react-native-library
andreact-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: UpdateUIColor+Helpers.swift
to use the newer code inreact-native-ios-context-menu
. - (Commit:
59d4faf
) Refactor: MigrateExtension+Init
-related types to use failable initializers instead of static functions. - (Commit:
7bb8148
) Cleanup: UpdateMARK
comments in native code. - (Commit:
873b61a
) Cleanup: Cleanup swift types (e.g.NSString
->String
). - (Commit:
ebfa1cc
) Cleanup: RemoveRCTSwiftLog
+ usage. - (Commit:
3702dfc
) Refactor: ReplaceRCT
prefix withRNI
. - (Commit:
2102840
) Refactor: ExtractRNIContextMenuView
native component to its own separate file. - (Commit:
3fb4faa
) Refactor: ExtractRNIContextMenuButton
native component to its own separate file. - (Commit:
023f8e7
) Implement: Types — Add type declaration forMenuConfig
and related types. - (Commit:
6768b32
) Implement: Types — Add type declaration forMenuPreviewConfig
and related types. - (Commit:
01089f0
) Implement: Types — Add type declaration forIconConfig
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 — MigrateContextMenuView
component to use typescript and partially added type declarations. - (Commit:
348d2f9
) Implement: Types — Add type declaration forContextMenuView
events.
- (Commit:
Release 1.3.0
- ⚙️ Podfile: Set swift version to
5.3
(2a5e6ba)
Release 1.2.2
- 🛠 Updated
react-native.config.js
(d66a650)