8800abded7
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [oxlint](https://oxc.rs) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`0.9.2` -> `0.9.5`](https://renovatebot.com/diffs/npm/oxlint/0.9.2/0.9.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.9.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.9.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.9.2/0.9.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.9.2/0.9.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>oxc-project/oxc (oxlint)</summary> ### [`v0.9.5`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.5): oxlint v0.9.5 [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.4...oxlint_v0.9.5) #### \[0.9.5] - 2024-09-12 ##### Features - [`4b04f65`](https://redirect.github.com/oxc-project/oxc/commit/4b04f65) linter: Implement `no-plusplus` rule ([#​5570](https://redirect.github.com/oxc-project/oxc/issues/5570)) (Cam McHenry) - [`9ca2593`](https://redirect.github.com/oxc-project/oxc/commit/9ca2593) linter: Eslint/sort-keys ([#​4845](https://redirect.github.com/oxc-project/oxc/issues/4845)) (Na'aman Hirschfeld) - [`023c160`](https://redirect.github.com/oxc-project/oxc/commit/023c160) linter: Impl `Serialize` for `OxlintConfig` ([#​5594](https://redirect.github.com/oxc-project/oxc/issues/5594)) (DonIsaac) - [`24d6a47`](https://redirect.github.com/oxc-project/oxc/commit/24d6a47) linter: Implement `eslint/no-invalid-regexp` ([#​5443](https://redirect.github.com/oxc-project/oxc/issues/5443)) (Boshen) - [`c6bbf94`](https://redirect.github.com/oxc-project/oxc/commit/c6bbf94) minifier: Constant fold unary expression ([#​5669](https://redirect.github.com/oxc-project/oxc/issues/5669)) (Boshen) ##### Bug Fixes - [`af6d240`](https://redirect.github.com/oxc-project/oxc/commit/af6d240) linter: Panic in consistent-function-scoping ([#​5613](https://redirect.github.com/oxc-project/oxc/issues/5613)) (DonIsaac) - [`54e2e76`](https://redirect.github.com/oxc-project/oxc/commit/54e2e76) linter: `react/no_set_state` + `react/no_string_refs` rules find correct parent ([#​5615](https://redirect.github.com/oxc-project/oxc/issues/5615)) (overlookmotel) - [`3b87ac4`](https://redirect.github.com/oxc-project/oxc/commit/3b87ac4) linter: Fix no_unused_vars panic when encountering unicode ([#​5582](https://redirect.github.com/oxc-project/oxc/issues/5582)) (Boshen) ##### Performance - [`bfe9186`](https://redirect.github.com/oxc-project/oxc/commit/bfe9186) linter: Use `cow_replace` instead of `replace` ([#​5643](https://redirect.github.com/oxc-project/oxc/issues/5643)) (dalaoshu) - [`e3ae5db`](https://redirect.github.com/oxc-project/oxc/commit/e3ae5db) linter: Use cow_to_ascii_lowercase/uppercase ([#​5637](https://redirect.github.com/oxc-project/oxc/issues/5637)) (heygsc) - [`a0370bf`](https://redirect.github.com/oxc-project/oxc/commit/a0370bf) linter: Use cow_utils in no_script_url ([#​5633](https://redirect.github.com/oxc-project/oxc/issues/5633)) (heygsc) - [`37e922c`](https://redirect.github.com/oxc-project/oxc/commit/37e922c) linter: `eslint/no_shadow_restricted_names` use `run_on_symbol` ([#​5618](https://redirect.github.com/oxc-project/oxc/issues/5618)) (overlookmotel) - [`0b7fccf`](https://redirect.github.com/oxc-project/oxc/commit/0b7fccf) linter: `react/no_set_state` + `react/no_string_refs` rules reduce iteration over ancestors ([#​5616](https://redirect.github.com/oxc-project/oxc/issues/5616)) (overlookmotel) - [`2c3f3fe`](https://redirect.github.com/oxc-project/oxc/commit/2c3f3fe) linter: Make `jsx_key` slightly faster ([#​5585](https://redirect.github.com/oxc-project/oxc/issues/5585)) (Boshen) - [`cd81d12`](https://redirect.github.com/oxc-project/oxc/commit/cd81d12) linter: Add `should_run` to check path only once to nextjs/no_typos ([#​5584](https://redirect.github.com/oxc-project/oxc/issues/5584)) (Boshen) - [`d18c896`](https://redirect.github.com/oxc-project/oxc/commit/d18c896) rust: Use `cow_utils` instead ([#​5664](https://redirect.github.com/oxc-project/oxc/issues/5664)) (dalaoshu) ##### Documentation - [`64f9575`](https://redirect.github.com/oxc-project/oxc/commit/64f9575) linter: Add plugin usage to example with configuration (Boshen) - [`8c9179d`](https://redirect.github.com/oxc-project/oxc/commit/8c9179d) linter: Fix typos ([#​5591](https://redirect.github.com/oxc-project/oxc/issues/5591)) (Brian Donovan) ##### Refactor - [`9e9435f`](https://redirect.github.com/oxc-project/oxc/commit/9e9435f) linter: Add `LintFilter` ([#​5685](https://redirect.github.com/oxc-project/oxc/issues/5685)) (DonIsaac) - [`4f70fe5`](https://redirect.github.com/oxc-project/oxc/commit/4f70fe5) linter: Start internal/external split of LintPluginOptions ([#​5660](https://redirect.github.com/oxc-project/oxc/issues/5660)) (DonIsaac) - [`5ae9b48`](https://redirect.github.com/oxc-project/oxc/commit/5ae9b48) linter: Start internal/external split of `OxlintOptions` ([#​5659](https://redirect.github.com/oxc-project/oxc/issues/5659)) (DonIsaac) - [`c8bc6f0`](https://redirect.github.com/oxc-project/oxc/commit/c8bc6f0) linter: Use `std::ptr::eq` ([#​5649](https://redirect.github.com/oxc-project/oxc/issues/5649)) (overlookmotel) - [`a37c064`](https://redirect.github.com/oxc-project/oxc/commit/a37c064) linter: Use `ContentHash` for `no_duplicate_case`; remove `calculate_hash` ([#​5648](https://redirect.github.com/oxc-project/oxc/issues/5648)) (Boshen) - [`0b3c1d7`](https://redirect.github.com/oxc-project/oxc/commit/0b3c1d7) linter: Start internal/external split of `OxlintConfig` ([#​5595](https://redirect.github.com/oxc-project/oxc/issues/5595)) (DonIsaac) - [`89bdf55`](https://redirect.github.com/oxc-project/oxc/commit/89bdf55) linter: Inline `Rule` trait default methods ([#​5619](https://redirect.github.com/oxc-project/oxc/issues/5619)) (overlookmotel) - [`afea8d5`](https://redirect.github.com/oxc-project/oxc/commit/afea8d5) linter: Rename `Rule` trait method params ([#​5617](https://redirect.github.com/oxc-project/oxc/issues/5617)) (overlookmotel) - [`4e748b5`](https://redirect.github.com/oxc-project/oxc/commit/4e748b5) linter: Replace ast "compare by hash" to "compare by content" ([#​5602](https://redirect.github.com/oxc-project/oxc/issues/5602)) (dalaoshu) - [`bac03e3`](https://redirect.github.com/oxc-project/oxc/commit/bac03e3) linter: Make fields of `LintServiceOptions` private ([#​5593](https://redirect.github.com/oxc-project/oxc/issues/5593)) (DonIsaac) - [`2661d8b`](https://redirect.github.com/oxc-project/oxc/commit/2661d8b) linter: Jest prefer_strict_equal ([#​5588](https://redirect.github.com/oxc-project/oxc/issues/5588)) (IWANABETHATGUY) - [`067f9b5`](https://redirect.github.com/oxc-project/oxc/commit/067f9b5) semantic: Introduce `IsGlobalReference` trait ([#​5672](https://redirect.github.com/oxc-project/oxc/issues/5672)) (Boshen)- [`26d9235`](https://redirect.github.com/oxc-project/oxc/commit/26d9235) Enable clippy::ref_as_ptr ([#​5577](https://redirect.github.com/oxc-project/oxc/issues/5577)) (夕舞八弦) ##### Testing - [`8e79f8d`](https://redirect.github.com/oxc-project/oxc/commit/8e79f8d) linter: Add class method test cases for `oxc/no-async-await` ([#​5550](https://redirect.github.com/oxc-project/oxc/issues/5550)) (DonIsaac) - [`3835189`](https://redirect.github.com/oxc-project/oxc/commit/3835189) linter: Add test case for no_unused_vars in [`3b87ac4`](https://redirect.github.com/oxc-project/oxc/commit/3b87ac4) (Boshen) - [`5f27551`](https://redirect.github.com/oxc-project/oxc/commit/5f27551) linter: Add a passing case to no_undef ([#​5580](https://redirect.github.com/oxc-project/oxc/issues/5580)) (Boshen) ### [`v0.9.4`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#094---2024-09-12) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.3...oxlint_v0.9.4) ##### Features - [`023c160`](https://redirect.github.com/oxc-project/oxc/commit/023c160) linter: Impl `Serialize` for `OxlintConfig` ([#​5594](https://redirect.github.com/oxc-project/oxc/issues/5594)) (DonIsaac) ### [`v0.9.3`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#093---2024-09-07) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.2...oxlint_v0.9.3) ##### Styling - [`694f032`](https://redirect.github.com/oxc-project/oxc/commit/694f032) Add trailing line breaks to `package.json` files ([#​5542](https://redirect.github.com/oxc-project/oxc/issues/5542)) (overlookmotel) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> |
||
---|---|---|
.cargo | ||
.codesandbox | ||
.devcontainer | ||
.github | ||
.husky | ||
.vscode | ||
.yarn | ||
docs | ||
packages | ||
scripts | ||
tests | ||
tools | ||
.editorconfig | ||
.env.template | ||
.eslintignore | ||
.eslintrc.js | ||
.gitattributes | ||
.gitignore | ||
.i18n-codegen.json | ||
.npmrc | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
.taplo.toml | ||
.yarnrc.yml | ||
Cargo.lock | ||
Cargo.toml | ||
CHANGELOG.md | ||
codecov.yml | ||
LICENSE | ||
LICENSE-MIT | ||
nx.json | ||
nyc.config.js | ||
oxlint.json | ||
package.json | ||
README.md | ||
rust-toolchain.toml | ||
rustfmt.toml | ||
SECURITY.md | ||
tsconfig.eslint.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
typedoc.base.json | ||
typedoc.json | ||
vitest.config.ts | ||
vitest.workspace.ts | ||
yarn.lock |
AFFiNE.PRO
Write, Draw and Plan All at Once
A privacy-focused, local-first, open-source, and ready-to-use alternative for Notion & Miro.
One hyper-fused platform for wildly creative minds.
Getting started & staying tuned with us.
Star us, and you will receive all release notifications from GitHub without any delay!
What is AFFiNE
AFFiNE is an open-source, all-in-one workspace and an operating system for all the building blocks that assemble your knowledge base and much more -- wiki, knowledge management, presentation and digital assets. It's a better alternative to Notion and Miro.
Features
A true canvas for blocks in any form. Docs and whiteboard are now fully merged.
- Many editor apps claim to be a canvas for productivity, but AFFiNE is one of the very few which allows you to put any building block on an edgeless canvas -- rich text, sticky notes, any embedded web pages, multi-view databases, linked pages, shapes and even slides. We have it all.
Multimodal AI partner ready to kick in any work
- Write up professional work report? Turn an outline into expressive and presentable slides? Summary an article into a well-structured mindmap? Sorting your job plan and backlog for tasks? Or... draw and code prototype apps and web pages directly all with one prompt? With you, AFFiNE AI pushes your creativity to the edge of your imagination.
Local-first & Real-time collaborative
- We love the idea of local-first that you always own your data on your disk, in spite of the cloud. Furthermore, AFFiNE supports real-time sync and collaborations on web and cross-platform clients.
Self-host & Shape your own AFFiNE
- You have the freedom to manage, self-host, fork and build your own AFFiNE. Plugin community and third-party blocks are coming soon. More tractions on Blocksuite. Check there to learn how to self-host AFFiNE.
Acknowledgement
“We shape our tools and thereafter our tools shape us”. A lot of pioneers have inspired us along the way, e.g.:
- Quip & Notion with their great concept of “everything is a block”
- Trello with their Kanban
- Airtable & Miro with their no-code programmable datasheets
- Miro & Whimiscal with their edgeless visual whiteboard
- Remote & Capacities with their object-based tag system
There is a large overlap of their atomic “building blocks” between these apps. They are not open source, nor do they have a plugin system like Vscode for contributors to customize. We want to have something that contains all the features we love and also goes one step even further.
Thanks for checking us out, we appreciate your interest and sincerely hope that AFFiNE resonates with you! 🎵 Checking https://affine.pro/ for more details ions.
Contributing
Bug Reports | Feature Requests | Questions/Discussions | AFFiNE Community |
---|---|---|---|
Create a bug report | Submit a feature request | Check GitHub Discussion | Vist the AFFiNE Community |
Something isn't working as expected | An idea for a new feature, or improvements | Discuss and ask questions | A place to ask, learn and engage with others |
Calling all developers, testers, tech writers and more! Contributions of all types are more than welcome, you can read more in docs/types-of-contributions.md. If you are interested in contributing code, read our docs/CONTRIBUTING.md and feel free to check out our GitHub issues to get stuck in to show us what you’re made of.
Before you start contributing, please make sure you have read and accepted our Contributor License Agreement. To indicate your agreement, simply edit this file and submit a pull request.
For bug reports, feature requests and other suggestions you can also create a new issue and choose the most appropriate template for your feedback.
For translation and language support you can visit our i18n General Space.
Looking for other ways to contribute and wondering where to start? Check out the AFFiNE Ambassador program, we work closely with passionate community members and provide them with a wide range of support and resources.
If you have questions, you are welcome to contact us. One of the best places to get more info and learn more is in the AFFiNE Community where you can engage with other like-minded individuals.
Ecosystem
Name | ||
---|---|---|
@affine/component | AFFiNE Component Resources | |
@toeverything/theme | AFFiNE theme |
Upstreams
We would also like to give thanks to open-source projects that make AFFiNE possible:
- Blocksuite - 💠 BlockSuite is the open-source collaborative editor project behind AFFiNE.
- OctoBase - 🐙 OctoBase is the open-source database behind AFFiNE, local-first, yet collaborative. A light-weight, scalable, data engine written in Rust.
- yjs - Fundamental support of CRDTs for our implementation on state management and data sync.
- electron - Build cross-platform desktop apps with JavaScript, HTML, and CSS.
- React - The library for web and native user interfaces.
- napi-rs - A framework for building compiled Node.js add-ons in Rust via Node-API.
- Jotai - Primitive and flexible state management for React.
- async-call-rpc - A lightweight JSON RPC client & server.
- Vite - Next generation frontend tooling.
- Other upstream dependencies.
Thanks a lot to the community for providing such powerful and simple libraries, so that we can focus more on the implementation of the product logic, and we hope that in the future our projects will also provide a more easy-to-use knowledge base for everyone.
Contributors
We would like to express our gratitude to all the individuals who have already contributed to AFFiNE! If you have any AFFiNE-related project, documentation, tool or template, please feel free to contribute it by submitting a pull request to our curated list on GitHub: awesome-affine.
Self-Host
Begin with Docker to deploy your own feature-rich, unrestricted version of AFFiNE. Our team is diligently updating to the latest version. For more information on how to self-host AFFiNE, please refer to our documentation.
Hiring
Some amazing companies, including AFFiNE, are looking for developers! Are you interested in joining AFFiNE or its partners? Check out our Discord channel for some of the latest jobs available.
Feature Request
For feature requests, please see community.affine.pro.
Building
Codespaces
From the GitHub repo main page, click the green "Code" button and select "Create codespace on master". This will open a new Codespace with the (supposedly auto-forked AFFiNE repo cloned, built, and ready to go.
Local
See BUILDING.md for instructions on how to build AFFiNE from source code.
Contributing
We welcome contributions from everyone. See docs/contributing/tutorial.md for details.
Thanks
Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.
License
Editions
-
AFFiNE Community Edition (CE) is the current available version, it's free for self-host under the MIT license.
-
AFFiNE Enterprise Edition (EE) is yet to be published, it will have more advanced features and enterprise-oriented offerings, including but not exclusive to rebranding and SSO, advanced admin and audit, etc., you may refer to https://affine.pro/pricing for more information
See LICENSE for details.