Releases: google/mesop
Releases · google/mesop
v0.12.3
What's Changed
- Fix typo in input.py by @wwwillchen in #830
- Migrates ai/docbot to uv to manage dependencies by @wwwillchen in #832
- install uv (instead of pip install) for deploying docbot on GitHub actions by @wwwillchen in #833
- Add more style properties by @wwwillchen in #831
- Support functools.partial for event handlers by @wwwillchen in #789
- Fix pyproject.toml so docbot can build with uv by @wwwillchen in #834
- Export
create_wsgi_app
so Mesop apps can be mounted to other servers by @wwwillchen in #835 - Create autocomplete for editor toolbar by @wwwillchen in #836
- Stream generate response to UI by @wwwillchen in #837
- Fix docbot deployment by @wwwillchen in #839
- Fix docbot by using pre-uv commands by @wwwillchen in #843
- Fix docbot Dockerfile by @wwwillchen in #845
- Add hotkeys and async action web component examples. by @richard-to in #846
- Remove use of 100vh from chat component by @richard-to in #841
- Adds app url for mesop app maker. by @richard-to in #842
- Editor toolbar: scope prompt to specific component by @wwwillchen in #850
- Make pip.sh faster with
uv
and easier to use with explicit steps by @wwwillchen in #851 - Add ~20 fine-tuning examples and switch to new ft model by @wwwillchen in #853
- Fix selected component logic in editor toolbar by @wwwillchen in #856
- Show progress bar in editor toolbar progress dialog & change dialog title by @wwwillchen in #857
- Persist prompt interactions into sessionStorage by @wwwillchen in #858
- Prevent user from sending another prompt while one is in progress by @wwwillchen in #859
- Require prompt minimum length (4 chars) by @wwwillchen in #860
- Propagate and display error messages for editor toolbar services by @wwwillchen in #861
- Fix heuristics in get_app_caller_source_code_location by @wwwillchen in #862
- Fix dark theme for code mirror by @wwwillchen in #863
- Use smaller prompt context for new ft model by @wwwillchen in #867
- Automate showcase deployment by @wwwillchen in #873
- Fix showcase deployment script by @wwwillchen in #875
- Fix deployment script for showcase by @wwwillchen in #877
- Refactor
ai/
to share code between service & scripts by @wwwillchen in #874 - Show toolbar expanded by default by @wwwillchen in #880
- Fix evaluate_run.py after refactoring by @wwwillchen in #884
- Polish editor toolbar and AI service by @wwwillchen in #885
- Plumb experimental editor toolbar env var to client-side by @wwwillchen in #879
- Style API tweaks by @wwwillchen in #881
- Clean up printing for experiments by @wwwillchen in #889
- Bump to v0.12.3 and clean-up scripts & docs by @wwwillchen in #890
Full Changelog: v0.12.2...v0.12.3
v0.12.2
What's Changed
- Guard new server routes behind
MESOP_EXPERIMENTAL_EDITOR_TOOLBAR
env var by @wwwillchen in #828 - Bump to v0.12.2 by @wwwillchen in #829
Full Changelog: v0.12.1...v0.12.2
v0.12.1
What's Changed
- Bump to v0.12.0 (and fix smoketest app) by @wwwillchen in #792
- Add import hook in shell.ts for downstream sync by @wwwillchen in #793
- Remove unused animations import by @wwwillchen in #794
- Rename CSS classname: markdown to error-box-markdown by @wwwillchen in #795
- Add testing guide by @wwwillchen in #796
- Improve guide docs and include layouts colab by @wwwillchen in #797
- Ensure DOM state is reset across pages by @wwwillchen in #798
- docbot: do direct retrieval for input by @wwwillchen in #799
- Fix biome by removing erroneous biome dependency by @wwwillchen in #801
- Rename query_params.md -> query-params.md for consistency by @wwwillchen in #802
- Tighten event type in
register_event_handler
by @malmaud in #808 - Support non-generating coroutines as event handlers. by @malmaud in #807
- [UI change] Remove label for uploader button. by @richard-to in #815
- Allow sets in State classes. by @richard-to in #817
- Create scripts for generating a better prompt context by @wwwillchen in #800
- Create fine-tuning dataset & eval tools by @wwwillchen in #812
- Add MESOP_STATE_SESSION_BACKEND_SQL_CONNECTION_URI to config docs. by @richard-to in #824
- Refactor some code duplication from diff.ts by @richard-to in #825
- Create experimental visual editor toolbar & services by @wwwillchen in #821
- Add script for add code/api snippets into docs. by @richard-to in #823
- Bump to v0.12.1 by @wwwillchen in #826
New Contributors
Full Changelog: v0.12.0...v0.12.1
v0.12.0
What's Changed
- Create showcase app by @wwwillchen in #747
- Deflake theme_density_test by @wwwillchen in #752
- Redirect showcase page directly to hf spaces; otherwise links don't work by @wwwillchen in #756
- Support async await in event handlers by @wwwillchen in #749
- Fine-tune UI for showcase by @wwwillchen in #757
- Add a framework comparison doc by @wwwillchen in #639
- Fix links in comparison.md by @wwwillchen in #759
- Update home page - show overlay button to open demo gallery button in… by @wwwillchen in #760
- Show an error dialog if web component is not registered by @wwwillchen in #754
- Set web component as properties, not attributes [breaking change] by @wwwillchen in #753
- Update link to page docs by @wwwillchen in #779
- Deflake theme density test by @wwwillchen in #780
- Create & integrate RAG-based docs chatbot by @wwwillchen in #771
- Deploy docbot via GitHub actions by @wwwillchen in #782
- docbot: do hybrid search by @wwwillchen in #783
- Fix up docbot - pass llm arg for QueryFusionRetriever by @wwwillchen in #785
- Proper child reconciliation for web components with slots. by @wwwillchen in #762
- Fix race condition where the error box didn't always display by @wwwillchen in #788
Full Changelog: v0.11.1...v0.12.0
v0.11.1
What's Changed
- Fix image reference for web components troubleshooting doc by @wwwillchen in #742
- Adds note on adding
firebase-admin
torequirements.txt
, in theAuth
guide by @KPSawhney in #737 - Fix issues with autocomplete for downstream sync by @wwwillchen in #743
- Add pointer-events and place-items to styles. by @richard-to in #736
- Remove catch clause for dynamic import promise (use default browser console error messages) by @wwwillchen in #744
- Allow absolute URL navigation by @wwwillchen in #748
- Support query params by @wwwillchen in #676
- Bump to v0.11.1 by @wwwillchen in #750
New Contributors
- @KPSawhney made their first contribution in #737
Full Changelog: v0.11.0...v0.11.1
v0.11.0
Breaking changes
- Because JavaScript modules for web components are loaded dynamically, you may need to update your security policy. See #723. There's improved error messages in the terminal: #724 and improved troubleshooting docs
Notable changes
- Add basic autocomplete component. by @richard-to in #677
- Add focus command. by @richard-to in #718
- Make UI density configurable by @wwwillchen in #716
What's Changed
- add: feedback for demo gallery by @iiakshat in #455
- Deep copy page configurations to prevent security-sensitive mutations by @wwwillchen in #701
- fix typo with pydocs for SecurityPolicy by @wwwillchen in #702
- Fix docs for autocomplete by @richard-to in #703
- Update a few patterns for dark mode by @richard-to in #704
- Support dark theme: syntax highlighting + demo gallery by @wwwillchen in #705
- Add copy to clipboard web component by @richard-to in #720
- Provide helpful terminal messages to fix web component CSP errors by @wwwillchen in #724
- Change internal routes to prefix and postfix with "__" by @wwwillchen in #722
- Rename docs to use hyphen instead of underscore by @wwwillchen in #732
- Remove loading text from index.html by @wwwillchen in #734
- Add docs on troubleshooting web components CSP errors & update CSP terminal error message by @wwwillchen in #733
- Bump to v0.11.0 by @wwwillchen in #741
New Contributors
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
- Add example headers to patterns demos. by @richard-to in #660
- Catch accidental usages of mutable default state values by @wwwillchen in #658
- Fix markdown indention in markdown demo by @richard-to in #666
- Debounce resize event by @wwwillchen in #668
- Remove query params from stylesheet URLs when adding it to CSP by @wwwillchen in #671
- Support dark theming by @wwwillchen in #663
- Escape CSP source values by @wwwillchen in #674
- Prevent page or web component from being registered after traffic has been served by @wwwillchen in #675
- Add example webcomponent that uses markedjs, highlightjs, and mermaidjs by @richard-to in #667
- Make UploadedFile class serializable by @richard-to in #679
- Use py_library from defaults.bzl by @wwwillchen in #686
- Do not use TS theme mode proto enum type directly by @wwwillchen in #688
- Make rxjs a direct dep for theme_service.ts by @wwwillchen in #689
- Remove unused imports from theme_service.ts by @wwwillchen in #690
- Make rxjs a direct dep for shell by @wwwillchen in #691
- Align dataclass_utils.py mutable type error message with py 3.11 standard lib error message by @wwwillchen in #692
- Fix has_served_traffic safety check so it doesn't break notebook development by @wwwillchen in #694
- Fix #694 - only check debug mode for has served traffic check by @wwwillchen in #696
- Bump version to v0.10.0 by @wwwillchen in #693
- Remove screenshots from repo (run before deployment) by @wwwillchen in #684
- Make demo app deploy-able to Hugging Face spaces by @wwwillchen in #685
- Switch demo gallery iframe URL to hugging face spaces by @wwwillchen in #697
Full Changelog: v0.9.5...v0.10.0
v0.9.5
What's Changed
- Redesign home page by @wwwillchen in #599
- Add SQL state session backend. by @richard-to in #597
- Fix bug with .env not loading for pip installs by @richard-to in #601
- Namespace g attribute by @wwwillchen in #606
- Create python FE fatigue blog post by @wwwillchen in #542
- Set LRU cache for compute_fn_id by @wwwillchen in #614
- Improve publishing docs and pip.sh by @wwwillchen in #616
- Add Hugging Face deployment steps by @richard-to in #617
- Budget more time for playwright tests & disable retries by @wwwillchen in #607
- Add notebook_show, notebook_run for Jupyter notebook environments by @wwwillchen in #615
- Create DuoChat codelab by @wwwillchen in #620
- Allow iframing any other sites by @wwwillchen in #630
- Update codelab docs by @wwwillchen in #636
- Add {min, max}-{height, width} to Style by @wwwillchen in #632
- Create starter kit template by @wwwillchen in #631
- Add
mesop init
CLI command by @wwwillchen in #633 - Update docs with starter kit by @wwwillchen in #634
- (experimental) Generate prompt context for Mesop by @wwwillchen in #572
- Add web component that integrates Code Mirror by @richard-to in #645
- Do not use class variables in runtime modules by @wwwillchen in #642
- Allow data URL for font-src by @richard-to in #646
- Clean-up docs style for GitHub button in mobile mode by @wwwillchen in #650
- Add link component by @wwwillchen in #640
- Provide more explicit docs about mutable state default values by @wwwillchen in #653
- Enable RUF lint rules by @wwwillchen in #652
- Clean up unused code generated from component scaffold by @wwwillchen in #649
- Create a concurrency test to stress-test state is isolated across sessions by @wwwillchen in #657
- Bump to v0.9.5 by @wwwillchen in #661
Full Changelog: v0.9.4...v0.9.5
v0.9.4
What's Changed
- Add sandboxed mode to HTML component by @wwwillchen in #544
- Added More Borders by @zacharias1219 in #509
- Enable markdown tables + attribute lists by @richard-to in #569
- Add button attributes to uploader by @richard-to in #570
- Render SVG image with plot component by @richard-to in #573
- Add example patterns for modal and toast by @richard-to in #575
- Add file backend for state sessions by @richard-to in #574
- Add grid table demo by @richard-to in #577
- feat: adds svg_icon fixes #529 by @ghchinoy in #567
- Minor documentation fixes by @richard-to in #586
- Add Firestore state session backend by @richard-to in #589
- Fix false on enter trigger when using IME. by @richard-to in #593
- Follow up on code review for ime change by @richard-to in #595
- Fix broken iframe links in docs by @richard-to in #598
- Update demo gallery: chat_inputs & visual polish by @wwwillchen in #600
- Bump to v0.9.4 by @wwwillchen in #603
New Contributors
Full Changelog: v0.9.3...v0.9.4
v0.9.3
What's Changed
- Update chat component to not use on_input by @wwwillchen in #530
- Update deployment docs by @richard-to in #526
- Add test for text_to_text by @wwwillchen in #531
- Add docs for setting up Mesop with Github Codespaces by @richard-to in #536
- Fix broken images Github Codespaces by @richard-to in #540
- Add docs VS Code remote containers by @richard-to in #541
- State sessions by @richard-to in #496
- Remove
enable_component_tree_diffs
flag by @richard-to in #547 - Update docs with info about state sessions by @richard-to in #548
- Update VS Code Remote container doc by @richard-to in #553
- Bump to v0.9.3 by @richard-to in #558
Full Changelog: v0.9.2...v0.9.3