Skip to content

Latest commit

 

History

History
444 lines (287 loc) · 19.3 KB

CHANGELOG.md

File metadata and controls

444 lines (287 loc) · 19.3 KB

Changelog


Added

  • completion for bearer attribute for jwt block #128
  • completion for tls, server_certificate and client_certificate blocks and their attributes; completion for can() and url_decode() functions #136

Fixed

  • missing transition for unbeta permission features while using different Couper versions #126
    • added a deprecated-warning

Changed

  • Unbeta permission features: #121
    • beta_required_permission attribute for api and endpoint blocks,
    • beta_insufficient_permissions error_handler label,
    • beta_permissions_claim, beta_permissions_map, beta_permissions_map_file, beta_roles_claim, beta_roles_map and beta_roles_map_file attributes for jwt block.

Added

  • completion for beta_job block and its attributes #117
  • jump to proxy definition #118
  • completion for server_timing_header attribute in settings block #120

Fixed

  • formatting of more complex hcl files #119

Added

  • completion for OAuth2 client authentication methods client_secret_jwt and private_key_jwt #113
  • completion for JWT beta_roles_map_file and beta_permissions_map_file attributes #114
  • completion for SPA bootstrap_data and bootstrap_data_placeholder attributes #115

Added

  • trim() function #112

Fixed

  • wrong variable and function highlighting in comments and strings #109
  • endpoint path and boolean type checks #107

Added

  • completion for environment block, attribute and variable #92
  • completion for labeled spa blocks #98
  • completion for configuration_backend, jwks_uri_backend, token_backend and userinfo_backend attributes in oidc block #98
  • checks for invalid block labels #98
  • checks for invalid functions and variables #102
  • completion for beta_token_request block, backend, backends and beta_token_response variables #100
  • completion for new grant_types "password" and "urn:ietf:params:oauth:grant-type:jwt-bearer" and related attributes for oauth2 block #105
  • completion for beta_rate_limit #94
  • completion for reusable proxy blocks #106

Fixed

  • broken icons in tooltips on vscode.dev #101

Removed

  • completion for path attribute in error_handler block #98

Fixed

  • completion for variable properties #93
  • order of suggested attributes in completion #96

Fixed

  • type checking for json_body too strict #87

Added

  • mark misplaced blocks and attributes, missing or misplaced block labels and wrong attribute values as errors #83
  • Couper file icon #85
  • completion for beta_health #50
  • completion for backend, backend_timeout, backend_openapi_validation error types #78
  • completion for access-control and endpoint error types #80
  • completion for jwks_max_stale in jwt block #79
  • completion for jwks_ttl, jwks_max_stale, configuration_max_stale in oidc block #79
  • definition lookup for oidc, saml and beta_oauth2 access controls and for refined backend blocks #84
  • completion for use_when_unhealthy in backend block and the backend_unhealthy error type #86
  • files block completion with optional label #89

Changed

  • permission-related attributes/error types #75:
    • renamed beta_scope attribute to beta_required_permission
    • renamed beta_scope_claim and beta_scope_map attributes to beta_permissions_claim and beta_permissions_map
    • removed beta_operation_denied and beta_scope error types
    • renamed beta_insufficient_scope error type to beta_insufficient_permissions
  • definitions are looked up in all Couper files within the workspace #84
  • enhanced completion for accept_forwarded_url, log_format, request_id_format and secure_cookies attributes by providing valid options #88

Fixed

  • many highlighting issues #76
  • completion for labeled backend block #82

Removed

  • completion for path attribute in endpoint and proxy blocks #90

Added

  • Documentation tooltips #74

Added

  • backend_request and backend_response variables #64
  • contains(), join(), keys(), length(), lookup(), set_intersection(), to_number() functions #72
  • ca_file attribute to settings block #71

Added

  • Auto-indentation via Ctrl + Shift + F #69
  • log_level attribute for settings block #62
  • disable_private_caching attribute for jwt block #65
  • beta_scope_map attribute for jwt block #66
  • saml error type #63
  • allowed_methods attribute for api or endpoint blocks #68

Fixed

  • type of custom_log_fields #62
  • expression highlighting #67
  • Suggest both proxy and request blocks with and without label. #70

Fixed

  • Broken universal version
  • Go to definition sometimes jumped too short #61

Added

Added

  • custom_log_fields attribute in blocks: #54
    • api
    • backend
    • endpoint
    • error_handler
    • files
    • server
    • spa
    • access-control definitions: basic_auth, beta_oauth2, oidc, jwt, saml
  • expected_status attribute in proxy and request blocks #59
  • sequence and unexpected_status error types #59
  • completion for EC signing algorithms #56

Changed

  • Unbeta the oidc block and the oauth2_authorization_url() and oauth2_verifier() functions #57

2021-11-25

Added

  • functions:

Changed

  • functions:
    • coalesce() is renamed to default() #52

2021-11-25

Added

  • server and api block completion with optional label #49
  • functions:
    • relative_url() #48
  • Go to definition for access_control, disable_access_control and backend references #44
  • api block:
    • error_handler block #51
  • endpoint block:
    • error_handler block #51

2021-10-20

Added

  • api block:
    • beta_scope #41
  • endpoint block:
    • beta_scope #41
  • jwt block:
    • signing_key, signing_key_file, signing_ttl attributes #39
    • jwks_url, jwks_ttl attributes, backend block or reference #40
    • beta_scope_claim #41
    • beta_roles_claim, beta_roles_map #42, #46
    • token_value #45
  • jwt_signing_profile block:
    • headers map #43
  • settings block:
    • beta_metrics, beta_metrics_port, beta_service_name #47

2021-08-24

Added

  • beta_*:
    • beta_oauth2 & beta_oidc block #33
    • related functions: beta_oauth_authorization_url and beta_oauth_verifier
  • settings block: #34
    • accept_forwarded_url #30
    • https_dev_proxy
    • log_pretty
    • request_id_accept_from_header
    • request_id_backend_header
    • request_id_client_header
    • request_id_format
    • secure_cookies
  • defaults block:
    • environment_variables #28
  • websockets block and attribute #35
  • Variables:
    • couper.version #31
    • backend_requests.*.{body,json_body,origin,protocol,host,port} #32
    • request.{origin,protocol,host,port}
  • Missing blocks and attributes:
    • openapi block
    • disable attribute
    • path_prefix attribute
    • query_params attribute
    • retries attribute

Fixes

  • highlighting for quoted map keys #29
  • highlight comments after attributes #29
  • support for \" in strings, highlight escape sequences #29
  • indented heredoc highlighting #29

2021-06-21

Added

  • completion for set_response_status within backend, endpoint and error_handler blocks #27
  • support for form parameter: set_form_params, add_form_params, remove_form_params #23

Changed

  • response-headers modifier are available for: server, files, spa, api blocks #26

2021-05-20

Added

  • Add autocompletion for error-handling (#24)
  • Add more OAuth2 options: token_endpoint_auth_method and scope (#22)

Fixed

  • Fix function description type: rendered as markdown now
  • Fix form_body autocompletion type to object {} (#20)
  • Fix json_body autocompletion type to object {} (#20)

2021-04-08

Bug Fixes

  • Remove obsolete new line for block snippets
  • No string text snippets for attribute number types (#19)

Changes

  • Variable names related to couper specification changes (#18)

Features

  • json_body and form_body attributes #16
  • Suggestion for known const values (#19)
    • grant_type (oauth2)
    • signature_algorithm (jwt)

2021-03-25

Bug Fixes

  • Fix auto-space in assignment snippet

Changes

  • Schema update to reflect Couper 0.7 features #15

Features

  • Added functions with documentation

2020-12-21

Add

  • Add boolean attribute type; prevent string auto-completion

2020-12-21

Add

  • autocompletion for missing variable properties: path_params and common ones: ctx, cookies, headers
  • autocompletion for query_params and openapi

Change

  • set_request_headers and set_response_headers as replacement for request/response_headers

Fix

  • map assignment to hcl syntax highlighting
  • variable completion for attributes with string quote or function usage on left side
  • wrong autocomplete behaviour while typing a specific character

Pull Requests

  • Merge pull request #14 from coupergateway/fix-var-map-highlighting
  • Merge pull request #10 from coupergateway/add-missing-variables
  • Merge pull request #11 from coupergateway/add-openapi
  • Merge pull request #12 from coupergateway/vscode-ignore
  • Merge pull request #8 from coupergateway/query-params
  • Merge pull request #9 from coupergateway/set-headers

2020-11-02

Add

  • Add api/cors and disable_access_control attributes

Fix

  • Fix lacking support for hcl in general (variable types) (#5)
  • Fix language activation events and alias for couper / hcl

2020-10-29

Add

  • a quoted snippet for non block attributes
  • auto-completion for blocks, attributes and (parent)variables with type trigger
  • support for child variables/attributes
  • settings block

Evaluate

  • Evaluate scope position; variables are allowed for backend scope only

Fix

  • label block states which was added within wrong context
  • Allow backend in defaults block

Change

  • to the latest backend block attributes

Pull Requests

  • Merge pull request #1 from coupergateway/lang-conf-update
  • Merge pull request #3 from coupergateway/release-action
  • Merge pull request #2 from coupergateway/readme-update

v0.0.1

2020-10-26

Initial release

Add

  • Basic support for configuration block and attribute completion