All Versions
30
Latest Version
Avg Release Cycle
18 days
Latest Release
1436 days ago

Changelog History
Page 1

  • v0.49.2 Changes

    December 09, 2020
    • ๐Ÿ›  Fix identity accept encoding (#307)
  • v0.49.1 Changes

    December 08, 2020

    ๐Ÿ”„ Changelog

    • ๐Ÿ“œ Parse Accept-Encoding header, and set Content-Encoding correctly
    • Introduce env var for setting the deflate compression level
    • ๐Ÿ— Enable setting uncompressed paths in the service builder
  • v0.49.0 Changes

    November 30, 2020

    ๐Ÿš€ This release includes two major points.

    ๐Ÿ‘ The compression middleware, with support for the gzip and deflate compression schemes.
    0๏ธโƒฃ The compression middleware is enabled by default in Patron's HTTP component and client. Incoming responses will be automatically decompressed, and all you have to do to send out a gzipped request is add the appropriate Accept-Encoding header.

    ๐Ÿ“š The updated documentation hub.
    ๐Ÿ“š Our documentation is now available https://beatlabs.github.io/patron/
    It is hosted on GitHub Pages and generated using Markdown. There was a big effort in streamlining the existing docs, answering most common questions, structuring the examples; we hope this will help both onboard new engineers as quickly as possible and shed light on more obscure details. Your support is vital, so don't hesitate to file an issue or open a Pull Request for improvements and suggestions!

  • v0.48.0 Changes

    November 23, 2020
    • ๐Ÿ”„ change gRPC error log level (#299)
    • ๐Ÿ‘ SQS Parallel processing support (#275)
  • v0.47.0 Changes

    November 13, 2020

    59b25c7 (HEAD -> master, origin/master, origin/HEAD) Allow setting headers on Kafka messages (#294)
    84722bb Fix port conflict for http-cache and grpc examples (#290)
    453968e Rename examples for ease of browsing (#276)
    a615bdf Fix Patron CLI generated main.go file, use new way initializing logger (#288)
    โšก๏ธ 42d1517 Add new constructors to get http.Method specific RouterBuilders & Update examples to use the same (#289)

  • v0.46.1 Changes

    October 25, 2020
    • ๐Ÿ›  Fixing zero log sub logger (#286)
    • ๐Ÿ›  Fix examples failing due to breaking changes in localstack and locking the dependency images to latest available tags (#283)
  • v0.46.0 Changes

    October 23, 2020
    • ๐Ÿ”ฆ Expose logger interface to Patron Service (#259)

    As requested we exposed the logger interface to the Patron service so you can plug-in you own logger.
    ๐Ÿ— We have also introduced a textual logger based on the standard Go package logger which can be used when constructing the service builder.
    Example 3 shows hot to use the new text logger and show also the breaking change fix.
    Before we did setup the framework in this way:

    err := patron.SetupLogging(name, version)if err != nil { fmt.Printf("failed to set up logging: %v", err) os.Exit(1) }kafkaCmp, err := newKafkaComponent(name, kafkaBroker, kafkaTopic, kafkaGroup, amqpURL, amqpExchange)if err != nil { log.Fatalf("failed to create processor %v", err) }err = patron.New(name, version).WithComponents(kafkaCmp.cmp).Run(context.Background())if err != nil { log.Fatalf("failed to create and run service %v", err) }
    

    ๐Ÿ— Now we create the service builder with the constructor:

    service, err := patron.New(name, version, patron.TextLogger())if err != nil { fmt.Printf("failed to set up service: %v", err) os.Exit(1) }kafkaCmp, err := newKafkaComponent(name, kafkaBroker, kafkaTopic, kafkaGroup, amqpURL, amqpExchange)if err != nil { log.Fatalf("failed to create processor %v", err) }err = service.WithComponents(kafkaCmp.cmp).Run(context.Background())if err != nil { log.Fatalf("failed to create and run service %v", err) }
    

    0๏ธโƒฃ Keep in mind that if no logger is provided it will use the default structured logger:

    service, err := patron.New(name, version)if err != nil { fmt.Printf("failed to set up service: %v", err) os.Exit(1) }
    
    • ๐Ÿ”€ Sync goroutine assertion in component/http with caller test (#269)
    • ๐Ÿ“š Amend PR template documentation links (#268)
  • v0.45.0 Changes

    October 11, 2020
    • Implement Transport OptionFunc for HTTP TracedClient (#265)
    • Retrieve error causing consumer group to close (#262)
  • v0.44.0 Changes

    September 17, 2020

    ๐Ÿš€ This is a minor Patron release with no breaking changes from the previous one.

    ๐Ÿ”ง It introduces quality-of-life improvements when starting a Patron application or configuring HTTP components, allows parsing of multivalue headers, and provides fixes in logged fields and the patron-cli utility.

    Thanks to @cgkanatsios @astrikos @j0hnsmith @sgarcez for their contributions!

    ๐Ÿ”„ Changelog

    • โž• Add support for HTTP read/write timeouts as environment variables (#255)
    • โž• Add env to log messages (#253)
    • ๐Ÿ‘ Allow getting encoding from multivalue headers (#207)
    • ๐Ÿ›  Fix logger initialization in patron-cli (#258)
    • ๐Ÿ›  Fix kafka builder logging interpolation (#251)
    • ๐Ÿšง Test suite maintenance
  • v0.43.2 Changes

    August 18, 2020
    • ๐Ÿ›  Fix for deadlock on kafka component failure with NackExitStrategy (#249)