Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions javascript/sentry-conventions/src/op.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,22 +197,49 @@ export const UI_ACTION = 'ui.action';

export const UI_ACTION_CLICK = 'ui.action.click';

/**
* @deprecated Use {@link UI} (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.
*/
export const UI_REACT = 'ui.react';

/**
* @deprecated Use {@link UI_MOUNT} (ui.mount) instead - Framework-specific UI ops are replaced by framework-agnostic ones.
*/
export const UI_REACT_MOUNT = 'ui.react.mount';

/**
* @deprecated Use {@link UI_RENDER} (ui.render) instead - Framework-specific UI ops are replaced by framework-agnostic ones.
*/
export const UI_REACT_RENDER = 'ui.react.render';

/**
* @deprecated Use {@link UI_UPDATE} (ui.update) instead - Framework-specific UI ops are replaced by framework-agnostic ones.
*/
export const UI_REACT_UPDATE = 'ui.react.update';

/**
* @deprecated Use {@link UI} (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.
*/
export const UI_VUE = 'ui.vue';

/**
* @deprecated Use {@link UI} (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.
*/
export const UI_SVELTE = 'ui.svelte';

/**
* @deprecated Use {@link UI} (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.
*/
export const UI_ANGULAR = 'ui.angular';

/**
* @deprecated Use {@link UI} (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.
*/
export const UI_EMBER = 'ui.ember';

/**
* @deprecated Use {@link UI} (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.
*/
export const UI_LIVEWIRE = 'ui.livewire';

// Path: model/op/database.json
Expand Down Expand Up @@ -518,8 +545,14 @@ export const VIEW = 'view';

export const TEMPLATE = 'template';

/**
* @deprecated Use {@link FUNCTION} (function) instead - Framework-specific function ops are replaced by framework-agnostic ones.
*/
export const FUNCTION_REMIX = 'function.remix';

/**
* @deprecated Use {@link FUNCTION} (function) instead - Framework-specific function ops are replaced by framework-agnostic ones.
*/
export const FUNCTION_NEXTJS = 'function.nextjs';

export const CONSOLE = 'console';
54 changes: 45 additions & 9 deletions model/op/browser.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,31 +175,67 @@
"name": "ui.action.click"
},
{
"name": "ui.react"
"name": "ui.react",
"deprecation": {
"replacement": "ui",
"reason": "Framework-specific UI ops are replaced by framework-agnostic ones."
}
},
{
"name": "ui.react.mount"
"name": "ui.react.mount",
"deprecation": {
"replacement": "ui.mount",
"reason": "Framework-specific UI ops are replaced by framework-agnostic ones."
}
},
{
"name": "ui.react.render"
"name": "ui.react.render",
"deprecation": {
"replacement": "ui.render",
"reason": "Framework-specific UI ops are replaced by framework-agnostic ones."
}
},
{
"name": "ui.react.update"
"name": "ui.react.update",
"deprecation": {
"replacement": "ui.update",
"reason": "Framework-specific UI ops are replaced by framework-agnostic ones."
}
},
{
"name": "ui.vue"
"name": "ui.vue",
"deprecation": {
"replacement": "ui",
"reason": "Framework-specific UI ops are replaced by framework-agnostic ones."
}
},
{
"name": "ui.svelte"
"name": "ui.svelte",
"deprecation": {
"replacement": "ui",
"reason": "Framework-specific UI ops are replaced by framework-agnostic ones."
}
},
{
"name": "ui.angular"
"name": "ui.angular",
"deprecation": {
"replacement": "ui",
"reason": "Framework-specific UI ops are replaced by framework-agnostic ones."
}
},
{
"name": "ui.ember"
"name": "ui.ember",
"deprecation": {
"replacement": "ui",
"reason": "Framework-specific UI ops are replaced by framework-agnostic ones."
}
},
{
"name": "ui.livewire"
"name": "ui.livewire",
"deprecation": {
"replacement": "ui",
"reason": "Framework-specific UI ops are replaced by framework-agnostic ones."
}
}
]
}
16 changes: 12 additions & 4 deletions model/op/web_server.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,18 @@
"name": "function"
},
{
"name": "function.remix"
},
{
"name": "function.nextjs"
"name": "function.remix",
"deprecation": {
"replacement": "function",
"reason": "Framework-specific function ops are replaced by framework-agnostic ones."
}
},
{
"name": "function.nextjs",
"deprecation": {
"replacement": "function",
"reason": "Framework-specific function ops are replaced by framework-agnostic ones."
}
},
{
"name": "serialize"
Expand Down
11 changes: 11 additions & 0 deletions rust/src/op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,22 +129,31 @@ pub const UI_ACTION: &str = "ui.action";

pub const UI_ACTION_CLICK: &str = "ui.action.click";

#[deprecated(note = "Use `UI` (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.")]
pub const UI_REACT: &str = "ui.react";

#[deprecated(note = "Use `UI_MOUNT` (ui.mount) instead - Framework-specific UI ops are replaced by framework-agnostic ones.")]
pub const UI_REACT_MOUNT: &str = "ui.react.mount";

#[deprecated(note = "Use `UI_RENDER` (ui.render) instead - Framework-specific UI ops are replaced by framework-agnostic ones.")]
pub const UI_REACT_RENDER: &str = "ui.react.render";

#[deprecated(note = "Use `UI_UPDATE` (ui.update) instead - Framework-specific UI ops are replaced by framework-agnostic ones.")]
pub const UI_REACT_UPDATE: &str = "ui.react.update";

#[deprecated(note = "Use `UI` (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.")]
pub const UI_VUE: &str = "ui.vue";

#[deprecated(note = "Use `UI` (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.")]
pub const UI_SVELTE: &str = "ui.svelte";

#[deprecated(note = "Use `UI` (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.")]
pub const UI_ANGULAR: &str = "ui.angular";

#[deprecated(note = "Use `UI` (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.")]
pub const UI_EMBER: &str = "ui.ember";

#[deprecated(note = "Use `UI` (ui) instead - Framework-specific UI ops are replaced by framework-agnostic ones.")]
pub const UI_LIVEWIRE: &str = "ui.livewire";

// Path: model/op/database.json
Expand Down Expand Up @@ -357,8 +366,10 @@ pub const VIEW: &str = "view";

pub const TEMPLATE: &str = "template";

#[deprecated(note = "Use `FUNCTION` (function) instead - Framework-specific function ops are replaced by framework-agnostic ones.")]
pub const FUNCTION_REMIX: &str = "function.remix";

#[deprecated(note = "Use `FUNCTION` (function) instead - Framework-specific function ops are replaced by framework-agnostic ones.")]
pub const FUNCTION_NEXTJS: &str = "function.nextjs";

pub const CONSOLE: &str = "console";
Loading