Skip to content

fluent_gen 0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Jul 03:22

First release — typed Dart calls for fluent_bundle, generated from your .ftl files at build time.

  • What it does: reads your .ftl files during build_runner and generates a Dart class — call messages.welcome(name: ...) instead of a string id.
  • Type safety: a misspelled message name, a missing argument, or a String where a number belongs is a compile error. Argument types are worked out from how each variable is used — no annotations to write.
  • Also checks: during the build it warns about messages missing from a language, stray messages, and malformed .ftl.
  • Footprint: a dev-dependency only — nothing from it ships in your app.
Commits since initial (10)
  • 0a40860 release: v0.1.0
  • 0dea5d0 chore: promote dev to prod (#5)
  • f1a6022 docs(changelog): complete both genesis changelog lanes (#4)
  • fc9a44f docs: rewrite README and pubspec description in plain language, no jargon
  • c45c9ee chore: bump Flutter SDK (#3)
  • 0ba629d ci: bump dorny/paths-filter from 4.0.1 to 4.0.2 in the actions group across 1 directory (#2)
  • 007c65e ci: bump the whuppi-ci group across 1 directory with 8 updates (#1)
  • 4ddac85 ci: touch the four workflow stubs GitHub skipped registering on the initial push
  • b5eccd0 ci: nudge workflow indexing — GitHub registered six of ten stubs on the initial push
  • 46616ad feat: fluent_gen — build-time typed accessors for fluent_bundle: analyzer-checked message ids and inferred argument types

Install (git tag)

dependencies:
  fluent_gen:
    git:
      url: https://github.com/whuppi/fluent_gen.git
      ref: v0.1.0

Install (pub.dev)

dependencies:
  fluent_gen: ^0.1.0