Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.2.0] - 2026-01-15

### Added

Expand Down Expand Up @@ -38,5 +38,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Example applications in the examples directory
- Complete documentation site with VitePress

[Unreleased]: https://github.com/objectql/objectui/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/objectql/objectui/releases/tag/v0.1.0
[0.2.0]: https://github.com/objectstack-ai/objectui/releases/tag/v0.2.0
[0.1.0]: https://github.com/objectstack-ai/objectui/releases/tag/v0.1.0
155 changes: 155 additions & 0 deletions RELEASE_NOTES_v0.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
# Release Notes for Object UI v0.2.0

## Release Preparation Completed ✅

This document contains instructions for completing the release of Object UI version 0.2.0.

## What Has Been Done

### 1. Version Updates ✅
All 11 packages have been updated from version `0.1.0` to `0.2.0`:
- `@object-ui/types`
- `@object-ui/core`
- `@object-ui/react`
- `@object-ui/components`
- `@object-ui/designer`
- `@object-ui/cli`
- `@object-ui/data-objectql`
- `@object-ui/plugin-charts`
- `@object-ui/plugin-editor`
- `@object-ui/plugin-kanban`
- `@object-ui/plugin-markdown`

### 2. CHANGELOG.md Updated ✅
The CHANGELOG.md has been updated to:
- Move unreleased changes to version `[0.2.0] - 2026-01-15`
- Add proper release links
- Document all new features and changes

### 3. Quality Assurance ✅
- ✅ All tests pass (95 tests across 16 test files)
- ✅ All packages build successfully
- ✅ No linting errors

### 4. Git Tag Created ✅
A git tag `v0.2.0` has been created locally with the release notes.

## What's New in v0.2.0

### Added
- **Comprehensive test suite** using Vitest and React Testing Library
- **Test coverage** for @object-ui/core, @object-ui/react, @object-ui/components, and @object-ui/designer packages
- **GitHub Actions CI/CD workflows**:
- CI workflow for automated testing, linting, and building
- Release workflow for publishing new versions
- **Test coverage reporting** with @vitest/coverage-v8
- **Contributing guidelines** (CONTRIBUTING.md)
- **Documentation** for testing and development workflow in README
- **README files** for all core packages

### Changed
- Updated package.json scripts to use Vitest instead of placeholder test commands
- Enhanced README with testing instructions and CI status badges

## Next Steps to Complete the Release

### Option 1: Merge PR and Tag Manually (Recommended)

1. **Merge this PR** to the main branch

2. **After merging, checkout main and pull latest changes:**
```bash
git checkout main
git pull origin main
```

3. **Create and push the release tag:**
```bash
git tag -a v0.2.0 -m "Release version 0.2.0"
git push origin v0.2.0
```

4. **The GitHub Actions Release workflow will automatically:**
- Run tests
- Build all packages
- Create a GitHub Release with the tag
- (Optional) Publish to npm if you uncomment the publish steps in `.github/workflows/release.yml`

### Option 2: Tag from This Branch

1. **Checkout this branch:**
```bash
git checkout copilot/release-new-version
```

2. **Push the tag that was created:**
```bash
git push origin v0.2.0
```

3. **Then merge the PR to main**

Note: The tag `v0.2.0` already exists locally on this branch.

## Publishing to npm (Optional)

If you want to publish the packages to npm, you need to:

1. **Ensure you have an npm token** with publish permissions

2. **Add the token as a GitHub Secret** named `NPM_TOKEN`

3. **Uncomment the npm publish step** in `.github/workflows/release.yml`:
```yaml
- name: Publish to npm
run: pnpm publish -r --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
```

4. **Ensure all packages have the correct npm settings** in their package.json:
- `"publishConfig": { "access": "public" }` for scoped packages
- Proper `main`, `module`, `types`, and `exports` fields

## Verification

After the release workflow completes, verify:

1. ✅ GitHub Release is created at: https://github.com/objectstack-ai/objectui/releases/tag/v0.2.0
2. ✅ All packages are tagged correctly
3. ✅ (If publishing) Packages are available on npm:
- https://www.npmjs.com/package/@object-ui/types
- https://www.npmjs.com/package/@object-ui/core
- https://www.npmjs.com/package/@object-ui/react
- https://www.npmjs.com/package/@object-ui/components
- (and other packages)

## Rollback Plan

If something goes wrong:

1. **Delete the tag locally:**
```bash
git tag -d v0.2.0
```

2. **Delete the tag remotely:**
```bash
git push origin :refs/tags/v0.2.0
```

3. **Delete the GitHub Release** from the GitHub UI

4. **Fix the issues** and retry the release process

## Support

For questions or issues with this release:
- Check the [CONTRIBUTING.md](CONTRIBUTING.md) for development guidelines
- Review the [release workflow](.github/workflows/release.yml)
- Open an issue on GitHub

---

**Release prepared by:** GitHub Copilot Workspace Agent
**Date:** 2026-01-15
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/cli",
"version": "0.1.0",
"version": "0.2.0",
"description": "CLI tool for Object UI - Build applications from JSON schemas",
"type": "module",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/components",
"version": "0.1.0",
"version": "0.2.0",
"type": "module",
"license": "MIT",
"main": "dist/index.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/core",
"version": "0.1.0",
"version": "0.2.0",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/data-objectql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/data-objectql",
"version": "0.1.0",
"version": "0.2.0",
"description": "ObjectQL Data Source Adapter for Object UI",
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/designer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/designer",
"version": "0.1.0",
"version": "0.2.0",
"type": "module",
"license": "MIT",
"description": "The Tool. A drag-and-drop visual editor to generate Object UI schemas.",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-charts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/plugin-charts",
"version": "0.1.0",
"version": "0.2.0",
"type": "module",
"license": "MIT",
"main": "dist/index.umd.cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/plugin-editor",
"version": "0.1.0",
"version": "0.2.0",
"type": "module",
"license": "MIT",
"main": "dist/index.umd.cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-kanban/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/plugin-kanban",
"version": "0.1.0",
"version": "0.2.0",
"type": "module",
"license": "MIT",
"main": "dist/index.umd.cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-markdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/plugin-markdown",
"version": "0.1.0",
"version": "0.2.0",
"type": "module",
"license": "MIT",
"main": "dist/index.umd.cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/react",
"version": "0.1.0",
"version": "0.2.0",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@object-ui/types",
"version": "0.1.0",
"version": "0.2.0",
"description": "Pure TypeScript type definitions for Object UI - The Protocol Layer",
"type": "module",
"main": "./dist/index.js",
Expand Down
Loading