Skip to content

Latest commit

 

History

History
171 lines (122 loc) · 7.19 KB

CHANGELOG.md

File metadata and controls

171 lines (122 loc) · 7.19 KB

Changelog

Please update the changelog as part of any significant pull request.

Unreleased

  • Update json-schema version, remove properties that are not used anymore. (#344)
  • Remove json-schema and documentation, add link to new location. (#345)

0.25.0

  • Added display_name as an allowed property on semconv attribute groups (#316)
  • BREAKING: Remove unused semantic convention types: UnitSemanticConvention, MetricGroupSemanticConvention and ScopeSemanticConvention (#309)

v0.24.0

  • BREAKING: Add stability (required) and deprecated (optional) properties to EnumMember (#267)
  • Change minimum support python version to 3.10 in setup.cfg and Dockerfile (#285)
  • BREAKING: Add dedicated column for stability to Markdown tables. (#278)
  • BREAKING: Make stability required (also: fix ref and extends, render badges on metrics). (#272)
  • BREAKING: Make stability and deprecation independent properties. (#244)
  • Add backward-compatibility check mode. (#271)
  • Add link to requirement levels definition from Markdown table title. (#222)
  • Added code-generation mode that groups attributes by the root namespace and ability to write each group into individual file. [BREAKING] The --file-per-group <pattern> that used to create multiple directories (like output/<pattern>/file) now generates multiple files (output/<pattern>file) instead. (#243)
  • Update semconvgen.yml workflow to run on feature/* branches. (#256)
  • Allow --output to be templatized when generating multiple files. (#263)
  • Add metrics to the context of non-scoped code generation (#270)
  • Add enum_attributes to the context, adds print_member_value helper (#266)
  • Sort attribute tables by requirement level and attribute name (#260)
  • Support suppressing all validation errors via flag that allows to parse previous versions of semantic conventions for backward compatibility checks and use code generation improvements on older semantic convention version. (#300)

v0.23.0

  • Rephrase and relax sampling-relevant description (#230)

v0.22.0

  • When an attribute is referenced using ref: from a group that already inherits the attribute with extends:, resolve the reference to the closest inherited attribute instead of the primary definition. This makes a difference in case the inherited reference overwrites any properties. (#204)
  • Sort attributes by name (#205)
  • Fix referencing template attributes (#206)

v0.21.0

  • Render template-type attributes from yaml files (#186)
  • Added omit_requirement_level option for markdown table rendering (#190)
  • Fix conditionally_required definition in semconv.schema.json (#201)

v0.20.0

  • Change default stability level to experimental (#189)

v0.19.0

  • Render notes on metric semconv tables (#177)

v0.18.0

  • Allow multiple semconv in --only flag (#157)

v0.17.0

  • Rename Optional attribute requirement level to Opt-In (#135)

v0.16.0

  • No changes.

v0.15.1

  • Move footnotes back together with the rendered table in Markdown (#131)

v0.15.0

  • Add a semantic convention type for Metrics ("metric" and "metric_group") (#79)
  • Add a semantic convention type for generic attribute group ("attribute_group") (#124).

v0.14.0

  • Add a semantic convention type for Instrumentation Scope ("scope") (#114).

v0.13.0

  • Allow customising whitespace control in Jinja templates (#101).
  • Clarify warning about convention group type & fix line number (#109).

v0.12.1

  • Apply requirement level and msg of referenced attribute by default (#102).

v0.12.0

  • BREAKING: Introduced attribute requirement levels (#92):
    • Schema: Attribute property required is removed and replaced by requirement_level, supported values are changed to required (previously always), conditionally_required (previously conditional), recommended, and optional.
    • Templates: opentelemetry.semconv.model.semantic_attribute.Required enum is replaced by RequirementLevel with supported values listed above, required_msg is renamed to requirement_level_msg

v0.8.0

  • Add name field for events. It defaults to the prefix (#67).
  • Better explanation for sampling_relevant attributes (#70).

v0.7.0

  • Support sampling_relevant attribute fields (#68).

v0.6.0

  • Enforce enum member IDs follow the same rules as other IDs (#64).
  • Improve some enum-related error messages to point to more precise locations (also #64).

v0.5.0

  • Add event semantic convention type & events span field (#57).

v0.4.0

  • Add stability fields. (#35)
  • Add Markdown render for code generation.

v0.3.1

  • Fix markdown generator for int enums. (#36)

v0.3.0

  • BREAKING CHANGE: Removed number and number[] attribute types in favor of int, int[], double and double[]. (#30)