Releases: google/mesop
Releases · google/mesop
v0.9.0 - web components now supported!
Highlights
- Mesop now has experimental support for Web Components! 🎉 You can build custom components in JavaScript which gives you much more flexibility!
- Learn how to use them: https://google.github.io/mesop/web_components/
What's Changed
- Demo gallery: open github link in new tab/window by @wwwillchen in #402
- Inline theme.scss to avoid deps issue downstream by @wwwillchen in #406
- Add steps to install playwright in .devcontainer.json by @richard-to in #404
- Add utils dep to shell/BUILD to avoid implicit transitive dep by @wwwillchen in #408
- Add
html
component by @wwwillchen in #237 - Implement autoplay option for audio component by @T-Zaid in #398
- Bump the npm_and_yarn group across 1 directory with 4 updates by @dependabot in #419
- Correct the Python version requirement for pip package by @wwwillchen in #424
- Fix steps in installing.md by @wwwillchen in #426
- Remove generator code + angular_components git submodule by @wwwillchen in #425
- Add guide for debugging with Mesop by @wwwillchen in #427
- added base64 by @zacharias1219 in #415
- Support web components (MVP for labs) by @wwwillchen in #416
- Fix property access for MesopEvent by @wwwillchen in #454
- Make insert_web_component kw_args only by @wwwillchen in #458
- Bump to v0.9.0 by @wwwillchen in #459
New Contributors
- @T-Zaid made their first contribution in #398
- @zacharias1219 made their first contribution in #415
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- Minor updates to demos and labs.chat by @richard-to in #339
- Allow demo app to be iframed by Google Github site by @wwwillchen in #341
- Allow all demo sub-pages to be iframed by Google Github site by @wwwillchen in #342
- Improve CSS for search button by @wwwillchen in #349
- Update text_io usage to text_to_text by @richard-to in #362
- Add devcontainer support for Mesop dev. by @richard-to in #363
- Bump the npm_and_yarn group across 1 directory with 11 updates by @dependabot in #325
- modified the capitalize_first_letter function by @djm93dev in #369
- Provide an
on_load
hook for page load by @wwwillchen in #318 - Only show channel progress indicator if it's taking >500ms to avoid jarring UX by @wwwillchen in #372
- Format GitHub issue templates by @wwwillchen in #376
- Remove DEV_SERVER_HOST by @wwwillchen in #378
- Ensure stack trace does not show stale code by @wwwillchen in #375
- Revamp docs: create an API reference section by @wwwillchen in #377
- Add docs on contributing by @wwwillchen in #381
- Add steps for creating an RC for pip publishing process by @wwwillchen in #382
- Pick Material 3 color palette by hand by @wwwillchen in #384
- Revamp docs: getting started + guides + FAQ by @wwwillchen in #383
- Support responsive/adaptive design with viewport size by @wwwillchen in #379
- Update is same site by @djm93dev in #386
- Integrate scroll to feature with chat demos by @richard-to in #390
- chore: update WORKSPACE by @eltociear in #396
- Fix double-registration of stateclass when --reload_demo_modules by @wwwillchen in #394
- Improve state performance by diffing state by @richard-to in #389
- Use default factory to in notes for markdown demo by @richard-to in #393
- Configure custom fonts/stylesheets instead of hardcoding by @wwwillchen in #395
- Set viewport size for all user events by @wwwillchen in #399
- Create a more visual home page for demo gallery by @wwwillchen in #374
- Bump to v0.8.0 by @wwwillchen in #400
New Contributors
- @djm93dev made their first contribution in #369
- @eltociear made their first contribution in #396
Full Changelog: v0.7.2...v0.8.0
v0.7.2
Small release to fix deployments on Cloud Run
What's Changed
- Disable Flask reloader by @wwwillchen in #332
- Check is same site instead of same origin for CSRF check by @wwwillchen in #335
- Bump to v0.7.2 by @wwwillchen in #336
Full Changelog: v0.7.1...v0.7.2
v0.7.1
Highlights
- Improved web security (CSRF)
- Upgraded to Angular v18
What's Changed
- Add basic animation demo by @richard-to in #282
- Upgrade ruff pre-commit hook by @wwwillchen in #272
- Disable gzip in cache in editor mode to make component development easier by @wwwillchen in #288
- Setup APIs to allow custom component downstream by @wwwillchen in #287
- Fix live reload for downstream by @wwwillchen in #292
- Deflake web_security_test by @wwwillchen in #293
- Update CSP to allow images to load from http (which is a common use c… by @wwwillchen in #294
- Bump requests from 2.31.0 to 2.32.0 in /build_defs in the pip group across 1 directory by @dependabot in #295
- Add some new style properties to the Style class by @richard-to in #300
- Allow user to set value for slider. by @richard-to in #307
- Add some new style properties by @richard-to in #306
- Update development.md with Bazel clean tip by @wwwillchen in #309
- Enable allow-listing parent origins for iframing by @wwwillchen in #308
- Protect against CSRF by checking origin of POST request by @wwwillchen in #313
- Improve our internal documentation by @wwwillchen in #314
- Add an on_enter handler for input type components by @orangerd in #296
- Add
scroll_into_view
command by @wwwillchen in #315 - Create an editor_cli target to make edit/refresh cycle faster by @wwwillchen in #316
- Remove dev mode and make non-prod CLI mode hot reload by @wwwillchen in #317
- Fix scroll_into_view when used in generator fn and update API to require key as keyword arg by @wwwillchen in #323
- bump angular to v18 by @wwwillchen in #319
- bump to v0.7.0 (+ minor internal doc changes) by @wwwillchen in #326
- Fix CSRF & bump to v0.7.1 by @wwwillchen in #328
New Contributors
Full Changelog: v0.6.0...v0.7.1
v0.6.0
Highlights
- Adopts many web security best practices
- Improved performance
What's Changed
- Add blog post for Why Mesop by @wwwillchen in #165
- Add link to Colab notebook by @wwwillchen in #253
- Create a demo page to iframe the demo site & update demo links by @wwwillchen in #252
- Make labs.chat text easier to read by @wwwillchen in #254
- Fix docs reference to demo page on GitHub pages by moving to /mesop/demo.md by @wwwillchen in #257
- Polish the editor/devtools UX by @wwwillchen in #258
- Support style property for slider by @wwwillchen in #259
- Fix hot reloading for demo when using Bazel CLI by @wwwillchen in #255
- Allow user to toggle preview fullscreen by @wwwillchen in #256
- Fix demo setup for docs by @wwwillchen in #260
- Change demo iframe src to absolute path by @wwwillchen in #262
- Implement gzipping for static file serving by @wwwillchen in #261
- Fix code demo rendering. by @richard-to in #264
- Fix select demo rendering. by @richard-to in #265
- Update slider widths in LLM Playground by @richard-to in #263
- Setup reasonable default web security policies by @wwwillchen in #270
- Stop sending component configs with every render event in Editor mode by @wwwillchen in #273
- Remove click event on modal bg for LLM Playground. by @richard-to in #267
- Fix path by @wwwillchen in #284
- Bump to v0.6.0 by @wwwillchen in #277
Full Changelog: v0.5.6...v0.6.0
v0.5.6
What's Changed
- Add markdown editor example by @richard-to in #243
- Fix colab_run.py to safely mark flags as parsed by @wwwillchen in #246
- Bump to v0.5.6 by @wwwillchen in #247
- Add LLM Playground example by @richard-to in #242
- Fix code block rendering in demo app by @richard-to in #250
Full Changelog: v0.5.5...v0.5.6
v0.5.5
What's Changed
- Fix issue where Mesop can't be run as a WSGI app with other CLI flags… by @wwwillchen in #228
- Create a Mesop Demos app by @wwwillchen in #147
- Bump gunicorn from 20.1.0 to 22.0.0 in /demo in the pip group across 1 directory by @dependabot in #229
- Update docs to link to new demo site/code by @wwwillchen in #233
- Add placeholder livereload_script_url arg for cli.py by @wwwillchen in #234
- Explicitly not await pollHotReloadEndpoint (downstream sync issue) by @wwwillchen in #235
- Fix colab_run by parsing flags by @wwwillchen in #238
- Bump v0.5.5 by @wwwillchen in #239
Full Changelog: v0.5.3...v0.5.5
v0.5.3
What's Changed
- Tweak input debounce to minimize chance of race condition by @wwwillchen in #172
- Add uploader component. by @richard-to in #124
- Change table component protos to use int32 instead of int64 by @richard-to in #174
- Add component diffing on event responses. by @richard-to in #167
- Use watchdog for a more robust file watching for mesop/bin by @wwwillchen in #178
- Don't send component configs in prod mode by @wwwillchen in #186
- Bump pydantic from 1.10.0 to 1.10.13 in /build_defs by @dependabot in #182
- Bump pydantic from 1.10 to 1.10.13 in /mesop/pip_package by @dependabot in #183
- Bump idna from 3.4 to 3.7 in /build_defs by @dependabot in #181
- Bump the npm_and_yarn group across 1 directory with 21 updates by @dependabot in #184
- Release v0.5.1 by @wwwillchen in #179
- Bump pillow from 10.2.0 to 10.3.0 in /build_defs by @dependabot in #189
- Bump the npm_and_yarn group across 1 directory with 4 updates by @dependabot in #190
- Bump marked from 12.0.0 to 12.0.1 in the npm_and_yarn group across 1 directory by @dependabot in #192
- Fix bug with hot reload and component diffs by @richard-to in #193
- Add sticky headers and columns for Table component by @richard-to in #194
- Add
colab_show
by @wwwillchen in #188 - Add LLM Rewriter example. by @richard-to in #196
- Bump jinja2 from 3.1.2 to 3.1.4 in /build_defs in the pip group across 1 directory by @dependabot in #197
- Do not show error box once error is no longer current by @wwwillchen in #202
- Remove columns from mesop.labs.layout by @wwwillchen in #195
- Skip flaky test for table component: sticky header & column by @wwwillchen in #208
- Supports syntax highlighting in markdown (uses python-markdown + pygments) by @wwwillchen in #203
- Hot reload labs component when using
mesop
CLI by @wwwillchen in #209 - Replace hot reload mechanism by @wwwillchen in #211
- De-emphasize visual editor since it's support is not great now by @wwwillchen in #212
- Fix
wsgi_app
- flag parsing & singleton by @wwwillchen in #214 - Bump to v0.5.2 by @wwwillchen in #215
- Create code component by @wwwillchen in #210
- Deprecate text_io and introduce text_to_text as the replacement by @wwwillchen in #213
- Make hot reloading more robust by only watching necessary files by @wwwillchen in #218
- Make hot reloading work with multiple clients by @wwwillchen in #219
- Show a more informative error message if no page registered by @wwwillchen in #220
- Redact internal & developer error messages in prod mode by @wwwillchen in #221
- Remove unnecessary detail (event) from hot reload print by @wwwillchen in #223
- Bump to v0.5.3 by @wwwillchen in #222
New Contributors
- @dependabot made their first contribution in #182
Full Changelog: v0.5...v0.5.3
v0.5
Highlights
- The underlying Mesop Angular app is now compiled using Angular production mode when running Mesop in prod mode. This improves performance and the overall production readiness of deploying Mesop apps!
What's Changed
- Add copybara strip comments for safe_iframe.ts by @wwwillchen in #153
- Add docs for embed by @wwwillchen in #154
- Fix angular material colors for M3 by @wwwillchen in #155
- Support dict for dataclass_with_defaults (used by stateclass) by @wwwillchen in #162
- Create optimized / prod-Angular app for prod mode by @wwwillchen in #157
- Add e2e tests by @wwwillchen in #163
- Tweak docs/index.md to highlight value prop by @wwwillchen in #169
- Cut v0.5 release by @wwwillchen in #170
Full Changelog: v0.4.2...v0.5
v0.4.2
What's Changed
- Add a text to image IO function. by @richard-to in #99
- Switch to ipv6 host by @wwwillchen in #91
- Add simple chat widget function. by @richard-to in #100
- Add basic table with Pandas support by @richard-to in #103
- Update development.md to reference cli.venv by @wwwillchen in #108
- Add version attribute so Mesop users can easily tell which version of Mesop they're using by @wwwillchen in #112
- Make MesopException the parent class of more specific mesop exceptions & expose as public API by @wwwillchen in #113
- Update hot reloading logic in execute_module.py by @richard-to in #116
- Update BUILD in pip_package to not directly reference @rules_python by @wwwillchen in #120
- Create shorthands for Margin, Padding, and Border by @wwwillchen in #122
- Make it so wide code examples do not overflow. by @richard-to in #127
- Fix setup_proto_py_modules.sh by @wwwillchen in #130
- Fix imports when using mesop CLI bin.py by @wwwillchen in #129
- Fix state serialization bug with pandas.DataFrame. by @richard-to in #126
- Add on table cell click event by @richard-to in #125
- Plumb style for markdown by @wwwillchen in #132
- Support style for button by @wwwillchen in #133
- Support style for checkbox and radio by @wwwillchen in #134
- Update default UI for radio component by @wwwillchen in #131
- Increase timeout in chat_test due to flakiness by @wwwillchen in #137
- Improve DevEx for hot reloading: show errors from hot reloading right away by @wwwillchen in #135
- Move ng_deps = [//mesop/web/src/utils] to components/defs.bzl since most components will need it by @wwwillchen in #144
- Add aspect_ratio and overflow_wrap to Style by @wwwillchen in #136
- Deflakes chat_test.ts by @wwwillchen in #145
- Add embed (iframe) component (closes #140) by @wwwillchen in #143
- Rename simple{_test} -> many_checkboxes{_test} & deflake by reducing # of checkboxes by @wwwillchen in #146
- Fix version.py so pip_package works by @wwwillchen in #139
Full Changelog: v0.4.1...v0.4.2