oghref_model 3.6.0
oghref_model: ^3.6.0 copied to clipboard
Object standarized definition with parser interface for constructing rich information of given URL among various metadata protocols.
3.6.0 #
- Uses
fetchbased JS API to handle HTTP request in Flutter Web instead of default implementation fromhttppackages.
3.5.2 #
TwitterCardPropertyParser.legacyDomain's default value becomesfalseand marked as deprecated.- Depencendy constraint changes.
3.5.1 #
- Change Dart SDK constraint
3.5.0 (Retracted) #
- Migrate all imported from
dart:htmltopackage:web
3.4.0 #
- Add
MockOgHrefClient.advancefor building responding content with different content type applied. - Fix client does not closes after stream closed when calling
determineContentTypes()inIteratedUrlInfoContentTypeResolver. - Uses final variable assignment rather than a getter for
MockOgHrefClient.redirect. IteratedUrlInfoContentTypeResolveruses current instance ofMetaFetch's client to proceed data.
3.3.4 #
- Restrict
MockOgHrefClientaccepted requestingGETandHEADmethod.- Requesting other methods will get HTTP code 400 otherwise.
- Using cryptographically random generator if available instead of default one.
- Some client setting made from
MetaFetchwill be applied intoMockOgHrefClient.- However, some setting may not affect response content.
3.3.3 #
- Add validation to
MetaFetchthat property name prefix must not be an empty string and throwsArgumentErrorotherwise. - Add missing documentation back.
3.3.2 #
- More readability for client source codes.
3.3.1 #
- Remove
testinglibrary annotations.
3.3.0 #
- Create
testinglibrary for deploysMockOgHrefClientandMetaFetchTesterin testing environment.
3.2.1 #
- Fix
Client.close()does absolutely nothing issue.
3.2.0 #
- Uses
MockClientfor making request for test.- Since testes no longer using real networking for making request from resources,
test_resourcesdirectory is renamed tosamplethat all HTML files becomes as references of path. - The IP address uses for
MockClientis127.0.0.2
- Since testes no longer using real networking for making request from resources,
3.1.0 #
- Redesign
MetaFetchthat enabling further extensions internally. - Update documents.
3.0.1 #
- Fix
allowRedirectstill enabled eventhough disabled already. allowRedirectenabled by default again.
3.0.0 #
- New strucutre of instance definition
- The instance will be stored automatically by invoking instance getter directly.
buildMetaInfoandbuildAllMetaInfobecomes private scopes.
2.1.3 #
- Add
doNotStoreannotation toMetaPropertyParser. - Disguised user agent string can be get from
MetaFetch.userAgentString. - Provides topics
2.1.2 #
- Fix decode error if original String displayed normal already.
2.1.1 #
- Revert redirection disable as default
2.1.0 #
MetaFetch.allowRedirectis enabled by default- Added timeout options with
MetaFetch.timeoutandMetaFetch.changeTimeout(int seconds)for get and change preference. - Change
MetaFetch.changeUserAgentfrom nullable parameter to optional parameter. - Provide
MetaFetch.disguiseUserAgentfor making request using web browser provided user agent. MetaFetch.fetchFromHttp(Uri url)andMetaFetch.fetchAllFromHttp(Uri url)will thrown errors if applied.- All exceptions are export publicly in case of catching thrown objects by specific types.
2.0.5 #
- Move UTF-8 decode process during parsing property
2.0.4 #
- Response body will be decoded by UTF-8.
2.0.3 #
- Enforce every decoded content using UTF-8
2.0.2 #
- Fix Twitter Card absent in library issue
- Lint
2.0.1 #
- Downgrade
metaversion constraint that ensure it can be implemented with Flutter.
2.0.0 #
- Added
MetaFetch.fetchAllFromHttpfor fetching all existed protocol in HTML document. - Twitter Card property parser supported
- Dependencies updates
1.2.0 #
- Remove all assigners implementing with one of the model.
1.1.2 #
- Allow
MetaFetchfollow redirection (disabled by default). - Uses all lower case for getting response header.
1.1.1 #
- Annotate
MetaFetch.buildMetaInfofor testing only
1.1.0 #
- Allow specify primary prefix which will be resolved rather than following
<meta>sequences - Fix XHTML cannot be retrived issue
1.0.0 #
- Fix last assigned audio, video and image does not added into
MetaInfo - Test implemented
1.0.0-beta.2 #
- Use record pair contains property and content
- Fix incorrect initalize condition of audio section in Open Graph Protocol
- Still not fully tested
1.0.0-beta.1 #
- Release module, parser and fetch libraries
- Untested yet