- Uses
fetch
API for web
- Migrate to
package:web
- Require Dart 3.3 or above
- Fix performing checksum before decompress cached colour data.
- Replace web caching storage library from
shared_preference
tosembast_web
for native Blob supported. - Apply trimmed
color.json
which removes unused fields. - Apply class extension scope.
- Drop Dart 2 support
- Mark some classes as immutable
- Improved source code directory layout
- Lints
- Dart 3 supported
- Uses
hashlib
to replacesha3
andhex
- If encounter hashing mismatch error, please clean cache and launch again.
- All deprecated API removed
- Update
color.json
getInstance
becomes deprecated and usesinitialize
instead.
- Fix document
GitHubColour
implemented withColorSwatch
andUnmodifiableMapBase
now.- Serval old API deprecated.
- Required Dart
2.17.0
with Flutter3.0.0
- (GitHub) Upload entire example project source code.
- Update last resort
color.json
toe358b0a
.
- Remove implement
Error
inGitHubColourThrowable
.
- Remove
external
inGitHubColourThrowable
.
- Change
GitHubColour
's default colour from#8f8f8f
to#f0f0f0
.
- Add generic throwable type
GitHubColourThrowable
- Exceptions arrangment.
- Exceptions arrangment.
- Remove unused package.
- Limit writing cache when the context is difference.
- Added SHA 3 checksum validation for cache file.
- (VM) New directory created with cache file and checksum.
- The origin cache file no longer be used.
- (Web) Store checksum in new local storage field.
- (VM) New directory created with cache file and checksum.
- Fix droppped web platform supported issue.
- Better documentation.
- Included
colors.json
for last resort if enabled offline as a last resort when create new instance ofGitHubColour
. - Allows get all data in
GitHubColour
toColorSwatch
. - Provides
Set
with all availabled languages name.
- Change
GitHubColours.find
's fallback method. - Add
GitHubColours.contains
for checking does this language is in the list.
- Expand description length, no additional function implemented in this version.
- Added caching support for backup option if making request failed.
- Initial release