diff --git a/CHANGELOG.md b/CHANGELOG.md index f431f10..7d2ed03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Latest release] +- support Riverpod v1.0.0 + +## [1.8.0] + - support since-build: 201 and until-build: 211.* - sync with intellij-platform-plugin-template v0.10.0 diff --git a/README.md b/README.md index 598b11a..7b170fa 100644 --- a/README.md +++ b/README.md @@ -29,18 +29,17 @@ IntelliJ based: since-build: 202 [learn more](https://www.jetbrains.org/intellij | Shortcut | Description | |----------|:-------------| -| consumer | Creates a Consumer widget to obtain a Provider of Riverpod. | -| changeNotifierProvider | Creates a ChangeNotifierProvider of Riverpod. | -| changeNotifierProviderFamily | Creates a ChangeNotifierProvider.family of Riverpod. | -| provider | Create a Provider of RiverPod. | -| providerFamily | Create a Provider.family of RiverPod. | -| futureProvider | Create a FutureProvider of Riverpod. | -| futureProviderFamily | Create a FutureProvider.family of Riverpod. | -| streamProvider | Create a StreamProvider of Riverpod. | -| streamProviderFamily | Create a StreamProvider.family of Riverpod. | -| scopedProvider | Create a ScopedProvider of Riverpod. | -| stateNotifier | Creates a StateNotifier of state_provider. | -| stateNotifierProvider | Creates a StateNotifierProvider of Riverpod. | -| stateNotifierProviderFamily | Creates a StateNotifierProvider.family of Riverpod. | -| stateProvider | Create a StateProvider of Riverpod. | -| stateProviderFamily | Create a StateProvider.family of Riverpod. | +| consumer | New Consumer | +| consumerWidget | New ConsumerWidget | +| hookConsumer | New HookConsumer (must import [hooks_riverpod](https://pub.dev/packages/hooks_riverpod)) | +| hookConsumerWidget | New HookConsumerWidget (must import [hooks_riverpod](https://pub.dev/packages/hooks_riverpod)) | +| changeNotifierProvider* | New ChangeNotifierProvider | +| provider* | New Provider | +| futureProvider* | New FutureProvider | +| streamProvider* | New StreamProvider | +| scopedProvider | New ScopedProvider | +| stateNotifier | New StateNotifier in [state_provider](https://pub.dev/packages/state_notifier) | +| stateNotifierProvider* | New StateNotifierProvider | +| stateProvider* | New StateProvider | + +( * ) is suffix modifier, ex: AutoDispose, AutoDisposeFamily \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 6c5cc73..6fd03da 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,8 +2,8 @@ # -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html pluginGroup=com.github.tbm98.flutterriverpodsnippets pluginName=flutter-riverpod-snippets -pluginVersion=1.8.0 -pluginSinceBuild=201 +pluginVersion=1.9.0 +pluginSinceBuild=202 pluginUntilBuild=211.* # Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl # See https://jb.gg/intellij-platform-builds-list for available build versions diff --git a/src/main/resources/liveTemplates/Flutter_riverpod_snippets.xml b/src/main/resources/liveTemplates/Flutter_riverpod_snippets.xml index fef18c4..143cbf5 100644 --- a/src/main/resources/liveTemplates/Flutter_riverpod_snippets.xml +++ b/src/main/resources/liveTemplates/Flutter_riverpod_snippets.xml @@ -1,13 +1,12 @@ - -