Skip to content

Releases: 42atomys/webhooked

0.4.1

10 Mar 18:42
a75af9b
Compare
Choose a tag to compare

New Repo URL

Use now atomys.codes/webhooked instead of github.com/42Atomys/webhooked or previous 42stellar.org/webhooks

What's Changed

  • chore(go/modules): Use atomys.codes repository manager by @42atomys in #43

Full Changelog: 0.4...0.4.1

0.4

09 Mar 14:17
7832be8
Compare
Choose a tag to compare
0.4

NEW : Security pipeline

Now you can code your security pipeline yourself directly on configuration file. Example below with github webhook security

- name: github
  entrypointUrl: /webhooks/github
  security:
  - generate_hmac_256:
      id: signature
      inputs:
      - name: payload
        value: '{{ .Inputs.payload }}'
      - name: secret
        valueFrom:
          envRef: GITHUB_WEBHOOK_SECRET 
  - header:
      id: headerSignature
      inputs:
      - name: headerName
        value: X-Hub-Signature-256
  - compare:
      inputs:
      - name: first
        value: '{{ .Outputs.headerSignature.value }}'
      - name: second
        value: 'sha256={{ .Outputs.signature.value }}'
  storage: []

All securities built-ins is available here : https://github.com/42Atomys/webhooked/wiki/Security

What's Changed

  • feat/storage rabbitmq by @rgaiffe in #40
  • feat(security/pipeline): Add Pipeline to add more possibilities to the security builder by @42atomys in #38

Full Changelog: 0.3...0.4

0.3

05 Mar 23:23
0a4f06b
Compare
Choose a tag to compare
0.3

NEW : Configuration data source

Configuration section can be now loaded via multiple sources at same time, with no breaking change is operated in v1alpha1 configuration file. The current configuration file still working but receive a lot of new possibility for end user and devs (for adding new storage or configuration fields).

Configuration example with environment variable data source

apiVersion: v1alpha1
specs:
- name: exampleHook
  entrypointUrl: /webhooks/example
  security:
  - getHeader:
      name: X-Hook-Secret
  - compareWithStaticValue:
      # Accept current configuration with in plain text value
      value: 'developmentKey'
      # Accept now a new field : valueFrom because compareWithStaticValue
      # is now a valuable.Valuable
      valueFrom:
        envRef: SECRET_TOKEN
  storage:
  - type: redis
    specs:
      host: redis
      port: 6379
      database: 0
      # Same example here, its possible to use plain text directly on root
      password: '123'
      # Or use the new valuable.Valuable object
      password:
        valueFrom:
          envRef: REDIS_PASSWORD
      key: example-webhook

What's Changed

Full Changelog: 0.2...0.3

0.2

04 Mar 19:26
a4dfb23
Compare
Choose a tag to compare
0.2

Notable changes

  • Add x-www-form-urlencoded support

What's Changed

  • feat: Add x-www-form-urlencoded support
  • test(storage): Add a -short version of test to bypass storage on local by @42atomys in #35
  • fix(tests): Use configuration example to run test suites by @42atomys in #35

Full Changelog: https://github.com/42Atomys/webhooked/commits/0.2

0.1

03 Mar 12:39
8bcb31b
Compare
Choose a tag to compare
0.1

What's Changed

  • Init go project with pipeline. by @rgaiffe in #2
  • actions: Add tests actions workflows with linters and coverage threshold by @42atomys in #4
  • Adding the Application Core by @42atomys in #7
  • feat: Add the api version for server by @42atomys in #17
  • feat: Catche Webhook entry with configuration by @42atomys in #18
  • feat: Add Security layer with a factory builder by @42atomys in #20
  • feat: Add storage management and few built-in storages by @rgaiffe in #19
  • docs(README): Add Alpha usage instruction by @42atomys in #24
  • docs(github): Add pull request template by @42atomys in #31
  • chore(storage): Place storage on respective package by @42atomys in #33

New Contributors

Full Changelog: https://github.com/42Atomys/webhooked/commits/0.1