github prest/prest v1.0.13

latest releases: v1.5.2, v1.5.1, v1.5.0...
2 years ago

Version 1.0.13 was composed of new feature 🎉, library update discontinued ⚠️, and constant evolution in the documentation (we are far from having good documentation, but with a lot of work we will get there).

  • new-feature/cache system: reduce database request when the http method is get, with possibility to activate for specific URIs
  • updating the discontinued JWT library with one that is maintained by @square (as a company built on open source, here are some of the internally-developed libraries we have contributed back to the community)

Bugs

see all actions taken in this release

Changelog

  • db8f849 "embeded" is a misspelling of "embedded"
  • af99710 Bump github.com/spf13/cobra from 1.2.1 to 1.3.0
  • 4aabce8 Bump github.com/spf13/viper from 1.10.0 to 1.10.1
  • 4acfa4d Bump github.com/spf13/viper from 1.9.0 to 1.10.0
  • 13ce60d Bump github.com/tidwall/buntdb from 1.2.8 to 1.2.9
  • 41d841e Upgrading from v1.x → v2.0 ref: #635
  • fa3166b [misspell] middlewares/middlewares.go#L119 "validade" is a misspelling of "validated"
  • 0ec6069 active cache on compose
  • 3e0e44a add Opps CMS prest queries
  • bc0b483 add cache middleware on initApp
  • b7ff984 add cache middleware on router
  • 703025b add config struct to cache by endpoint
  • 428790b build documentation push to main branch
  • 266b167 cache: create config vars
  • 02935ec cache: doc config vars
  • 2b17719 caching middleware logic
  • 7e2afd7 caching support to buntdb
  • 35d1344 call cache rules on middleware
  • 49e5d5c change cache system activation default used var enabled
  • 9a8899b change name prest to prestd on root cmd
  • f5cfb29 consider calling this EndpointRules ref: #652 (review) thanks @sourcelevel-bot @sourcelevel
  • 51b0827 doc/cache: better formatting
  • 862f1e6 doc/deploy: docker compose example
  • a0cbf29 doc/deploy: docker compose example
  • 0b8a805 doc/docker-compose: remove quote ''
  • 16448ef doc/docker-compose: remove quote ''
  • afe18fa doc: keep correct paging parameter fixed: #648
  • 32c817f doc: use duble quote on shortcute hugo
  • 695eee3 dynamic ttl on set cache
  • 9363205 exported type Cache should have comment
  • a06ec40 fixed PG TestDisableCache
  • e681d09 fixed log jwt check error
  • cc975f7 func check cache by endpoint
  • cf0386e generate new version 1.0.13
  • f3ba637 git checkout before goreleaser run
  • 3bc09b5 improve test coverage writing more "real" test cases
  • ad77ef3 page dedicated to the caching system brief description of how the prestd caching system works
  • 277a405 remove cache test file "cache/test"
  • d855ece rename prestconf enablecache to pgcache this variable is used to cache sql queries, not query results
  • e359abc set cache on controller if active
  • f192a3f set header Cache-Server on get
  • 705de5b small fix cache db path replace string concatenation with filepath feature
  • d486e8e small format index doc
  • 45a903c upgrade go-jwt-middleware/v2
  • 4b7b295 using the square/go-jose.v2/jwt library aiming for simplicity in the jwt module, implementing the auth0 library was more work than expected the purpose of this issue is simple: replace the jwt library with a library that is maintained
  • 12fb0a1 wirte buntdb cache test
  • 4b0da39 write recommendation

Don't miss a new prest release

NewReleases is sending notifications on new releases.