Skip to content

v0.7

Compare
Choose a tag to compare
@42atomys 42atomys released this 30 Jun 12:46
· 29 commits to main since this release
e2cbb72

Release v0.7 : 🐘Postgres Formatting Unleashed!

Get ready to revolutionize your Postgres storage experience with our latest update! We are thrilled to introduce a groundbreaking feature that will supercharge your query capabilities. Say hello to Postgres Formatting!

With this cutting-edge functionality, you now have the power to execute any request imaginable. No more limitations or constraints holding you back! Whether you're a data enthusiast, a database guru, or a developer seeking ultimate flexibility, this update is designed to meet your needs.

But that's not all - we've taken things to the next level by introducing named arguments in custom requests. Imagine the possibilities! With this new feature, crafting queries becomes a breeze, allowing you to express your intent clearly and concisely.

Don't wait any longer. Embrace the future of Postgres storage and unlock a world of possibilities with our latest update. Upgrade now and experience the magic of Postgres Formatting!

Configuration exemple :

  storage:
  - type: postgres
    specs:
      databaseUrl: 'postgresql://postgres:postgres@postgres:5432/postgres'
      useFormattingToPerformQuery: true
      query: INSERT INTO webhooks (payload, delivery_id) VALUES (:payload, :delivery_id)
      args:
        payload: '{{ .Payload }}'
        delivery_id: "{{ .Request.Header | getHeader "X-Delivery" | default "unknown" }}"

⚠️ DEPRECATION NOTICE: Starting from version 1.0, the previous method of using table_name and field_name for formatting will no longer be supported due to the introduction of a new formatting feature.

🚀 Features

  • Add devcontainer: Added devcontainer for the project. @42atomys
  • Add new templating functions: Added new templating functions with integration tests. @42atomys
  • Formatting feature for PostgreSQL query: Implemented a formatting feature for PostgreSQL queries. @42atomys

🐛 Bug Fixes

  • RabbitMQ reconnection: Fixed an issue where RabbitMQ would not reconnect if the channel is closed. @42atomys

Full Changelog: View on GitHub