firebase_rules 0.2.1
firebase_rules: ^0.2.1 copied to clipboard
A type-safe Firebase rules generator for Firestore, Storage, and Realtime Database
0.2.1 #
- Fixes analysis issues
0.2.0 #
- BREAKING: Functions are now part of the annotation instead of Matches
- Adds documentation to support the new
firebase_rules_linter
0.1.3+1 #
- Fix example typo
0.1.3 #
- Documentation updates for generator changes
0.1.2 #
- Adds extension on
Objectto allow converting anyObjectto aRulesMap<String, dynamic> - The
RulesSetmethodshasAll,hasAny,hasOnlynow accept either aRulesSetorRulesList
0.1.1 #
- Adds extension to
DateTimeto allow access toRulesTimestampmethods
0.1.0+1 #
- Documentation updates
0.1.0 #
- Renames
FirestorePathtoFirestoreRootandStoragePathtoStorageRoot RuleDataSnapshot.val()is nowRuleDataSnapshot.val<T>()to allow for type-safety- Adds a
customClaim<T>()method toRulesTokento allow access to custom claims - Functions are now declared on
Matchstatements instead of the annotation firestore.get<T>()andfirestore.getAfter<T>()now properly return aFirestoreResource<T>- The conversion to rules types is now
.rules()instead of.rulesto allow for casting iterables and maps - Enum conversion maps can now be passed into the
FirebaseRulesannotation - Paths are now just a string parameter on a match. Wildcards are all strings anyways, and this is more flexible.
- Adds a globally accessible
requestobject if type-safe access to the resource is not required rules.raw()is nowrules.raw<T>()to allow for returning any type
0.0.1+2 #
- Readme fixes
0.0.1+1 #
- Readme fixes
0.0.1 #
- Initial release
0.0.0 #
- Early bird special