full diff

pub.leaflet.blocks.imageGallery

leaflet.pub +3 −2
From
bafyreifadl2u2rx35obmpn22bklyiwpuietspz77avnmkgtqczzyfo3nou indexed 2026-07-26 20:07 UTC View this version
To
bafyreigbqysbbzjl5u4kgrctstakh7pqwo7drav5k6vcthahrvp2n6haku indexed 2026-10-08 20:03 UTC View this version

Compatibility

breaking 1 breaking change, 0 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "pub.leaflet.blocks.imageGallery.format", sort: "knownValues", old_value: "[\"grid\",\"carousel\",\"strip\"]", new_value: "[\"grid\",\"carousel\",\"strip\",\"masonry\"]" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "pub.leaflet.blocks.imageGallery.format", sort: "knownValues", old_value: "[\"grid\",\"carousel\",\"strip\"]", new_value: "[\"grid\",\"carousel\",\"strip\",\"masonry\"]" }

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 "image": {
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 "image": {
3030 "accept": [
3131 "image/*"
3232 ],
3333 "maxSize": 1000000,
3434 "type": "blob"
3535 }
3636 },
3737 "required": [
3838 "image",
3939 "aspectRatio"
4040 ],
4141 "type": "object"
4242 },
4343 "main": {
4444 "properties": {
4545 "format": {
4646 "knownValues": [
4747 "grid",
4848 "carousel",
49 "strip"
49 "strip",
50 "masonry"
5051 ],
5152 "type": "string"
5253 },
5354 "gap": {
5455 "description": "Gap between images in pixels.",
5556 "type": "integer"
5657 },
5758 "images": {
5859 "items": {
5960 "ref": "#image",
6061 "type": "ref"
6162 },
6263 "type": "array"
6364 },
6465 "maxWidth": {
65 "description": "Max width per image in grid view (px); drives how many columns fit.",
66 "description": "Max width per image in grid and masonry views (px); drives how many columns fit.",
6667 "type": "integer"
6768 }
6869 },
6970 "required": [
7071 "images"
7172 ],
7273 "type": "object"
7374 }
7475 },
7576 "id": "pub.leaflet.blocks.imageGallery",
7677 "lexicon": 1
7778}

Compare other versions