full diff

pub.leaflet.blocks.image

leaflet.pub +4 −0
From
bafyreignfrqf3bw7a6xl7idfd5mtba62z7bbtpo2xevx6rzf2nvaglheaa indexed 2026-07-26 20:07 UTC View this version
To
bafyreiffvssed7oz7udzgz5z3my4vdfgyec4xeadty4cuo66mz64jxq4d4 indexed 2026-07-27 18:54 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.blocks.image.width" }
  • AddedEdge AddedEdge { src: "pub.leaflet.blocks.image", tgt: "pub.leaflet.blocks.image.width", kind: "prop", name: Some("width") }

Migration guidance

Added

  • AddedVertex { vertex_id: "pub.leaflet.blocks.image.width" }

Notes

  • Non-breaking: AddedEdge { src: "pub.leaflet.blocks.image", tgt: "pub.leaflet.blocks.image.width", kind: "prop", name: Some("width") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "aspectRatio": {
55 "properties": {
66 "height": {
77 "type": "integer"
88 },
99 "width": {
1010 "type": "integer"
1111 }
1212 },
1313 "required": [
1414 "width",
1515 "height"
1616 ],
1717 "type": "object"
1818 },
1919 "main": {
2020 "properties": {
2121 "alt": {
2222 "description": "Alt text description of the image, for accessibility.",
2323 "type": "string"
2424 },
2525 "aspectRatio": {
2626 "ref": "#aspectRatio",
2727 "type": "ref"
2828 },
2929 "fullBleed": {
3030 "description": "Whether the image should extend to the full width of the container, ignoring padding.",
3131 "type": "boolean"
3232 },
3333 "image": {
3434 "accept": [
3535 "image/*"
3636 ],
3737 "maxSize": 1000000,
3838 "type": "blob"
39 },
40 "width": {
41 "description": "Display width of the image in pixels, capped at the page width.",
42 "type": "integer"
3943 }
4044 },
4145 "required": [
4246 "image",
4347 "aspectRatio"
4448 ],
4549 "type": "object"
4650 }
4751 },
4852 "id": "pub.leaflet.blocks.image",
4953 "lexicon": 1
5054}

Compare other versions