Skip to content

2.0.0

Compare
Choose a tag to compare
@thisisaaronland thisisaaronland released this 23 Mar 22:07
· 18 commits to main since this release
6a556c2

This release introduces major changes and is not backwards compatible*

  • Update to optionally use sfomuseum/go-http-rollup. CSS and JavaScript files are bundled and minified if enabled and if there are more than two files being served.
  • Add SFOMuseumOptions.RollupAssets flag to trigger use of go-http-rollup
  • Remove all *WithPrefix methods
  • Remove incline CSS/JS directives from inc_collection_navi and add SFOMuseumOptions.EnableCollectionNavi method
  • Add SFOMuseumOptions.Prefix option to indicate optional URI prefix for resources and assets
  • Add SFOMuseumOptions.Logger flag which is populated by default logger which writes to io.Discard
  • Replace INCLUDE_LEAFLET constant with ProtomapsOptions.AppendLeafletResources flag and ProtomapsOptions.AppendLeafletAssets flags
  • Update to use aaronland/go-http-leaflet v0.4.0