stacked_cli 1.6.0 copy "stacked_cli: ^1.6.0" to clipboard
stacked_cli: ^1.6.0 copied to clipboard

The official dev tools for the Stacked Framework

1.6.0 (2023-04-10) #

Features #

  • add Unknown view to Web template (#8) (d54c8e9)

1.5.2 (2023-03-29) #

Bug Fixes #

  • bad state error on no argument (#7) (3766e7f)

1.5.1 (2023-03-17) #

Bug Fixes #

1.5.0 (2023-03-17) #

Features #

  • Update web template routes and intro animation (#5) (d2968cb)

1.4.1 #

  • Updates the app web template to use the new RoutingService
  • Updates web template to the latest versions of all packages
  • Adds a web template to stacked create view Fixes #889
  • Adds priority for templates based on config. If prefer_web is true in your config then you don't have to pass --template=web when creating a view

1.4.0 #

  • Adds HoverExtensions fo the web template for easier hover effects
  • Wraps MaterialApp with ResponsiveApp in main.dart for web template

1.3.3 #

  • Fixes to avoid StateError when HOME environment variable not set. When this situation happens, XDG_CONFIG_HOME location is not taken into account to find stacked config

1.3.2 #

  • Avoids running pub command if has last version on the system
  • Avoids notify new version available for compile and update commands

1.3.1 #

  • Fixes create service bug introduced in 1.3.0

1.3.0 #

New Feature #

Adds template functionality to the create commands and adds a new --template=web template for creating a Web app with Stacked.

1.2.0 #

  • Adds support for version custom dimension
  • Adds support for name custom dimension
  • Sends stacked_cli version custom dimension on every event

1.1.12 #

  • Changes executableName to stacked
  • Refactors _handleVersion to use PubService
  • Updates _handleFirstRun for prettier notification
  • Shows notification when new version is available

1.1.11 #

  • Updates create bottom_sheet command to make use of StackedApp annotation
  • Updates create dialog command to make use of StackedApp annotation
  • Updates packages

1.1.10 #

  • Adds model flag option to create bottom_sheet command to use or not a model
  • Adds model flag option to create dialog command to use or not a model

1.1.9+1 #

  • Refactor ProcessService
  • Improves version global option to be retrieved on the fly

1.1.9 #

  • Fixes version global option

1.1.8 #

  • Adds global option to show stacked_cli version
  • Adds global option to enable sending of analytics data
  • Adds global option to disable sending of analytics data
  • Adds prompt for sending analytics at first run
  • Fixes unit tests
  • Fix: Delete service command removes correct dependencies and code

1.1.7 #

  • Logs exception events to Google Analytics

1.1.6 #

  • Adds create dialog command
  • Improves shouldAppendTemplate function
  • Executes clean function on create app command to
    • Deletes widget_test.dart file
    • Removes unused imports

1.1.5 #

  • Fixes support for relative router file path

1.1.4 #

  • Adds create bottom_sheet command
  • Improves templates
  • Improves analytics responsiveness, no more delays on commands execution
  • Updates example app

1.1.3+1 #

  • Replaces stacked_tools strings with stacked_cli

1.1.3 #

  • Updates the HomeViewModel template to use rebuildUi instead of notifyListeners
  • Updates StartupViewModel to use type safe navigation when going to the HomeView

1.1.2 #

  • Adds the new Update command

1.1.1+1 #

  • Updates cli link in readme
  • Sets runInShell true in an attempt to fix this issue

1.1.1 #

  • Adds google analytics to see where to improve the app

1.1.0 #

We had to update this package version to 1.1.0 because this package use to belong to a different developer. They released starting at 1.0.0. This is why we're suddenly jumping from 0.2.6 to 1.1.0.

0.2.6 #

  • Adds the new Generate command

0.2.5 #

  • Adds Stacked route observer to app template

0.2.4 #

  • Promotes the package to stable

0.2.4-beta.4 #

  • Removes lib and test folder from the default paths because there is no need to include them as they can't be changed
  • Changes getImportPath to sanitizePath, more appropriate method name
  • Removes path of app name, if any, to render template
  • Changes Stacked config filename to stacked.json
  • Changes ConfigService to support XDG_CONFIG_HOME
  • Moves again loadConfig to each command instead of bootstrap

0.2.4-beta.3 #

  • Updates the compiled templates since the template was changes
  • Updates viewModelBuilder on templates to use short hand function notation
  • Updates ViewModel instance name from model to viewModel
  • Updates StackedView template builder indentation

0.2.4-beta.2 #

  • Removes the depdency override for stacked

0.2.4-beta.1 #

  • Add lineLength to Config model
  • Update stacked config on templates
  • Use ConfigService for _formattingLineLength default value
  • Add line-length option support to create app command
  • Load configuration on bootstrap instead of each command
  • Fix replaceCustomPaths, now only process values which keys contains path word
  • Update example app

0.2.4-beta.0 #

  • Changes View template to use StackedView, aka ViewModelWidget, as default
  • Adds config option v1 to use alternative view builder style
  • Adds flag option v1 to use alternative view builder style, overrides config option
  • Adds v1support for create app command
  • Removes widget_test after on create app command
  • Uses relativeLocatorPath on every template
  • Fixes TestHelpers import on views and services tests
  • Improves getFilePathToHelpersAndMocks
  • Updates example app to align changes

0.2.3-beta.0 #

  • Fixes testHelpersPath default value
  • Adds test_helpers filename to service_test template
  • Changes default values on stacked config template
  • Loads config on create app command

0.2.2 #

  • Fixes the generated stacked config file

0.2.1 #

Additions #

  • Adds config option to set the name of the locator used to register mocks for testing
  • Adds config option to set the name of the function that registers all mocks for testing

Fixes #

  • Makes test_helpers_path replace the entire value with the new value provided
  • Fixes hard check for test location

0.2.0 #

Feature: Stacked config #

  • Adds stacked config so you can use different paths for your file generation making it usable with all projects

Bugs #

  • Fixes: Duplicate import in test_helper.dart file

0.2.0 #

  • Adds stacked config so you can use different paths for your generating

0.1.6 #

  • Updates Formatting to be only on specific files
  • Adds line-length or -l option for formatting length default is 80
  • Adds delete service command

0.1.5 #

  • Updates dependencies

0.1.4 #

  • Adds colorized outputs on command line
  • Runs build runner and pub get on view and service creation
  • Adds delete command for views
    • you can now run stacked delete view view_name to delete view_name view,viewmodel and tests also remove view from app.dart
  • Fixes wrong pubspec.yaml file selection on non-root commands

0.1.2+1 #

  • Adds documentation link to basic docs

0.1.2 #

  • Fixes bug that loads pubspec on project create

0.1.1 #

  • Adds executable to the pubspec for global activation
  • Fixes template bugs for app generate

0.1.0 #

Initial Release #

This version of the cli has 3 create commands:

  • stacked create app: This creates a brand new flutter project with all the stacked functionality setup
  • stacked create view: This creates a new view in the project and makes all required changes
  • stacked create service: This creates a new service in the project and makes all required changes