Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearrange DOM to fix widget events in all environments #8893

Open
wants to merge 109 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
74acd80
bump dependencies to production release
Pessimistress Mar 21, 2024
fcb5ccf
v9.0.0
felixpalmer Mar 21, 2024
67390c4
fix(core): base map creation error in DeckGL scripting interface (#8691)
Pessimistress Mar 21, 2024
e1ef9a3
v9.0.1
Pessimistress Mar 21, 2024
bf217cf
chore: reenable all core tests (#8693)
Pessimistress Mar 22, 2024
0f8c267
chore(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /webs…
dependabot[bot] Mar 23, 2024
292bc21
Disable excessive console warnings (#8696)
Pessimistress Mar 25, 2024
b3bc8d8
fix(aggregation-layers): Fix missing types export (#8713)
donmccurdy Mar 27, 2024
f5e8d09
website: whats-new v9 updates (#8658)
felixpalmer Mar 27, 2024
b8693f2
Doc Typos (#8714)
chrisgervang Mar 27, 2024
b8b0256
Do not clear when rendering to target in PostProcessEffect (#8705)
felixpalmer Mar 27, 2024
d58b7a0
fix(carto): Clean up and add unit tests for requestWithParameters cac…
donmccurdy Mar 27, 2024
e38a882
add(docs) widgets table of contents (#8715)
chrisgervang Mar 27, 2024
1ee55bf
Fix slack workspace link in docs (#8716)
kylebarron Mar 28, 2024
45c606d
feat(carto): Support .tileSize prop in H3Tileset2D (#8687)
donmccurdy Mar 28, 2024
508d2d6
docs: Reorganize whats new (#8724)
ibgreen Mar 29, 2024
4f17a7e
v9.0.2
Pessimistress Mar 29, 2024
0d93be1
Bump luma.gl to 9.0.8 (#8719)
Pessimistress Mar 29, 2024
1485a19
v9.0.3
Pessimistress Mar 29, 2024
1961277
Update get-started and developer-guide (#8717)
Pessimistress Mar 29, 2024
09d5fa9
fix(core): Type props.parameters (#8732)
Pessimistress Mar 31, 2024
e398753
chore(docs): layer documentation pass (#8729)
Pessimistress Apr 1, 2024
7d079fb
fix (TypeScript): add missing exports for effects types (#8728)
davidcalhoun Apr 1, 2024
61b8ada
chore(docs): Add BitmapLayer import (#8743)
chrisgervang Apr 2, 2024
345b606
fix(build): inlined version off by 1 (#8741)
Pessimistress Apr 2, 2024
e4cae4e
Update google maps examples (#8740)
Pessimistress Apr 2, 2024
09154c5
Update version tag in docs homepage (#8723)
kylebarron Apr 2, 2024
676c7ed
Export BufferTransform from luma.gl (#8726)
zakjan Apr 2, 2024
0954a32
[Docs] Missing details in CARTO module upgrade guide (#8737)
srtena Apr 2, 2024
c4eb56e
chore(docs): Update what's new highlight images (#8733)
Pessimistress Apr 2, 2024
8829144
add generic data types in GetPickingInfoParams (#8709)
j8seangel Apr 2, 2024
c903a8e
Fix picking bugs (#8730)
Pessimistress Apr 2, 2024
4f73dc3
v9.0.4
Pessimistress Apr 2, 2024
33465c4
Bump example dependencies to 9.0
Pessimistress Apr 2, 2024
2f2875f
Update base map developer guide (#8739)
Pessimistress Apr 2, 2024
1cd0da9
fix(arcgis): remove dependency on @luma.gl/webgl (#8747)
Pessimistress Apr 4, 2024
919459b
Migrate website examples to TypeScript (#8646)
Pessimistress Apr 4, 2024
3505a08
chore: fix website build (#8753)
Pessimistress Apr 4, 2024
c3255c7
fix(mesh-layers): ScenegraphLayer picking (#8752)
Pessimistress Apr 4, 2024
3b7dc3a
v9.0.5
Pessimistress Apr 4, 2024
8a9fc75
feat(core): export useful types (#8762)
Pessimistress Apr 6, 2024
c38da26
Improve view types (#8763)
Pessimistress Apr 6, 2024
254a4b9
chore: fix lint warnings (#8764)
Pessimistress Apr 6, 2024
80ac105
chore: Migrate examples to TypeScript (#8759)
Pessimistress Apr 7, 2024
654b1e7
Fix React component
Pessimistress Apr 7, 2024
eaac806
chore: lint examples directory (#8765)
Pessimistress Apr 7, 2024
4dcb412
Update widget.md (#8767)
Pessimistress Apr 7, 2024
53954b0
chore(deps): bump vite from 4.5.1 to 4.5.3 (#8750)
dependabot[bot] Apr 7, 2024
0b25ab9
chore(deps): bump express from 4.18.2 to 4.19.2 in /website (#8718)
dependabot[bot] Apr 7, 2024
e3beba8
chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 in /website …
dependabot[bot] Apr 7, 2024
8a3dff9
fix(extensions): picking over draped terrain (#8761)
Pessimistress Apr 7, 2024
fdbf68b
v9.0.6
Pessimistress Apr 7, 2024
4ace1b8
chore(react,test-utils): Remove unused 'typed' entry from package.jso…
donmccurdy Apr 8, 2024
64e4844
Only add necessary attributes in DataFilterExtension (#8769)
felixpalmer Apr 9, 2024
bc26a20
fix(core): Deck.finalize removes externally created canvas (#8773)
Pessimistress Apr 10, 2024
b075f62
Bump to [email protected] (#8771)
ibgreen Apr 10, 2024
b49fa6e
Update screen-grid-layer.md (#8785)
emalihin Apr 12, 2024
669fbb4
CARTO: added the deckGl version to the map instantiation request (#8783)
padawannn Apr 11, 2024
4cc921a
v9.0.7
Pessimistress Apr 12, 2024
6eb6fab
CARTO: Improve H3Tileset2D.getTileIndices() by adding buffer (#8781)
felixpalmer Apr 12, 2024
bca774e
v9.0.8
felixpalmer Apr 15, 2024
2dd97aa
fix(core): drawing layers with instance count 0 (#8788)
Pessimistress Apr 16, 2024
017a217
docs: should use MapboxOverlay instead of DeckOverlay (#8794)
moong23 Apr 16, 2024
9984222
fix(main): Add missing peerDependencies (#8805)
Pessimistress Apr 17, 2024
4e5035b
fix(extensions): DataFilterExtension handling of filterSoftRange (#8800)
Pessimistress Apr 18, 2024
90a81ce
fix(geo-layers): TileLayer default autoHighlight (#8798)
Pessimistress Apr 18, 2024
ac5827d
v9.0.9
Pessimistress Apr 18, 2024
5575012
chore(docs): Formatting and deck.gl-community link (#8792)
ibgreen Apr 19, 2024
8fb38c1
Support fp64 in GPUInterpolationTransition (#8807)
Pessimistress Apr 19, 2024
7597e29
chore(pydeck): Require Python 3.8+ (#8811)
donmccurdy Apr 22, 2024
4e4dc56
fix(carto): Restore global required by pydeck-carto (#8799)
donmccurdy Apr 23, 2024
d97e0c6
v9.0.10
donmccurdy Apr 23, 2024
cc9b0f2
fix(docs): Fix link to example config file (#8812)
donmccurdy Apr 24, 2024
21a7473
Update heatmap-layer.md (#8826)
RELNO Apr 24, 2024
045d090
fix(docs): aggregation layer imports (#8827)
Pessimistress Apr 24, 2024
20a7388
Publish NPM packages from CI (#8828)
Pessimistress Apr 24, 2024
9f9e992
fix(docs) Update docs (#8823)
iamenrique Apr 25, 2024
65adccc
chore: release CI fixes (#8831)
Pessimistress Apr 25, 2024
677f096
chore: update CI workflows (#8837)
Pessimistress Apr 26, 2024
d5221ad
fix(types): add export for GeohashLayerProps (#8836)
4very Apr 26, 2024
0cedafd
chore(docs): removal of duplicated flags (#8839)
moong23 Apr 26, 2024
bdfc545
chore(deps): bump ip from 1.1.8 to 1.1.9 (#8829)
dependabot[bot] Apr 26, 2024
2e44bd6
fix(layers): work around Samsung shader compilation failure (#8843)
Pessimistress Apr 26, 2024
47324e3
fix(core): explicitly set clearStencil in LayersPass (#8844)
Pessimistress Apr 26, 2024
3bde349
Export luma functions (#8822)
chrisgervang Apr 26, 2024
7c5d704
v9.0.11
Pessimistress Apr 26, 2024
0f342da
v9.0.11
Pessimistress Apr 26, 2024
7309af2
CARTO: Implement QuadbinHeatmapTileLayer (#8703)
felixpalmer Apr 29, 2024
8c7a67a
v9.0.12
felixpalmer Apr 29, 2024
ad7aab7
fix(pydeck): Pin 'jupyterlab' dependency to v3.x (#8756)
donmccurdy Apr 5, 2024
f7bdc35
fix(pydeck): Fix pydeck tooltip serialization (#8780)
donmccurdy Apr 10, 2024
c3cd79a
feat(pydeck): Support Deck v9 in bindings (#8577)
Jesus89 Apr 26, 2024
45570fc
docs(pydeck,pydeck-carto): Add documentation for pydeck v0.9 (#8853)
donmccurdy Apr 29, 2024
c985af9
chore(pydeck): Disable broken Jupyter bindings in v0.9 (#8854)
donmccurdy Apr 29, 2024
d69a895
pydeck v0.9.0, pydeck-carto v0.2.0
donmccurdy Apr 29, 2024
6306bcc
Set per-pass uniforms when postprocessing (#8801)
felixpalmer Apr 29, 2024
db69191
Remove webgl1 tests (#8852)
ibgreen Apr 30, 2024
640ddb4
docs(carto): Clean up CARTO fetchMap example (#8857)
donmccurdy Apr 30, 2024
50449a5
fix(widgets): export @deck.gl/widgets/stylesheet.css (#8863)
atmorling May 2, 2024
01d0503
feat(core): Explicitly set stepMode in Attribute layout (#8858)
Pessimistress May 6, 2024
f0b67a6
Update using-with-maplibre.md (#8868)
gcor May 6, 2024
d7b0978
Add maplibre to landing (#8861)
birkskyum May 6, 2024
39b76f3
v9.0.13
Pessimistress May 6, 2024
e55da95
fix(carto): Fix broken encoding in POST requests (#8865)
donmccurdy May 6, 2024
c04824b
v9.0.14
felixpalmer May 6, 2024
39ab4fb
release(pydeck): Publish pydeck v0.9.1
donmccurdy May 10, 2024
463787f
core and react: rearrange dom to deconflict events
chrisgervang May 14, 2024
e01d52b
create widget root in react
chrisgervang May 19, 2024
8961626
use className since there may be many deck instances
chrisgervang May 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ dist.js
mapbox-gl.js
.cache
.docusaurus
examples/
examples/layer-browser/
test/apps/
bindings/
51 changes: 40 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,64 @@ on:
tags:
- v*

permissions:
contents: read

jobs:
release-notes:
check_branch:
runs-on: ubuntu-latest
outputs:
should_build: ${{ steps.permitted.outputs.result }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

if: github.repository_owner == 'visgl'
- name: Fetch remote branches
run: |
git fetch origin --depth=1

- name: Check if on permitted branch
id: permitted
run: |
result=
branchName=$(git branch -a --contains $GITHUB_SHA | grep 'remotes/origin/' || echo "")
if [[ $branchName == *"master" || $branchName == *"-release" ]]; then
result=true
fi
echo "result=${result}" >> "$GITHUB_OUTPUT"

release:
runs-on: ubuntu-latest
needs: check_branch
permissions:
contents: write

if: ${{ github.repository_owner == 'visgl' && needs.check_branch.outputs.should_build }}

env:
ADMIN_TOKEN: ${{ secrets.ADMIN_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Get git tags (https://github.com/actions/checkout/issues/206)
run: git fetch --tags -f

- name: Use Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: '18.x'

- name: Publish release
- name: Create GitHub release entry
run: |
body=$(node scripts/github-release.js) &&
curl \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/visgl/deck.gl/releases \
-d "${body}" \
-H "Authorization: token ${ADMIN_TOKEN}"
-H "Authorization: token ${GITHUB_TOKEN}"

- name: Login to NPM
run: npm config set "//registry.npmjs.org/:_authToken=${NPM_ACCESS_TOKEN}"

- name: Install dependencies
run: yarn

- name: Publish to NPM
run: npx ocular-publish from-git
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@ jobs:
node-version: '18.x'

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y mesa-utils xvfb libgl1-mesa-dri libglapi-mesa libosmesa6 libxi-dev
yarn bootstrap
run: yarn bootstrap

- name: Run tests
run: |
xvfb-run -s "-ac -screen 0 1280x1024x16" yarn test-ci
run: yarn test-ci

- name: Coveralls
uses: coverallsapp/github-action@09b709cf6a16e30b0808ba050c7a6e8a5ef13f8d # v1.2.5
Expand Down
47 changes: 23 additions & 24 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,51 @@ on:
branches:
- '*-release'

permissions:
contents: read

jobs:
publish-website:
check_branch:
runs-on: ubuntu-latest
outputs:
should_deploy: ${{ endsWith(github.ref, steps.get_version.outputs.latest) }}

steps:
- name: Get version
id: get_version
run: |
LATEST=$(npm show deck.gl@latest version | grep -o -E "^[0-9]+\.[0-9]+")
echo "latest=${LATEST}-release" >> "$GITHUB_OUTPUT"

if: github.repository_owner == 'visgl'
deploy:
runs-on: ubuntu-latest
needs: check_branch

permissions:
contents: write

env:
MapboxAccessToken: ${{ secrets.MAPBOX_ACCESS_TOKEN }}
GoogleMapsAPIKey: ${{ secrets.GOOGLE_MAPS_API_KEY }}
GoogleMapsMapId: ${{ secrets.GOOGLE_MAPS_MAP_ID }}
if: ${{ github.repository_owner == 'visgl' && needs.check_branch.outputs.should_deploy }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
token: ${{ secrets.ADMIN_TOKEN }}
token: ${{ secrets.WEBSITE_DEPLOY_TOKEN }}

- name: Use Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: '18.x'

- name: Get version
id: get-version
run: LATEST=$(npm show deck.gl version | grep -o -E "^[0-9]+\.[0-9]+") && echo "::set-output name=latest::/${LATEST}-release"

- name: Check version
if: ${{ !endsWith(github.ref, steps.get-version.outputs.latest) }}
- name: Install dependencies
run: |
echo "Website is only published from the latest release branch"
yarn bootstrap
(cd website && yarn)

- name: Build website
if: ${{ endsWith(github.ref, steps.get-version.outputs.latest) }}
run: |
yarn bootstrap
cd website
yarn
yarn build
env:
MapboxAccessToken: ${{ secrets.MAPBOX_ACCESS_TOKEN }}
GoogleMapsAPIKey: ${{ secrets.GOOGLE_MAPS_API_KEY }}
GoogleMapsMapId: ${{ secrets.GOOGLE_MAPS_MAP_ID }}
run: (cd website && yarn build)

- name: Deploy
if: ${{ endsWith(github.ref, steps.get-version.outputs.latest) }}
uses: JamesIves/github-pages-deploy-action@132898c54c57c7cc6b80eb3a89968de8fc283505 # 3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .ocularrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const useLocalLuma = false;
/** @type {OcularConfig} */
const config = {
lint: {
paths: ['modules', 'test']
paths: ['modules', 'test', 'examples']
// paths: ['modules', 'test', 'examples', 'website']
},

Expand Down
94 changes: 94 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,100 @@ Ref: http://keepachangelog.com/en/0.3.0/

## deck.gl v9.0

#### deck.gl [9.0.14] - May 6 2024

- fix(carto): Fix broken encoding in POST requests (#8865)

#### deck.gl [9.0.13] - May 5 2024

- feat(core): Explicitly set stepMode in Attribute layout (#8858)
- fix(widgets): export @deck.gl/widgets/stylesheet.css (#8863)
- Set per-pass uniforms when postprocessing (#8801)

#### deck.gl [9.0.12] - Apr 29 2024

- CARTO: Implement QuadbinHeatmapTileLayer (#8703)

#### deck.gl [9.0.11] - Apr 26 2024

- Export luma functions (#8822)
- fix(core): explicitly set clearStencil in LayersPass (#8844)
- fix(layers): work around Samsung shader compilation failure (#8843)
- fix(types): add export for GeohashLayerProps (#8836)
- Publish NPM packages from CI (#8828)

#### deck.gl [9.0.10] - Apr 23 2024

- fix(carto): Restore global required by pydeck-carto (#8799)
- fix(core): Support fp64 in GPUInterpolationTransition (#8807)

#### deck.gl [9.0.9] - Apr 17 2024

- fix(geo-layers): TileLayer default autoHighlight (#8798)
- fix(extensions): DataFilterExtension handling of filterSoftRange (#8800)
- fix(main): Add missing peerDependencies (#8805)
- fix(core): drawing layers with instance count 0 (#8788)

#### deck.gl [9.0.8] - Apr 15 2024

- CARTO: Improve H3Tileset2D.getTileIndices() by adding buffer (#8781)

#### deck.gl [9.0.7] - Apr 11 2024

- CARTO: added the deckGl version to the map instantiation request (#8783)
- Bump to [email protected] (#8771)
- fix(core): Deck.finalize removes externally created canvas (#8773)
- Only add necessary attributes in DataFilterExtension (#8769)
- chore(react,test-utils): Remove unused 'typed' entry from package.json#files (#8770)

#### deck.gl [9.0.6] - Apr 7 2024

- fix(extensions): picking over draped terrain (#8761)
- fix(react) component default size (#8766)
- chore: fix lint warnings (#8764)
- Improve view types (#8763)
- feat(core): export useful types (#8762)

#### deck.gl [9.0.5] - Apr 4 2024

- fix(mesh-layers): ScenegraphLayer picking (#8752)
- fix(arcgis): remove dependency on @luma.gl/webgl (#8747)

#### deck.gl [9.0.4] - Apr 2 2024

- fix(core): picking bugs (#8730)
- add generic data types in GetPickingInfoParams (#8709)
- Export BufferTransform from luma.gl (#8726)
- fix(build): inlined version off by 1 (#8741)
- fix (TypeScript): add missing exports for effects types (#8728)
- fix(core): Type props.parameters (#8732)

#### deck.gl [9.0.3] - Mar 29 2024

- Bump luma.gl to 9.0.8 (#8719)

#### deck.gl [9.0.2] - Mar 29 2024

- feat(carto): Support .tileSize prop in H3Tileset2D (#8687)
- fix(carto): Clean up and add unit tests for requestWithParameters cache (#8707)
- Do not clear when rendering to target in PostProcessEffect (#8705)
- fix(aggregation-layers): Fix missing types export (#8713)
- Disable excessive console warnings (#8696)

#### deck.gl [9.0.1] - Mar 21 2024

- fix(core): base map creation error in DeckGL scripting interface (#8691)

#### deck.gl [9.0.0] - Mar 21 2024

- bump dependencies to production release
- Remove withParametersWebGL method in Pass classes (#8636)
- Bug fix: Update scorecard to v2.3.1 (#8688)
- Register default shader module with Deck (#8682)
- Update Effect interface (#8681)
- fix(extensions): PathStyleExtension random artifact (#8683)
- chore: upgrade luma.gl to 9.0.5 (#8684)

### deck.gl v9.0 Prereleases

#### deck.gl [9.0.0-beta.10] - Mar 20 2024
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ If you consider opening a PR, here is some documentation to get you started:

Each example can be run so that it is built against the deck.gl source code in this repo instead of building against the installed version of deck.gl. This enables using the examples to debug the main deck.gl library source.

To do so use the `yarn start-local` command present in each example's directory. See [webpack.config.local.js](https://github.com/visgl/deck.gl/blob/master/examples/webpack.config.local.js) for details.
To do so use the `yarn start-local` command present in each example's directory. See [vite.config.local.mjs](https://github.com/visgl/deck.gl/blob/master/examples/vite.config.local.mjs) for details.

### Working with other vis.gl dependencies

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pip install pydeck
* [deck.gl Codepen demos](https://codepen.io/vis-gl/)
* [deck.gl Observable demos](https://beta.observablehq.com/@pessimistress)
* [vis.gl Medium blog](https://medium.com/vis-gl)
* [deck.gl Slack workspace](https://join.slack.com/t/deckgl/shared_invite/zt-7oeoqie8-NQqzSp5SLTFMDeNSPxi7eg)
* [deck.gl Slack workspace](https://slack-invite.openjsf.org/)

## Contributing

Expand Down
3 changes: 3 additions & 0 deletions bindings/pydeck-carto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ lint:
test:
$(BIN)/pytest tests --cov=pydeck_carto

test-scripts:
for file in examples/scripts/*.py; do $(BIN)/python "$$file"; done

publish-pypi:
rm -rf $(DIST) $(BUILD) *.egg-info
$(BIN)/python setup.py sdist bdist_wheel
Expand Down
21 changes: 13 additions & 8 deletions bindings/pydeck-carto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,21 @@ from carto_auth import CartoAuth
# Authentication with CARTO
carto_auth = CartoAuth.from_oauth()

# Register CartoLayer in pydeck
pdkc.register_carto_layer()
# Register new layer types in pydeck
pdkc.register_layers()

# Create CARTO data source
data = pdkc.sources.vector_query_source(
access_token=carto_auth.get_access_token(),
api_base_url=carto_auth.get_api_base_url(),
connection_name="carto_dw",
sql_query="SELECT geom, name FROM carto-demo-data.demo_tables.world_airports",
)

# Render CartoLayer in pydeck
# Render CARTO layer in pydeck
layer = pdk.Layer(
"CartoLayer",
data="SELECT geom, name FROM carto-demo-data.demo_tables.airports",
type_=pdkc.MapType.QUERY,
connection=pdkc.CartoConnection.CARTO_DW,
credentials=pdkc.get_layer_credentials(carto_auth),
"VectorTileLayer",
data=data,
get_fill_color=[238, 77, 90],
point_radius_min_pixels=2.5,
pickable=True,
Expand Down
18 changes: 18 additions & 0 deletions bindings/pydeck-carto/docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,27 @@ CHANGELOG

Releases and associated GitHub PRs for pydeck-carto are documented here.

0.2 Releases
------------

0.2.0 - Apr 29 2024
^^^^^^^^^^^^^^^^^^^
- Update to deck.gl v9.0
- Rename register_carto_layer to register_layers
- Add layer enums: VectorTileLayer, H3TileLayer, QuadbinTileLayer
- Add source functions: vector_table_source, vector_query_source, vector_tileset_source, h3_table_source, h3_query_source, h3_tileset_source, quadbin_table_source, quadbin_query_source, quadbin_tileset_source

0.2.0b0 - Apr 24 2024
^^^^^^^^^^^^^^^^^^^^^
- See v0.2.0 release

0.1 Releases
------------

0.1.1b0 - Apr 24 2024
^^^^^^^^^^^^^^^^^^^^^
- Update to deck.gl v8.9

0.1.0 - Nov 04 2022
^^^^^^^^^^^^^^^^^^^
- Add register_carto_layer function: integration with pydeck (CartoLayer).
Expand Down
4 changes: 2 additions & 2 deletions bindings/pydeck-carto/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
copyright = f"{datetime.datetime.utcnow().year}, CartoDB Inc"
author = "CARTO"
# The short X.Y version
version = "0.1"
version = "0.2"
# The full version, including alpha/beta/rc tags
release = "0.1.0"
release = "0.2.0"
# Extensions to generate documents from our docstrings here
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_rtd_theme"]
templates_path = ["_templates"]
Expand Down
2 changes: 1 addition & 1 deletion bindings/pydeck-carto/docs/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For governance policy and code of conduct, please see the `deck.gl contribution
Development installation
^^^^^^^^^^^^^^^^^^^^^^^^

Please develop using Python 3.7 or above.
Please develop using Python 3.8 or above.

.. code-block:: bash

Expand Down
Loading
Loading