Skip to content

Latest commit

 

History

History
77 lines (52 loc) · 3.17 KB

CHANGELOG.md

File metadata and controls

77 lines (52 loc) · 3.17 KB

3.2.0

  • Support for nullsafety-feature of Dart 2.12

3.1.0

  • Support for processing (init/generate/monitor) multi projects (the main project and its sub projects in one workspace)

  • Support for auto merging old asset specifications when specifying new assets

    This is can help you to auto keep the manually added asset specifications.

3.0.0

  • Support for processing non-implied resource file

    • non-implied resource file: the resource file which is outside of lib/ directory, for example:
      • ~/path/to/flutter_r_demo/assets/images/test.png
      • ~/path/to/flutter_r_demo/assets/images/3.0x/test.png
    • implied resource file: the resource file which is inside of lib/ directory, for example:
      • ~/path/to/flutter_r_demo/lib/assets/images/hot_foot_N.png
      • ~/path/to/flutter_r_demo/lib/assets/images/3.0x/hot_foot_N.png
  • New recommended flutter resource structure

2.0.0

  • New asset generation algorithm to support all kinds of standard or nonstandard image/text resource structure
  • New asset-id generation algorithm to support assets with the same filename but different path
  • New recommended flutter resource structure

1.1.0

  • Improve generate-capability to support nonstandard image resource structure
  • Add recommend-capability to display the recommended flutter resource structure

1.0.0

  • Support for processing font assets ( .ttf, .otf, .ttc)
  • Improve robustness

0.2.2

  • improve robustness
  • fix bug

0.2.1

  • optimize flr help command
  • fix bad info in flr.gemspec

0.2.0 - BREAKING CHANGES

  • modify the way the Flr configuration is stored: discard the flrfile.yaml file and write the configuration to the pubspec.yaml file
  • flr generate and flr monitor are combined into flr run [--auto]
  • generate r.g.dart instead of R.dart
  • new R class:
    • discards R_X code struct, and uses R.x code struct
    • unifies the access way of all types asset resources: using the asset resource ID function, such as R.image.test(), R.svg.test(width: 100, height: 100), R.text.test_json()
    • provides AssetResource class to acces the asset metadata, such as assetName, packageName, fileBasename
  • increase the range of legal character sets : 0-9, A-Z, a-z, _, +, -, ., ·, !, @, &, $,
  • colored terminal output

0.1.13

  • flr generate supports checking and outputtting assets with bad filename
  • fix bug

0.1.12

  • support auto service that automatically specify assets in pubspec.yaml and generate R.dart file, which can be triggered manually or by monitoring asset changes
  • support for processing image assets ( .png, .jpg, .jpeg, .gif, .webp, .icon, .bmp, .wbmp, .svg )
  • support for processing text assets ( .txt, .json, .yaml, .xml )
  • support for processing image asset variants
  • support for processing asset which’s filename is bad:
    • filename has illegal character (such as blank, ~, @, # ) which is outside the range of valid characters (0-9, A-Z, a-z, _, $)
    • filename begins with a number or character _ or character$