Releases: likern/react-native-enhanced-popup-menu
0.7.0
Summary 0️⃣.7️⃣.0️⃣
BREAKING CHANGES
Default import was deleted. Now to import Menu instead of
import Menu from 'react-native-enhanced-popup-menu';
do
import { Menu } from 'react-native-enhanced-popup-menu';
Add support for React Native 0.62.x
Now both 0.61.x and 0.62.x are supported
TypeScript support
Project was rewritten using TypeScript programming language. Now all type declarations are automatically generated from TypeScript files and are always in sync.
License changed from MIT to Apache-2.0
Dependabot alerts were fixed
Packages with security issues reported by Dependabot were upgraded to versions with fixes.
Download
0.6.1
Summary 0️⃣.6️⃣.1️⃣
This is a fix release. Unfortunately, npm publish
starts corrupt publishing packages. It included .git/
directory in package with leads to fail on next npm install
. It's exclusively npm bug. Version 0️⃣.6️⃣.1️⃣ was successfully published to npm registry by yarn publish
without .git/
directory.
As a conclusion due to npm
is very fragile (as I've seen several older exact bugs about including .git/
) from now on I will publish package to npm registry only with yarn publish
. This should solve problem of suddenly broken package.
Note
Skip installing 0.6.0
version from npm registry as it contains .git/
directory and will fail installation of other packages.
Download
0.6.0
Summary 0️⃣.6️⃣.0️⃣
This is a completely 🆕 and rewritten release, comparing to original fork. The semantics of methods were changed, required button Menu property was removed and in general most code for Menu component was rewritten. It became much more flexible 👏 with dynamic positioning support 😍.
Changes
- Menu button prop was deleted
- show method requires ref parameter
- show method takes additional stickTo, extraOffset, computeOffset parameters
- documentation was updated to reflect code changes