Structr 6.0.1
Structr 6.0.1 is a maintenance release that includes important bugfixes and documentation improvements.
Bugfixes
Core
- Flow Execution: Fixed typo in flow execution method that could cause execution issues
- Docker Configuration: Fixed
sed --in-placefailing on Docker-mounted config files, which caused duplicate entries and value concatenation on container restarts - URL Path Handling: Fixed URL path handling for Structr instances running on non-root paths
- Working Directory: Restored working directory correctly after operations
Polyglot/Multi-Language Support
- Context Locking: Fixed issue with context locking in scheduled jobs when exceptions occur
- PolyglotFilesystem: Fixed various small bugs in PolyglotFilesystem
- Python Support: Added python hint provider to prevent log spam on every keystroke
- Token Handling: Added null check for lastToken to prevent potential null pointer exceptions
Enhancements
User Interface
- Tab State Persistence: Enabled storage of active tab for each element with automatic localStorage cleanup to prevent indefinite growth
- Documentation Navigation: Enabled back/forward navigation in documentation area
- File List Display: Dynamically hide columns in files area depending on viewport width for better mobile/responsive experience
- Type Inheritance: For overridden builtin types, show inherited properties in corresponding tab
File Handling
- Direct File Writing: Added support for writing directly to a file node instead of OutputStream only
Permissions
- Video Files: Added permission propagation to the POSTER_IMAGE relationship between VideoFile and Image, fixed relationship endpoints
Documentation
New Documentation
- Fulltext Search: Added comprehensive documentation and examples for
searchFulltext()function - Virtual Types: Added more information to virtual types documentation
- Mail Templates: Enhanced mail templates documentation with additional details
- Migration Guide: Added entries to migration guide for version 6.0
Documentation Improvements
- Function Signatures: Updated signatures for
sendPlaintextMail(),functionInfo(), anderror()functions - Code Examples: Fixed
mult()example in code documentation - Usage Documentation: Minor fix in usage documentation of
find.contains() - Methods Section: Updated section regarding methods
- Mail Template Names: Fixed mail template names (underscores were interpreted as markdown)
- Version Organization: Moved outdated documentation to a subsection “Older versions”
- References Chapter: Updated markdown files for References chapter
- General Fixes: Fixed various minor issues and in-docs links
- Content Updates: Changed content to better reflect Structr’s capabilities with improved formatting
Testing
- Test Updates: Fixed tests by hosting example page on structr.org
- Function Properties: Added test for function property sorting, fixed some issues in FunctionProperty
Quality of Life
Code Quality
- Logging: Improved logging and enabled native logging output for polyglot contexts
- Error Messages: Updated error message from “does not exist” to “not found” for consistency
- Tokenizer: Silenced StructrScript tokenizer when generating hints to eliminate warning messages in the log
- Naming: Renamed “declaring class” to “declaring trait” for better terminology
Upgrade Notes
- This is a maintenance release with no breaking changes
- Recommended for all Structr 6.0.0 users
- See the migration guide for general Structr 6.0 upgrade information