1.13.1 (2024-07-02)
1.13.0 (2024-04-29)
1.12.8 (2024-03-11)
- create view not using the prefer_web config value (8b138fa)
1.12.7 (2024-03-11)
- disable Analytics (fb45126)
1.12.6 (2023-12-04)
- update GitHub workflow (7b2ea8a)
1.12.5 (2023-12-04)
- update GitHub workflow (f252612)
1.12.4 (2023-12-03)
- removes analytics opt-in request (6f252ed)
1.12.3 (2023-12-02)
1.12.2 (2023-12-01)
1.12.1 (2023-11-30)
1.12.0 (2023-10-26)
1.11.3 (2023-09-19)
1.11.2 (2023-09-12)
- update org option on create app command (699df52)
1.11.1 (2023-07-18)
1.11.0 (2023-07-18)
- avoid removing multiple dependencies when multiple classes match at the end of the name (#35) (4b0665a)
1.10.0 (2023-06-22)
- update default stacked configuration (#31) (2b2d3b1)
- update template argument description (#30) (f7fc75b)
- add
path
option to create Widget command (#25) (47a5623) - add more arguments to create app command (#27) (10cdefb)
1.9.0 (2023-06-01)
1.8.3 (2023-05-25)
1.8.2 (2023-05-23)
1.8.1 (2023-05-23)
1.8.0 (2023-05-23)
1.7.3 (2023-05-18)
- Bump environment constraints to <4 (286a76a)
1.7.2 (2023-05-12)
1.7.1 (2023-04-20)
1.7.0 (2023-04-20)
1.6.5 (2023-04-18)
1.6.4 (2023-04-18)
1.6.3 (2023-04-14)
- updates stacked_generator version to latest (6f720c0)
1.6.2 (2023-04-11)
1.6.1 (2023-04-10)
1.6.0 (2023-04-10)
1.5.2 (2023-03-29)
1.5.1 (2023-03-17)
1.5.0 (2023-03-17)
- Updates the app web template to use the new
RoutingService
- Updates web template to the latest versions of all packages
- Adds a
web
template tostacked 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
- Adds HoverExtensions fo the web template for easier hover effects
- Wraps
MaterialApp
withResponsiveApp
inmain.dart
for web template
- 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
- Avoids running pub command if has last version on the system
- Avoids notify new version available for compile and update commands
- Fixes create service bug introduced in 1.3.0
Adds template functionality to the create commands and adds a new --template=web template for creating a Web app with Stacked.
- Adds support for
version
custom dimension - Adds support for
name
custom dimension - Sends
stacked_cli
version custom dimension on every event
- Changes executableName to
stacked
- Refactors
_handleVersion
to use PubService - Updates
_handleFirstRun
for prettier notification - Shows notification when new version is available
- Updates create bottom_sheet command to make use of StackedApp annotation
- Updates create dialog command to make use of StackedApp annotation
- Updates packages
- 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
- Refactor ProcessService
- Improves version global option to be retrieved on the fly
- Fixes version global option
- 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
- Logs exception events to Google Analytics
- Adds create dialog command
- Improves shouldAppendTemplate function
- Executes
clean
function on create app command to- Deletes widget_test.dart file
- Removes unused imports
- Fixes support for relative router file path
- Adds create bottom_sheet command
- Improves templates
- Improves analytics responsiveness, no more delays on commands execution
- Updates example app
- Replaces
stacked_tools
strings withstacked_cli
- Updates the
HomeViewModel
template to userebuildUi
instead ofnotifyListeners
- Updates
StartupViewModel
to use type safe navigation when going to theHomeView
- Adds the new Update command
- Updates cli link in readme
- Sets
runInShell
true in an attempt to fix this issue
- Adds google analytics to see where to improve the app
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.
- Adds the new Generate command
- Adds Stacked route observer to app template
- Promotes the package to stable
- 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
- 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
- Removes the depdency override for stacked
- 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
- 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
v1
support 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
- 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
- Fixes the generated stacked config file
- 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
- Makes test_helpers_path replace the entire value with the new value provided
- Fixes hard check for test location
- Adds stacked config so you can use different paths for your file generation making it usable with all projects
- Fixes: Duplicate import in test_helper.dart file
- Adds stacked config so you can use different paths for your generating
- Updates Formatting to be only on specific files
- Adds line-length or -l option for formatting length default is 80
- Adds delete service command
- Updates dependencies
- 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 fromapp.dart
- you can now run
- Fixes wrong pubspec.yaml file selection on non-root commands
- Adds documentation link to basic docs
- Fixes bug that loads pubspec on project create
- Adds executable to the pubspec for global activation
- Fixes template bugs for app generate
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