All Versions
Latest Version
Avg Release Cycle
88 days
Latest Release

Changelog History
Page 2

  • v2.2.0 Changes

    May 14, 2018
    • ๐Ÿ‘ [NEW] #103 Add RFC3339Timestamps flag to set date_format on every API request. If this flag is set, all date value returned by facebook will be encoded with a format supported by json.Unmarshal. Thanks, @robbiet480.
    • โœ… [NEW] #105 Added ability to override Session base URL. It's designed for unit testing. All session requests can be redirected to a test server by setting Session#BaseURL to a test URL. Thanks, @vania-pooh.
  • v2.1.2 Changes

    December 28, 2017
    • [FIX] #87 Fix a crash in Session#addUsageInfo. Thanks, @flemeur.
  • v2.1.1 Changes

    • ๐Ÿ“œ [NEW] #86 Parse X-App-Usage and X-Page-Usage in response header and store the usage information in Result. Use Result#UsageInfo() to read it. Thanks, @robbiet480.
  • v2.1.0 Changes

    • [NEW] #81 Compatible with the struct field's tag used by json.Unmarshal. The "json" key works as expected now. If both the "facebook" key and the "json" key exist, use "facebook".
  • v2.0.0 Changes

    • ๐Ÿ‘ [NEW] #80 #71 All Session API, which sends requests to Facebook, support Context now. Thanks, @sebnow for your thoughts and reminder.
    • [NEW] #79 Add some number types which can be decoded from a string implicitly.
    • ๐Ÿšš [NEW] #78 #57 Deprecate FQL and remove all related code.
    • [FIX] #73 Fix regular expression for video post. Thanks, @acochrane.
    • [FIX] #62 Use base64.RawURLEncoding to decode signed request data. Thanks,@zonr.
    • โœ… [FIX] Fix some typos in README and test cases. Thank @nick3399, @J-P-77, @smasher164, @enm10k and many others.
    • [FIX] Clean up code for readability.
  • v1.8.1 Changes

    • [FIX] #60 Handle string errors in Decode(). Thanks, @sebnow.
  • v1.8.0 Changes

    • [FIX] #59 Guess content type for binary params by filename extension or an arbitrary value. Thanks, @panki.
  • v1.7.1 Changes

    • ๐ŸŽ [FIX] Fix a tiny bug which slightly affects performance when decoding anonymous field.
  • v1.7.0 Changes

    • [NEW] #50 Result can decode embedded struct field now.
    • ๐ŸŽ [NEW] Add a new field tag facebook:"-" to omit the field when decoding. It can improve decoding performance slightly.
  • v1.6.0 Changes

    • ๐Ÿ‘ [NEW] #42 Support custom JSON unmarshaling and json.Unmarshaler interface in decoding.