Skip to content

Releases: BattlesnakeOfficial/exporter

1.2.20

13 Dec 16:00

Choose a tag to compare

  • Limit in-flight gif generation
  • Add robots.txt to block bot traffic

1.2.19

06 Dec 23:17

Choose a tag to compare

  • Remove immutable cache directive

1.2.18

06 Dec 21:44

Choose a tag to compare

  • Update cache headers on cacheable content

1.2.17

06 Dec 19:21

Choose a tag to compare

  • Configurable cache control max age
  • Add etag response header to cached requests

1.2.16

19 Mar 20:26
19e2b96

Choose a tag to compare

  • Run new release workflow

1.2.15

03 Feb 23:57
91f0ce0

Choose a tag to compare

DEV 2240: Serve individual customizations from exporter (#30)

  • add /customizations//.svg endpoint

  • fix for S3 returning 403 instead of 404

  • allow omitting hash from start of color value

1.2.14

12 Oct 21:35
5d78cec

Choose a tag to compare

DEV 1803: PNG endpoint for snake avatars (#29)

  • allow snake avatar endpoint to return PNG format

  • allow passing empty values to avatar endpoint

1.2.13

02 May 21:26
b30844d

Choose a tag to compare

upgrade to Go 1.18.1 (#28)

1.2.12

11 Apr 14:51
77c55da

Choose a tag to compare

allow avatar customizations to be uppercase for colors (#27)

1.2.11

10 Mar 20:53
093f9f6

Choose a tag to compare

DEV-974: support different GIF sizes (#26)

This PR updates the rendering to support any GIF size. Previously the GIF size was determined by the board size.

Now, GIF size parameters can be passed and the renderer will centre the board within the GIF. It will maximise the size of the board such that the board squares fill up as much of the width/height as they can without being clipped. This logic is able to handle non-square boards.

Three new API methods have been added:

  • GET /games/<GAME_ID>/<SIZE>.gif
  • GET /games/<GAME_ID>/frames/<FRAME>/SIZE>.gif
  • GET /games/<GAME_ID>/frames/<FRAME>.txt

Where <SIZE> is a path parameter expecting the format <WIDTH>x<HEIGHT>.