Skip to content

feat: release sprint 1 features#2

Merged
joaovjo merged 51 commits into
nino-ts:mainfrom
joaovjo:feature/sprint-1
May 13, 2026
Merged

feat: release sprint 1 features#2
joaovjo merged 51 commits into
nino-ts:mainfrom
joaovjo:feature/sprint-1

Conversation

@joaovjo

@joaovjo joaovjo commented May 10, 2026

Copy link
Copy Markdown
Member

Sprint 1 — Summary

This draft PR consolidates Sprint 1 work on top of upstream/main (v0.2.0 → v0.3.0).

✨ Features

  • nino CLI v0.3 + complete boot loop (feat: complete boot loop + nino CLI v0.3)
  • File-based routing via module.jsonc manifest (feat: module.jsonc manifesto + file-based routing)
  • Build system with package exports and sub-package entry points (feat: configure build system...)
  • Filesystem MIME type and visibility methods on local adapter
  • Auth session flash data lifecycle (feat(auth): implement flash data lifecycle in session)
  • Framework entry point integration for all packages

♻️ Refactors

  • Application.ts STYLEGUIDE formatting (Phase 1, Week 2)
  • Test suite reorganized into feature/ and unit/ directories
  • WSRoom property/method order standardized
  • Removed unused TS configs and documentation server script

🔧 Chores

  • AGENTS.md files per package
  • TypeScript configuration consistency improvements

⚠️ Notes

  • Two wip commits (7719d2d, a49df34) should be squashed before final merge.
  • Semver bump: 0.2.00.3.0 (minor — new features, no breaking changes).

joaovjo and others added 27 commits April 25, 2026 00:59
Remove "../ninots" do "packages"
- Call ageFlashData() in Session.start() to process flash data on each request.
- Remove TODO comment from flash() method as implementation is now complete.
- Add lifecycle test to verify flash data persistence across multiple requests.

Co-authored-by: joaovjo <6147890+joaovjo@users.noreply.github.com>
Created individual AGENTS.md files for each package in the monorepo to explicitly define development guidelines and enforce decoupling. Each file strictly instructs agents to operate solely within the boundaries of that specific package, preventing cross-referencing and unintended bleed across scopes.

Co-authored-by: joaovjo <6147890+joaovjo@users.noreply.github.com>
The `load` method in `Collection` was loading relations one by one using a sequential `for...of` loop with `await`. This has been optimized to use `Promise.all` with `map` to load multiple relations concurrently.

💡 **What:** Replaced sequential `for...of` loop with `Promise.all` in `Collection.load`.
🎯 **Why:** Speed up lazy eager loading when multiple relations are specified.
📊 **Measured Improvement:**
- Baseline: 6.68ms per load (avg of 100 runs)
- Optimized: 1.86ms per load (avg of 100 runs)
- Improvement: ~72% reduction in loading time.

Co-authored-by: joaovjo <6147890+joaovjo@users.noreply.github.com>
…bleEntity

Co-authored-by: joaovjo <6147890+joaovjo@users.noreply.github.com>
…2909795466738

chore: add package-specific AGENTS.md files for isolated agent workflows
…7368892314017

Implement flash logic in Session class
…781627212470

⚡ Optimize sequential relation loading in Collection
…18027035951

fix: Multiple security and package issues
fix: update import order in ws-server.ts for consistency

test: enhance websocket integration tests for better coverage

test: improve unit tests for WSClient and WSRoom with consistent formatting

chore: update tsconfig.json for improved type checking and module resolution

chore: add VSCode settings for consistent code actions on save

chore: update release-please configuration for better version management

fix: serve-docs script improvements for content type handling

Co-authored-by: Copilot <copilot@github.com>
…multiple files

- Updated TypeScript configuration files for consistent formatting.
- Refactored documentation server script for clarity and improved error handling.
- Enhanced test script for Docker databases with better error management.
- Improved verification script to check for 'any' types in source files.
- Cleaned up application bootstrap code for better readability and consistency.
- Adjusted TypeDoc configuration for better categorization and navigation.
…rver

- Deleted tsconfig.doc.json and typedoc.json from the ORM package as they are no longer needed.
- Refactored the Collection class in the support package for improved readability and consistency in formatting.
- Updated tsconfig.json in the support package to streamline compiler options.
- Removed the serve-docs.ts script as it is no longer required for documentation serving.
…k 2)

- Format with proper spacing (spaces instead of tabs)
- Verify all 53 tests pass
- No forEach loops, console calls, or any types found
- 100% STYLEGUIDE compliant

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Refactor tsconfig.json files for consistent formatting and options.
- Enhance release-please configuration for better version management.
- Improve test script for better error handling and clarity.
- Update verification script to ensure no 'any' types are present.
- Add detailed documentation comments in app bootstrap file.
- Introduce a pull request template for better contribution guidelines.
…stency and error handling

- Refactored tsconfig.json files across multiple packages for consistent formatting.
- Enhanced error handling in test-with-db.ts to ensure proper cleanup of Docker containers.
- Improved verify.ts script to streamline type checking and error reporting.
- Changed app.ts file permissions to make it executable.
- Updated typedoc.json to refine documentation generation settings and exclude test files.
- Adjusted release-please-config.json for better version management across packages.
@joaovjo joaovjo requested a review from vgeruso May 10, 2026 01:35
@joaovjo joaovjo self-assigned this May 10, 2026
@joaovjo joaovjo added the enhancement New feature or request label May 10, 2026
joaovjo and others added 2 commits May 10, 2026 23:55
@joaovjo joaovjo force-pushed the feature/sprint-1 branch from 6a13483 to 6d0b2da Compare May 11, 2026 03:08
joaovjo and others added 2 commits May 11, 2026 00:09
fix: resolve upstream review blockers
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@joaovjo joaovjo marked this pull request as draft May 11, 2026 03:12
@joaovjo joaovjo requested a review from Copilot May 11, 2026 03:17
@joaovjo joaovjo marked this pull request as ready for review May 11, 2026 03:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3b2bdd63e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bin/nino.ts Outdated
Comment thread packages/auth/src/encryption/encrypter.ts Outdated
Comment thread packages/auth/src/providers/database-provider.ts Outdated

@vgeruso vgeruso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verificquei o sistema de tem uma parte idicada pelo GPT que é strings de comflito no codigo gerada pelo GIt da uma verificada nessas parte e acredito que está tudo ok

joaovjo and others added 13 commits May 11, 2026 22:02
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…y + CLI)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@joaovjo joaovjo requested a review from vgeruso May 12, 2026 02:23
@joaovjo joaovjo merged commit eb89de5 into nino-ts:main May 13, 2026
2 checks passed
@joaovjo joaovjo deleted the feature/sprint-1 branch May 13, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants